[open-ils-commits] r12238 - branches/staff-client-experiment/Open-ILS/xul/staff_client/server/patron (phasefx)
svn at svn.open-ils.org
svn at svn.open-ils.org
Thu Feb 19 13:48:59 EST 2009
Author: phasefx
Date: 2009-02-19 13:48:56 -0500 (Thu, 19 Feb 2009)
New Revision: 12238
Modified:
branches/staff-client-experiment/Open-ILS/xul/staff_client/server/patron/display.js
branches/staff-client-experiment/Open-ILS/xul/staff_client/server/patron/display_overlay.xul
Log:
interesting, an accesskey firing off two widgets at once? prevent alt+o, alt+c, alt+o from loading Info display
Modified: branches/staff-client-experiment/Open-ILS/xul/staff_client/server/patron/display.js
===================================================================
--- branches/staff-client-experiment/Open-ILS/xul/staff_client/server/patron/display.js 2009-02-19 18:36:00 UTC (rev 12237)
+++ branches/staff-client-experiment/Open-ILS/xul/staff_client/server/patron/display.js 2009-02-19 18:48:56 UTC (rev 12238)
@@ -277,8 +277,6 @@
'cmd_patron_info' : [
['command'],
function(ev) {
- try { document.getElementById("PatronNavBarScrollbox").ensureElementIsVisible( document.getElementById("PatronNavBar_info" ) ); } catch(E) {};
- obj.reset_nav_styling('cmd_patron_info');
obj.right_deck.set_iframe(
urls.XUL_PATRON_INFO, // + '?patron_id=' + window.escape( obj.patron.id() ),
{},
@@ -453,7 +451,6 @@
obj.controller.view.cmd_patron_holds.setAttribute('disabled','true');
obj.controller.view.cmd_patron_bills.setAttribute('disabled','true');
obj.controller.view.cmd_patron_edit.setAttribute('disabled','true');
- obj.controller.view.cmd_patron_info.setAttribute('disabled','true');
obj.controller.view.patron_name.setAttribute('value', $("patronStrings").getString('staff.patron.display.init.retrieving'));
document.documentElement.setAttribute('class','');
var frame = obj.left_deck.set_iframe(
@@ -474,7 +471,6 @@
obj.controller.view.cmd_patron_holds.setAttribute('disabled','false');
obj.controller.view.cmd_patron_bills.setAttribute('disabled','false');
obj.controller.view.cmd_patron_edit.setAttribute('disabled','false');
- obj.controller.view.cmd_patron_info.setAttribute('disabled','false');
if (typeof window.xulG == 'object' && typeof window.xulG.set_tab_name == 'function') {
try {
Modified: branches/staff-client-experiment/Open-ILS/xul/staff_client/server/patron/display_overlay.xul
===================================================================
--- branches/staff-client-experiment/Open-ILS/xul/staff_client/server/patron/display_overlay.xul 2009-02-19 18:36:00 UTC (rev 12237)
+++ branches/staff-client-experiment/Open-ILS/xul/staff_client/server/patron/display_overlay.xul 2009-02-19 18:48:56 UTC (rev 12238)
@@ -90,7 +90,7 @@
<button id="PatronNavBar_other" command="cmd_patron_other" class="nav" label="&staff.patron_navbar.other;" accesskey="&staff.patron_navbar.other.accesskey;" type="menu">
<menupopup>
<menuitem label="&staff.patron_navbar.alert;" accesskey="&staff.patron_navbar.alert.accesskey;" command="cmd_patron_alert"/>
- <menuitem label="&staff.patron_navbar.info;" accesskey="&staff.patron_navbar.info.accesskey;" command="cmd_patron_info"/>
+ <menuitem label="&staff.patron_navbar.info;" conflicting_accesskey="&staff.patron_navbar.info.accesskey;" command="cmd_patron_info"/>
<menuitem label="&staff.patron_display.verify_password.label;" accesskey="&staff.patron_display.verify_password.accesskey;" command="cmd_verify_credentials"/>
<menuitem label="&staff.main.menu.admin.user_edit.label;" accesskey="&staff.main.menu.admin.user_edit.accesskey;" command="cmd_perm_editor"/>
<menuitem label="&staff.patron_navbar.actions.menu.standing_penalties.label;" accesskey="&staff.patron_navbar.actions.menu.standing_penalties.accesskey;"
More information about the open-ils-commits
mailing list