[open-ils-commits] r20230 - branches/rel_2_1/Open-ILS/xul/staff_client/chrome/content/main (phasefx)
svn at svn.open-ils.org
svn at svn.open-ils.org
Wed Apr 20 01:04:32 EDT 2011
Author: phasefx
Date: 2011-04-20 01:04:28 -0400 (Wed, 20 Apr 2011)
New Revision: 20230
Modified:
branches/rel_2_1/Open-ILS/xul/staff_client/chrome/content/main/menu.js
Log:
More hotkey fixes - Invalidate keyset cache
Thanks to http://forums.mozillazine.org/viewtopic.php?f=19&t=2048501,
Author: Thomas Berezansky <tsbere at mvlc.org>
Signed-off-by: Thomas Berezansky <tsbere at mvlc.org>
Signed-off-by: Jason Etheridge <jason at esilibrary.com>
Modified: branches/rel_2_1/Open-ILS/xul/staff_client/chrome/content/main/menu.js
===================================================================
--- branches/rel_2_1/Open-ILS/xul/staff_client/chrome/content/main/menu.js 2011-04-20 05:04:14 UTC (rev 20229)
+++ branches/rel_2_1/Open-ILS/xul/staff_client/chrome/content/main/menu.js 2011-04-20 05:04:28 UTC (rev 20230)
@@ -1828,6 +1828,8 @@
menuitems[i].style.removeProperty('display'); // Restore normal css display
}
}
+ // Force reload of keyset cache?
+ keyset.parentNode.insertBefore(keyset, keyset.nextSibling);
// If no keys, disable ability to toggle hotkeys (because why bother?)
var x = document.getElementById('cmd_hotkeys_toggle');
if(x) {
More information about the open-ils-commits
mailing list