[open-ils-commits] r11716 - trunk/Open-ILS/xul/staff_client/server/patron
svn at svn.open-ils.org
svn at svn.open-ils.org
Tue Dec 30 16:50:49 EST 2008
Author: phasefx
Date: 2008-12-30 16:50:45 -0500 (Tue, 30 Dec 2008)
New Revision: 11716
Modified:
trunk/Open-ILS/xul/staff_client/server/patron/display.js
trunk/Open-ILS/xul/staff_client/server/patron/display.xul
trunk/Open-ILS/xul/staff_client/server/patron/display_overlay.xul
Log:
put User Perm Editor into Actions for this Patron
Modified: trunk/Open-ILS/xul/staff_client/server/patron/display.js
===================================================================
--- trunk/Open-ILS/xul/staff_client/server/patron/display.js 2008-12-30 21:34:48 UTC (rev 11715)
+++ trunk/Open-ILS/xul/staff_client/server/patron/display.js 2008-12-30 21:50:45 UTC (rev 11716)
@@ -353,6 +353,12 @@
}
);
}
+ ],
+ 'cmd_perm_editor' : [
+ ['command'],
+ function() {
+ var frame = obj.right_deck.reset_iframe( urls.XUL_USER_PERM_EDITOR + '?ses=' + window.escape(ses()) + '&usr=' + obj.patron.id(), {}, {});
+ }
]
}
}
Modified: trunk/Open-ILS/xul/staff_client/server/patron/display.xul
===================================================================
--- trunk/Open-ILS/xul/staff_client/server/patron/display.xul 2008-12-30 21:34:48 UTC (rev 11715)
+++ trunk/Open-ILS/xul/staff_client/server/patron/display.xul 2008-12-30 21:50:45 UTC (rev 11716)
@@ -100,6 +100,7 @@
<command id="cmd_patron_retrieve" />
<command id="cmd_search_form" />
<command id="cmd_verify_credentials" />
+ <command id="cmd_perm_editor" />
</commandset>
<box id="patron_display_main" class="my_overflow" />
Modified: trunk/Open-ILS/xul/staff_client/server/patron/display_overlay.xul
===================================================================
--- trunk/Open-ILS/xul/staff_client/server/patron/display_overlay.xul 2008-12-30 21:34:48 UTC (rev 11715)
+++ trunk/Open-ILS/xul/staff_client/server/patron/display_overlay.xul 2008-12-30 21:50:45 UTC (rev 11716)
@@ -84,6 +84,7 @@
<menu label="&staff.patron_navbar.actions.menu.label;" accesskey="&staff.patron_navbar.actions.menu.accesskey;">
<menupopup>
<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"/>
</menupopup>
</menu>
</menubar>
More information about the open-ils-commits
mailing list