Avoid error when moving a task
The setCssClass method was missing in DependencyComponent. FEA: ItEr75S08MigrationZK5
This commit is contained in:
parent
9fb3a3e87f
commit
b8cb0bf255
1 changed files with 3 additions and 0 deletions
|
|
@ -10,6 +10,9 @@ ganttz.DependencyComponentBase = zk.$extends(zul.Widget,{
|
|||
this.$supers('bind_', arguments);
|
||||
this.setupArrow_();
|
||||
},
|
||||
setCSSClass: function(newClass) {
|
||||
this.$n().setAttribute("class", newClass);
|
||||
},
|
||||
draw : function(){throw "draw method must be overwriten by extending classes"},
|
||||
drawArrow_ : function(coordOrig, coordDest){
|
||||
switch(this.getDependencyType())
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue