* adjust for print assigntome block.

This commit is contained in:
wangyidong
2018-01-16 14:52:57 +08:00
parent 037213761d
commit e83360f474
@@ -10,7 +10,7 @@
* @link http://www.zentao.net
*/
?>
<div class="row-table">
<div class="row-table" id='assigntomeBlock'>
<?php $active = key($hasViewPriv);?>
<div class="col-table" style='padding-right:0px;width:60px;'>
<ul class="nav nav-tabs nav-stacked">
@@ -31,11 +31,17 @@
</div>
<script>
$(function()
{
adjustTable();
$('#assigntomeBlock').resize(function(){adjustTable();});
})
function adjustTable()
{
setTimeout(function()
{
$('.table-header-fixed').remove();
$('#todo table thead').removeAttr('style');
}, 500);
})
$('#assigntomeBlock').closest('[id^="block"]').find('.table-header-fixed').remove();
$('#assigntomeBlock').closest('[id^="block"]').find('#todo table thead').removeAttr('style');
}, 400);
}
</script>