From: phasefx Date: Tue, 30 Dec 2008 21:34:48 +0000 (+0000) Subject: move the Test Password button from the summary sidebar to a more expandible Actions... X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=668901966d1aa882ded30bf9d6bb2086bf820153;p=Evergreen.git move the Test Password button from the summary sidebar to a more expandible Actions for this Patron menulist git-svn-id: svn://svn.open-ils.org/ILS/trunk@11715 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- diff --git a/Open-ILS/web/opac/locale/en-US/lang.dtd b/Open-ILS/web/opac/locale/en-US/lang.dtd index 141f9134a9..d3234d60e7 100644 --- a/Open-ILS/web/opac/locale/en-US/lang.dtd +++ b/Open-ILS/web/opac/locale/en-US/lang.dtd @@ -1167,6 +1167,8 @@ + + diff --git a/Open-ILS/xul/staff_client/server/patron/display.js b/Open-ILS/xul/staff_client/server/patron/display.js index c0541aa6e7..3add89afa9 100644 --- a/Open-ILS/xul/staff_client/server/patron/display.js +++ b/Open-ILS/xul/staff_client/server/patron/display.js @@ -340,7 +340,20 @@ patron.display.prototype = { function(e) { return function() {} } - ] + ], + 'cmd_verify_credentials' : [ + ['command'], + function() { + var vframe = obj.right_deck.reset_iframe( + urls.XUL_VERIFY_CREDENTIALS, + {}, + { + 'barcode' : obj.patron.card().barcode(), + 'usrname' : obj.patron.usrname() + } + ); + } + ] } } ); @@ -373,16 +386,6 @@ patron.display.prototype = { { 'barcode' : obj.barcode, 'id' : obj.id, - 'verify_credentials' : function(patron) { - var vframe = obj.right_deck.reset_iframe( - urls.XUL_VERIFY_CREDENTIALS, - {}, - { - 'barcode' : patron.card().barcode(), - 'usrname' : patron.usrname() - } - ); - }, 'on_finished' : function(patron) { obj.patron = patron; obj.controller.render(); diff --git a/Open-ILS/xul/staff_client/server/patron/display.xul b/Open-ILS/xul/staff_client/server/patron/display.xul index 50a0ba8bbf..5403e8e543 100644 --- a/Open-ILS/xul/staff_client/server/patron/display.xul +++ b/Open-ILS/xul/staff_client/server/patron/display.xul @@ -99,6 +99,7 @@ + diff --git a/Open-ILS/xul/staff_client/server/patron/display_overlay.xul b/Open-ILS/xul/staff_client/server/patron/display_overlay.xul index 2154ec59c9..60a1eb2d8f 100644 --- a/Open-ILS/xul/staff_client/server/patron/display_overlay.xul +++ b/Open-ILS/xul/staff_client/server/patron/display_overlay.xul @@ -54,33 +54,52 @@ - - - - -