reset after clone to avoid errors
This commit is contained in:
parent
b4cc3f40b3
commit
81524de799
|
@ -210,7 +210,9 @@ class CCPMethodEditorController extends HTMLElement{
|
|||
return resp.text()
|
||||
}else throw "Error saving process: " + resp.status
|
||||
}).then(data=>{
|
||||
if(!this.#isupdate) this.#isupdate = true;
|
||||
if(!this.#isupdate){
|
||||
this.resetMethod()
|
||||
}
|
||||
this.unlockRender()
|
||||
}).catch(err=>{
|
||||
alert(err)
|
||||
|
|
Loading…
Reference in New Issue