LP#1402797 Actually do search button, too
authorMike Rylander <mrylander@gmail.com>
Fri, 12 Dec 2014 21:43:53 +0000 (16:43 -0500)
committerBill Erickson <berickxx@gmail.com>
Thu, 12 Feb 2015 16:58:27 +0000 (11:58 -0500)
Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
Open-ILS/web/js/ui/default/staff/circ/patron/app.js

index 14d699c..25800d3 100644 (file)
@@ -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