* Fix bug#14580

This commit is contained in:
zenggang
2021-09-18 11:01:08 +08:00
parent 33e946e968
commit 4380f4d4b0
5 changed files with 53 additions and 0 deletions
+10
View File
@@ -1,4 +1,14 @@
$(function()
{
if($('#bugList thead th.c-title').width() < 150) $('#bugList thead th.c-title').width(150);
/* The display of the adjusting sidebarHeader is synchronized with the sidebar. */
$(".sidebar-toggle").click(function()
{
$("#sidebarHeader").toggle("fast");
});
if($("main").is(".hide-sidebar"))
{
$("#sidebarHeader").hide();
}
});
+13
View File
@@ -20,3 +20,16 @@ function confirmBatchDelete(actionLink)
if(confirm(batchDelete)) setFormAction(actionLink);
return false;
}
$(function()
{
/* The display of the adjusting sidebarHeader is synchronized with the sidebar. */
$(".sidebar-toggle").click(function()
{
$("#sidebarHeader").toggle("fast");
});
if($("main").is(".hide-sidebar"))
{
$("#sidebarHeader").hide();
}
});
+10
View File
@@ -14,6 +14,16 @@ $(function()
adjustTableFooter();
$('body').on('click', '#toggleFold', adjustTableFooter);
$('body').on('click', '.icon.icon-angle-double-right', adjustTableFooter);
/* The display of the adjusting sidebarHeader is synchronized with the sidebar. */
$(".sidebar-toggle").click(function()
{
$("#sidebarHeader").toggle("fast");
});
if($("main").is(".hide-sidebar"))
{
$("#sidebarHeader").hide();
}
});
$('#module' + moduleID).closest('li').addClass('active');
+10
View File
@@ -104,6 +104,16 @@ $(function()
{
window.location.reload();
})
/* The display of the adjusting sidebarHeader is synchronized with the sidebar. */
$(".sidebar-toggle").click(function()
{
$("#sidebarHeader").toggle("fast");
});
if($("main").is(".hide-sidebar"))
{
$("#sidebarHeader").hide();
}
});
/**
+10
View File
@@ -14,4 +14,14 @@ function confirmBatchDelete(actionLink)
$(function()
{
if($('#caseList thead th.c-title').width() < 150) $('#caseList thead th.c-title').width(150);
/* The display of the adjusting sidebarHeader is synchronized with the sidebar. */
$(".sidebar-toggle").click(function()
{
$("#sidebarHeader").toggle("fast");
});
if($("main").is(".hide-sidebar"))
{
$("#sidebarHeader").hide();
}
});