mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-19 08:38:45 +02:00
N°380 Fixed object header width in console UI.
SVN:trunk[4795]
This commit is contained in:
@@ -331,15 +331,24 @@ EOF
|
||||
|
||||
// This helper will be used to resize tab width
|
||||
var resizeTab = function(oElem){
|
||||
var tableWidth = (oElem.children('table:first').length > 0) ? oElem.children('table:first').outerWidth() : 0;
|
||||
var iTableWidth = (oElem.children('table:first').length > 0) ? oElem.children('table:first').outerWidth() : 0;
|
||||
var oWizContainerElem = $('.wizContainer');
|
||||
|
||||
$('.wizContainer').css('min-width',
|
||||
parseInt(tableWidth) +
|
||||
// Resizing wizard container
|
||||
oWizContainerElem.css('min-width',
|
||||
parseInt(iTableWidth) +
|
||||
parseInt(oElem.css('margin-left'))*2 +
|
||||
parseInt(oElem.css('padding-left'))*2 +
|
||||
parseInt(tabs.css('margin-left'))*2 +
|
||||
parseInt(tabs.css('padding-left'))*2
|
||||
)
|
||||
|
||||
// Resizing header according to wizContainer
|
||||
oWizContainerElem.parent().find('.page_header').css('min-width',
|
||||
parseInt(oWizContainerElem.width()) +
|
||||
parseInt(oWizContainerElem.css('margin-left'))*2 +
|
||||
parseInt(oWizContainerElem.css('padding-left'))*2
|
||||
);
|
||||
};
|
||||
|
||||
// Ugly patch for a change in the behavior of jQuery UI:
|
||||
|
||||
Reference in New Issue
Block a user