* revert for task #2730.

This commit is contained in:
wangyidong
2016-12-01 11:22:35 +08:00
parent 8462d65a36
commit 45d37f489e
10 changed files with 0 additions and 42 deletions
-2
View File
@@ -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;}
-6
View File
@@ -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);
});