mirror of
https://github.com/Combodo/iTop.git
synced 2026-02-13 07:24:13 +01:00
N°1479 : Fixed a bug where impact analysis zoom would affect other tabs' size #jfb :)
SVN:trunk[5918]
This commit is contained in:
@@ -801,7 +801,11 @@ $(function()
|
|||||||
}
|
}
|
||||||
var aContexts = [];
|
var aContexts = [];
|
||||||
$('#'+sId+'_contexts').multiselect('getChecked').each(function() { aContexts[$(this).val()] = me.options.additional_contexts[$(this).val()].oql; });
|
$('#'+sId+'_contexts').multiselect('getChecked').each(function() { aContexts[$(this).val()] = me.options.additional_contexts[$(this).val()].oql; });
|
||||||
//this.element.closest('.ui-tabs').tabs({ heightStyle: "fill" });
|
// Don't set the height on the tabs widget, only on the current tab
|
||||||
|
// Adjust the height of the graph to the window size
|
||||||
|
var sTabHeight = parseInt($(window).height() - this.element.parent().offset().top - 50);
|
||||||
|
this.element.closest('.ui-tabs-panel').css({ height: sTabHeight + "px" });
|
||||||
|
|
||||||
this.adjust_height();
|
this.adjust_height();
|
||||||
this._close_all_tooltips();
|
this._close_all_tooltips();
|
||||||
this.oPaper.rect(this.xPan, this.yPan, this.element.width(), this.element.height()).attr({fill: '#000', opacity: 0.4, 'stroke-width': 0});
|
this.oPaper.rect(this.xPan, this.yPan, this.element.width(), this.element.height()).attr({fill: '#000', opacity: 0.4, 'stroke-width': 0});
|
||||||
|
|||||||
Reference in New Issue
Block a user