[REM] Remove unsused code, no need to set heigth manually.
bzr revid: sma@tinyerp.com-20110706063457-h3szv3akaax03ct1
This commit is contained in:
@@ -314,23 +314,6 @@ init: function(view_manager, session, element_id, dataset, view_id) {
|
||||
jQuery("div #_1, div #_1 + div").hide();
|
||||
},
|
||||
|
||||
set_heigth: function() {
|
||||
|
||||
gantt_hgt = jQuery(window).height() - oth_hgt;
|
||||
|
||||
if (gantt_hgt < min_hgt){
|
||||
gantt_hgt = min_hgt;
|
||||
}
|
||||
jQuery('#GanttDiv').css('height','100%');
|
||||
jQuery('.task-name').height(gantt_hgt - 40 -16);
|
||||
taskdiv.height(gantt_hgt - 40);
|
||||
|
||||
if (taskdiv.height() > jQuery('.taskPanel').height() + 16){
|
||||
jQuery('.taskPanel').height(taskdiv.height() - 16);
|
||||
jQuery('.task-name').children().height(taskdiv.height() - 16);
|
||||
}
|
||||
},
|
||||
|
||||
set_width: function() {
|
||||
|
||||
$gantt_panel.width(1);
|
||||
|
||||
Reference in New Issue
Block a user