Lines Matching refs:undo
125 gantt.config.undo = true;
148 gantt.ext.undo = { class in gantt.ext
149 undo: function () { return _undo.undo(); }, method in gantt.ext.undo
157 gantt.undo = gantt.ext.undo.undo;
158 gantt.redo = gantt.ext.undo.redo;
159 gantt.getUndoStack = gantt.ext.undo.getUndoStack;
160 gantt.getRedoStack = gantt.ext.undo.getRedoStack;
161 gantt.clearUndoStack = gantt.ext.undo.clearUndoStack;
162 gantt.clearRedoStack = gantt.ext.undo.clearRedoStack;
194 var undo = _undo;
198 if (entry.commands[j].entity === undo.command.entity.task) {
201 else if (entry.commands[j].entity === undo.command.entity.link) {
208 var undo = _undo;
213 if (command.entity === undo.command.entity.link) {
225 var undo = _undo;
226 updateTasksIds(undo.getUndoStack(), oldId, newId);
227 updateTasksIds(undo.getRedoStack(), oldId, newId);
230 var undo = _undo;
231 updateLinksIds(undo.getUndoStack(), oldId, newId);
232 updateLinksIds(undo.getRedoStack(), oldId, newId);
262 function Monitor(undo) { argument
271 this._undo = undo;
315 var undo = this._undo;
317 undo.logAction(this._batchAction);
527 var undo = this._undo;
528 undo.updateConfigs();
529 if (!undo.undoEnabled) {
536 var action = undo.action.create([command]);
537 undo.logAction(action);
541 var undo = this._undo;
542 var command = undo.command.create(obj, old, actionType, entityType);
662 this.undoEnabled = !!gantt.config.undo;
663 this.redoEnabled = (!!gantt.config.undo) && (!!gantt.config.redo);
665 Undo.prototype.undo = function () { method in Undo