ui.js
/** 
     * Verify if the modules on display have unsaved changes
     * @returns {boolean} - True if everything is saved
    */
Verify if the modules on display have unsaved changes
@returns {boolean} - True if everything is saved
Verify if the modules on display have unsaved changes @returns { boolean } - True if everything is saved
changed() {
        if (this.state.length == 1) return false;
        for (var i = 0; i < this.state.length; i = i + 2) {
            try {
                if (this.modules[this.state[i]].class().changed()) return true;
            } catch (e) {
                console.log(e);
            }
        }
        return false;
    }
changed ( ) { if ( this . state . length == 1 ) return false ; for ( var i = 0 ; i < this . state . length ; i = i + 2 ) { try { if ( this . modules [ this . state [ i ] ] . class ( ) . changed ( ) ) return true ; } catch ( e ) { console . log ( e ) ; } } return false ; }
Verify if the modules on display have unsaved changes
 @returns {boolean} - True if everything is saved
Verify if the modules on display have unsaved changes @returns { boolean } - True if everything is saved