From: Bill Erickson Date: Mon, 27 Feb 2017 19:54:24 +0000 (-0500) Subject: LP#1668351 Patrons with neg. balance dbl-click X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=271b90c495f76526d73feb3cbdc9b021eb39b520;p=working%2FEvergreen.git 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 --- 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]) + } + } + }])