From 0dccf2a2a7f912d5c0f314819205249cbda247f6 Mon Sep 17 00:00:00 2001 From: Bill Erickson Date: Mon, 27 Feb 2017 14:54:24 -0500 Subject: [PATCH] LP#1668351 Patrons with neg. balance dbl-click Support double-click grid row entry to load patron from the Patrons With Negative Balances webstaff UI. Signed-off-by: Bill Erickson Signed-off-by: Terran McCanna Signed-off-by: Kathy Lussier --- .../default/staff/admin/local/circ/neg_balance_users.js | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/Open-ILS/web/js/ui/default/staff/admin/local/circ/neg_balance_users.js b/Open-ILS/web/js/ui/default/staff/admin/local/circ/neg_balance_users.js index d8acde1325..4169c9b396 100644 --- a/Open-ILS/web/js/ui/default/staff/admin/local/circ/neg_balance_users.js +++ b/Open-ILS/web/js/ui/default/staff/admin/local/circ/neg_balance_users.js @@ -47,4 +47,12 @@ function($scope , $q , $timeout , $location , $window , egCore , egGridDataProvi }); }); } + + $scope.grid_controls = { + activateItem : function(selected) { + // activateItem returns a single row. + $scope.get_user([selected]) + } + } + }]) -- 2.43.2