function disableEdition(element){
        let div = element.parentElement.parentElement.parentElement;
        let parent = div.parentElement;
        let id = div.id;
        parent.removeChild(div);
        view = formsView.get(id).cloneNode(true);
        view.hidden = false;
        parent.appendChild(view);
    }
//Cancel the edition and overwrite the view
Cancel the edition and overwrite the view
Cancel the edition and overwrite the view
function disableEdition(element){
        let div = element.parentElement.parentElement.parentElement;
        let parent = div.parentElement;
        let id = div.id;
        parent.removeChild(div);
        view = formsView.get(id).cloneNode(true);
        view.hidden = false;
        parent.appendChild(view);
    }
function disableEdition ( element ) { let div = element . parentElement . parentElement . parentElement ; let parent = div . parentElement ; let id = div . id ; parent . removeChild ( div ) ; view = formsView . get ( id ) . cloneNode ( true ) ; view . hidden = false ; parent . appendChild ( view ) ; }
Cancel the edition and overwrite the view
Cancel the edition and overwrite the view