ccp-features #7

Merged
m.lettere merged 11 commits from ccp-features into master 2023-06-21 15:58:18 +02:00
1 changed files with 3 additions and 3 deletions
Showing only changes of commit 6cdd2ff5c3 - Show all commits

View File

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