From 55e829e0e102bdab385258d60f5a197ec9d08bb3 Mon Sep 17 00:00:00 2001 From: Mike Rylander Date: Tue, 13 Oct 2015 14:06:03 -0400 Subject: [PATCH] webstaff: use activateItem to open the vol/copy editor Signed-off-by: Mike Rylander Signed-off-by: Galen Charlton Signed-off-by: Kathy Lussier --- Open-ILS/web/js/ui/default/staff/cat/catalog/app.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Open-ILS/web/js/ui/default/staff/cat/catalog/app.js b/Open-ILS/web/js/ui/default/staff/cat/catalog/app.js index 9418804280..50a63d9e42 100644 --- a/Open-ILS/web/js/ui/default/staff/cat/catalog/app.js +++ b/Open-ILS/web/js/ui/default/staff/cat/catalog/app.js @@ -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); -- 2.11.0