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()
|
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.#isupdate = true;
|
if(!this.#isupdate){
|
||||||
|
this.resetMethod()
|
||||||
|
}
|
||||||
this.unlockRender()
|
this.unlockRender()
|
||||||
}).catch(err=>{
|
}).catch(err=>{
|
||||||
alert(err)
|
alert(err)
|
||||||
|
|
Loading…
Reference in New Issue