LP#1218597 Load pending patron via double-click
authorBill Erickson <berick@esilibrary.com>
Fri, 6 Sep 2013 20:17:08 +0000 (16:17 -0400)
committerBill Erickson <berick@esilibrary.com>
Mon, 23 Sep 2013 15:17:04 +0000 (11:17 -0400)
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 <berick@esilibrary.com>
Signed-off-by: Chris Sharp <csharp@georgialibraries.org>
Open-ILS/xul/staff_client/server/patron/staged.js

index 8909555..e93263f 100644 (file)
@@ -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')();
+                }
             }
         );