Merge branch 'ccp-features' of https://code-repo.d4science.org/gCubeSystem/cdn-experiments into ccp-features

This commit is contained in:
dcore94 2023-06-21 15:12:01 +02:00
commit 27216cbc57
1 changed files with 3 additions and 3 deletions

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()