function enableUndo() {
    if( this.undoButton ) {
        if( this.undoButton.disabled == true ) {
            this.undoButton.disabled = false;
        }