Added methods to TaskComponent widget-class

* Added resizeCompletionAdvance and resizeCompletionAdvance2

FEA: ItEr02S03MigracionZK5
This commit is contained in:
Farruco Sanjurjo 2010-08-16 13:58:18 +02:00 committed by Óscar González Fernández
parent eb4d357719
commit 804116a6f5

View file

@ -42,8 +42,12 @@ ganttz.TaskComponent = zk.$extends(zk.Widget, {
moveConsolidatedline : function(width){
jq('#consolidatedline' + this.parent.uuid).css('left', width);
},
resizeCompletionAdvance : function(){},
resizeCompletion2Advance : function(){},
resizeCompletionAdvance : function(width){
jq('#' + this.uuid + ' > .completion:first').css('width', width);
},
resizeCompletion2Advance : function(width){
jq('#' + this.uuid + ' > .completion2:first').css('width', width);
},
setClass : function(){}
},{
//"Class" methods and properties