* revert for task #2730.
This commit is contained in:
@@ -1,4 +1,2 @@
|
||||
tfoot .table-actions #assignedTo_chosen a.chosen-default{height:26px;line-height:15px}
|
||||
tfoot .table-actions .input-group-addon{padding:5px 12px;}
|
||||
#casesbox{position:fixed;margin-left:20px;}
|
||||
.outer.hide-side #casesbox{margin-left:0px;}
|
||||
|
||||
@@ -4,10 +4,4 @@ $(document).ready(function()
|
||||
if(browseType == 'bysearch') ajaxGetSearchForm();
|
||||
setTimeout(function(){fixedTfootAction('#casesForm')}, 100);
|
||||
setTimeout(function(){fixedTheadOfList('#caseList')}, 100);
|
||||
|
||||
var treeMaxHeight = document.documentElement.clientHeight - $('#header').height() - $('#featurebar').height() - $('#footer').height() - $('#casesbox .side-body .panel-heading').height() - 120;
|
||||
if($('#casesbox').height() > $('#caseList').height()) treeMaxHeight -= 20;
|
||||
$('#casesbox .side-body .panel-body').children().each(function(){if(!$(this).hasClass('tree')) treeMaxHeight -= $(this).height()});
|
||||
$('#casesbox .tree').css({'max-height':treeMaxHeight, 'overflow-y': 'auto', 'overflow-x':'hidden'});
|
||||
if(moduleID > 0)$('#casesbox .tree').scrollTop($('#casesbox .tree #module' + moduleID).offset().top - $('#casesbox .tree li[data-id="1"]').offset().top);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user