webstaff: use activateItem to open the vol/copy editor
authorMike Rylander <mrylander@gmail.com>
Tue, 13 Oct 2015 18:06:03 +0000 (14:06 -0400)
committerKathy Lussier <klussier@masslnc.org>
Tue, 2 Feb 2016 19:58:51 +0000 (14:58 -0500)
Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
Open-ILS/web/js/ui/default/staff/cat/catalog/app.js

index 9418804..50a63d9 100644 (file)
@@ -508,7 +508,11 @@ function($scope , $routeParams , $location , $window , $q , egCore , egHolds , e
     // ------------------------------------------------------------------
     // Holdings
 
-    $scope.holdingsGridControls = {};
+    $scope.holdingsGridControls = {
+        activateItem : function (item) {
+            $scope.selectedHoldingsVolCopyEdit();
+        }
+    };
     $scope.holdingsGridDataProvider = egGridDataProvider.instance({
         get : function(offset, count) {
             return this.arrayNotifier(holdingsSvcInst.copies, offset, count);