From b720d32e0e7b7667c7c22dc805e1d9cb23919c76 Mon Sep 17 00:00:00 2001 From: Bill Erickson Date: Fri, 6 Sep 2013 16:17:08 -0400 Subject: [PATCH] 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 --- Open-ILS/xul/staff_client/server/patron/staged.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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')(); + } } ); -- 2.11.0