ccp-features #8
|
@ -205,10 +205,10 @@ class CCPMethodEditorController extends HTMLElement{
|
||||||
return resp.text()
|
return resp.text()
|
||||||
}else throw "Error saving process: " + resp.status
|
}else throw "Error saving process: " + resp.status
|
||||||
}).then(data=>{
|
}).then(data=>{
|
||||||
if(!this.#isupdate){
|
|
||||||
this.resetMethod()
|
|
||||||
}
|
|
||||||
this.unlockRender()
|
this.unlockRender()
|
||||||
|
if(!this.#isupdate){
|
||||||
|
this.editMethod(this.#current.id)
|
||||||
|
}
|
||||||
}).catch(err=>{
|
}).catch(err=>{
|
||||||
alert(err)
|
alert(err)
|
||||||
this.unlockRender()
|
this.unlockRender()
|
||||||
|
|
Loading…
Reference in New Issue