Added missing methods for adding depencies
FEA: ItEr02S03MigracionZK5
This commit is contained in:
parent
ddb5a0cf95
commit
e87e715758
1 changed files with 7 additions and 0 deletions
|
|
@ -16,6 +16,13 @@ ganttz.TaskComponent = zk.$extends(zk.Widget, {
|
|||
this.domUnlisten_(this.$n(), "onMouseover", '_showTooltip');
|
||||
this.$supers('unbind_', arguments);
|
||||
},
|
||||
addDependency : function(){
|
||||
this._createArrow();
|
||||
},
|
||||
consolidateNewDependency : function(task){
|
||||
zAu.send( new zk.Event(this, 'onAddDependency', [task.id]));
|
||||
ganttz.DependencyList.getInstance().clear();
|
||||
},
|
||||
addRelatedDependency : function(dependency){
|
||||
if(this._dependencies == undefined) this._dependencies = [];
|
||||
this._dependencies.push(dependency);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue