[otrs-cvs] otrs/var/httpd/htdocs/js Core.Agent.CustomerSearch.js, 1.33.2.9, 1.33.2.10
"CVS commits notifications of OTRS.org" <[email protected]>
| Newsgroups | gmane.comp.otrs.cvs |
|---|---|
| Message-ID | <[email protected]> |
Comments:
Update of /home/cvs/otrs/var/httpd/htdocs/js
In directory lancelot:/tmp/cvs-serv16712/var/httpd/htdocs/js
Modified Files:
Tag: rel-3_1
Core.Agent.CustomerSearch.js
Log Message:
Fixed bug#8695 - Table head of Customer Ticket History does not resize on window resize.
Author: mn
Index: Core.Agent.CustomerSearch.js
===================================================================
RCS file: /home/cvs/otrs/var/httpd/htdocs/js/Core.Agent.CustomerSearch.js,v
retrieving revision 1.33.2.9
retrieving revision 1.33.2.10
diff -2 -u -d -r1.33.2.9 -r1.33.2.10
--- Core.Agent.CustomerSearch.js 25 Oct 2012 12:14:54 -0000 1.33.2.9
+++ Core.Agent.CustomerSearch.js 17 Dec 2012 11:41:25 -0000 1.33.2.10
@@ -84,4 +84,6 @@
*/
function ReplaceCustomerTicketLinks() {
+ var ResizeTimeoutWindow;
+
$('#CustomerTickets').find('.AriaRoleMain').removeAttr('role').removeClass('AriaRoleMain');
@@ -112,4 +114,11 @@
Core.UI.StaticTableControl($('#OverviewControl').add($('#OverviewBody')));
Core.UI.Table.InitCSSPseudoClasses();
+
+ $(window).bind('resize', function () {
+ window.clearTimeout(ResizeTimeoutWindow);
+ ResizeTimeoutWindow = window.setTimeout(function () {
+ Core.UI.AdjustTableHead($('#FixedTable thead'), $('#FixedTable tbody'), 0);
+ }, 500);
+ });
}
---------------------------------------------------------------------
OTRS mailing list: cvs-log - Webpage: http://otrs.org/
Archive: http://lists.otrs.org/pipermail/cvs-log
To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/cvs-log