Lines Matching refs:task

133     task: "task"  property in gantt.config.undo_types
163 function updTask(task, oldId, newId) { argument
164 if (!task) {
167 if (task.id === oldId) {
168 task.id = newId;
170 if (task.parent === oldId) {
171 task.parent = newId;
198 if (entry.commands[j].entity === undo.command.entity.task) {
276 if (type === gantt.config.undo_types.task) {
322 Monitor.prototype.onTaskAdded = function (task) { argument
324 this._storeTaskCommand(task, this._undo.command.type.add);
327 Monitor.prototype.onTaskUpdated = function (task) { argument
329 this._storeTaskCommand(task, this._undo.command.type.update);
332 Monitor.prototype.onTaskMoved = function (task) { argument
334 …this._storeEntityCommand(task, this.getInitialTask(task.id), this._undo.command.type.move, this._u…
337 Monitor.prototype.onTaskDeleted = function (task) { argument
339 this._storeTaskCommand(task, this._undo.command.type.remove);
340 if (this._nestedTasks[task.id]) {
341 var children = this._nestedTasks[task.id];
346 if (this._nestedLinks[task.id]) {
347 var childrenLinks = this._nestedLinks[task.id];
370 var task = null;
374 task = this.setInitialTask(taskIds[i]);
375 linkIds = linkIds.concat(this._getLinks(task));
376 tasks.push(task);
391 var task = gantt.copy(gantt.getTask(id));
392 task.$index = gantt.getTaskIndex(id);
393 this.setInitialTaskObject(id, task);
427 gantt.eachTask(function (task) { argument
428 _this.setInitialTask(task.id);
460 gantt.attachEvent("onAfterTaskAdd", function (id, task) { argument
462 _this.onTaskAdded(task);
464 gantt.attachEvent("onAfterTaskUpdate", function (id, task) { argument
465 _this.onTaskUpdated(task);
467 gantt.attachEvent("onAfterTaskDelete", function (id, task) { argument
468 _this.onTaskDeleted(task);
486 _this.store(id, gantt.config.undo_types.task);
490 gantt.eachTask(function (task) { argument
491 nested.push(task.id);
514 …nBeforeTaskDrag", function (taskId) { return _this.store(taskId, gantt.config.undo_types.task); });
515 …ent("onLightbox", function (taskId) { return _this.store(taskId, gantt.config.undo_types.task); });
516 gantt.attachEvent("onBeforeTaskAutoSchedule", function (task) { argument
517 _this.store(task.id, gantt.config.undo_types.task);
522 _this.store(state.id, gantt.config.undo_types.task);
546 … this._storeEntityCommand(obj, this.getInitialTask(obj.id), type, this._undo.command.entity.task);
551 Monitor.prototype._getLinks = function (task) { argument
552 return task.$source.concat(task.$target);
733 var weights = { any: 0, link: 1, task: 2 }; property in Undo._reorderCommands.weights
759 methods[entities.task] = {