From: Mike Rylander <mrylander@gmail.com>
Date: Fri, 12 Dec 2014 21:43:53 +0000 (-0500)
Subject: LP#1402797 Actually do search button, too
X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=9a95b21d7dcd5e3cdf84e6c1f515863b98f7244b;p=evergreen%2Fmasslnc.git

LP#1402797 Actually do search button, too

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
---

diff --git a/Open-ILS/web/js/ui/default/staff/circ/patron/app.js b/Open-ILS/web/js/ui/default/staff/circ/patron/app.js
index 14d699c3f1..25800d3aba 100644
--- a/Open-ILS/web/js/ui/default/staff/circ/patron/app.js
+++ b/Open-ILS/web/js/ui/default/staff/circ/patron/app.js
@@ -965,6 +965,7 @@ function($scope,  $q,  $routeParams,  $timeout,  $window,  $location,  egCore,
     $scope.search = function(args) { // args === $scope.searchArgs
         if (args && Object.keys(args).length) 
             $scope.gridControls.refresh();
+        window.prevElement.focus();
     }
 
     // TODO: move this into the (forthcoming) grid row activate action