Update ganttMaster.js

Simple control (this.__inUndoRedo) to avoid Undo/Redo stack reset when navigating through Undos/Redos.