Avoid error when moving a task

The setCssClass method was missing in DependencyComponent.

FEA: ItEr75S08MigrationZK5
This commit is contained in:
Óscar González Fernández 2011-06-20 16:21:23 +02:00
parent 9fb3a3e87f
commit b8cb0bf255

View file

@ -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())