diff --git a/ccp/js/methodeditorcontroller.js b/ccp/js/methodeditorcontroller.js index 5619af7..bac2927 100644 --- a/ccp/js/methodeditorcontroller.js +++ b/ccp/js/methodeditorcontroller.js @@ -206,7 +206,7 @@ class CCPMethodEditorController extends HTMLElement{ }else throw "Error saving process: " + resp.status }).then(data=>{ if(!this.#isupdate){ - this.#current = JSon.parse(data) + this.#current = JSON.parse(data) this.#isupdate = true this.#tmp_inputs = Object.keys(this.#current.inputs).map(k=>this.#current.inputs[k]) this.#tmp_outputs = Object.keys(this.#current.outputs).map(k=>this.#current.outputs[k])