From: Bill Erickson Date: Fri, 6 Sep 2013 20:17:08 +0000 (-0400) Subject: LP#1218597 Load pending patron via double-click X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=c2d73c0b35815496f790868579db20566e979768;p=working%2FEvergreen.git LP#1218597 Load pending patron via double-click Double-click on a row in the pending patrons list in the staff client loads the pending patron into the patron registration UI in a new tab, same as clicking the existing Load button. phasefx++ for implementation suggestions. Signed-off-by: Bill Erickson Signed-off-by: Chris Sharp --- diff --git a/Open-ILS/xul/staff_client/server/patron/staged.js b/Open-ILS/xul/staff_client/server/patron/staged.js index 8909555afb..e93263f1d3 100644 --- a/Open-ILS/xul/staff_client/server/patron/staged.js +++ b/Open-ILS/xul/staff_client/server/patron/staged.js @@ -222,7 +222,10 @@ function init_list() { } ), 'retrieve_row' : retrieve_row, - 'on_select' : handle_selection + 'on_select' : handle_selection, + 'on_dblclick' : function(ev) { + gen_event_handler('load')(); + } } );