Add missing function adjustTimeTrackerSize
FEA: ItEr75S08MigrationZK5
This commit is contained in:
parent
174101c82a
commit
124a1bb666
1 changed files with 13 additions and 3 deletions
|
|
@ -1,10 +1,20 @@
|
|||
zk.$package("limitingresources");
|
||||
|
||||
limitingresources.QueueListComponent = zk.$extends(zk.Widget,{
|
||||
adjustResourceLoadRows : function(){
|
||||
adjustResourceLoadRows : function() {
|
||||
var width = jq('.rightpanellayout #timetracker .z-grid-header :first').innerWidth();
|
||||
jq('.row_resourceload').each(function(index, element){
|
||||
jq(element).width(width);
|
||||
});
|
||||
}
|
||||
})
|
||||
},
|
||||
adjustTimeTrackerSize: function() {
|
||||
var limitingResourcesList = jq('.limitingresourceslist');
|
||||
jq('#watermark').height(this.$n().clientHeight);
|
||||
jq('#timetracker').width(this.$n().clientWidth).each(function() {
|
||||
// timetracker exists
|
||||
var limitingResourcesList = jq('.limitingresourceslist');
|
||||
limitingResourcesList.width(jq('.second_level_').get(0).clientWidth);
|
||||
jq('.rightpanellayout tr#watermark td').height(limitingResourcesList.get(0).clientHeight + 120);
|
||||
});
|
||||
}
|
||||
});
|
||||
Loading…
Add table
Reference in a new issue