Removed unnecesary code for showing/hiding labels
FEA: ItEr75S04BugFixing
This commit is contained in:
parent
ccdcfd4c2c
commit
9444083b61
3 changed files with 2 additions and 16 deletions
|
|
@ -207,12 +207,6 @@ ganttz.TaskComponent = zk.$extends(zul.Widget, {
|
|||
resizeCompletion2Advance : function(width){
|
||||
jq('#' + this.uuid + ' > .completion2:first').css('width', width);
|
||||
},
|
||||
showTaskLabel : function(){
|
||||
jq('#'+ this.uuid + ' .task-labels').show();
|
||||
},
|
||||
hideTaskLabel : function(){
|
||||
jq('#'+ this.uuid + ' .task-labels').hide();
|
||||
},
|
||||
showResourceTooltip : function(){
|
||||
jq('#'+ this.uuid + ' .task-resources').show();
|
||||
},
|
||||
|
|
|
|||
|
|
@ -6,12 +6,10 @@ ganttz.TaskList = zk.$extends(zk.Widget, {
|
|||
this.$class.setInstance(this);
|
||||
},
|
||||
showAllTaskLabels : function(){
|
||||
for(var child = this.firstChild; child; child = child.nextSibling)
|
||||
child.showTaskLabel();
|
||||
jq('.task-labels').css('display','inline');
|
||||
},
|
||||
hideAllTaskLabels : function(){
|
||||
for(var child = this.firstChild; child; child = child.nextSibling)
|
||||
child.hideTaskLabel();
|
||||
jq('.task-labels').css('display','none');
|
||||
},
|
||||
showResourceTooltips : function(){
|
||||
for(var child = this.firstChild; child; child = child.nextSibling)
|
||||
|
|
|
|||
|
|
@ -1,12 +1,6 @@
|
|||
zk.$package("ganttz");
|
||||
|
||||
ganttz.TaskRow = zk.$extends(zk.Widget, {
|
||||
hideTaskLabel : function(){
|
||||
this.firstChild.hideTaskLabel();
|
||||
},
|
||||
showTaskLabel : function(){
|
||||
this.firstChild.showTaskLabel();
|
||||
},
|
||||
hideResourceTooltip : function(){
|
||||
this.firstChild.hideResourceTooltip();
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue