LP#1549505: double-clicking existing badge now opens editor
authorGalen Charlton <gmc@esilibrary.com>
Fri, 25 Mar 2016 01:55:58 +0000 (21:55 -0400)
committerGalen Charlton <gmc@esilibrary.com>
Fri, 25 Mar 2016 01:55:58 +0000 (21:55 -0400)
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Open-ILS/web/js/ui/default/staff/admin/local/rating/badge.js

index b5dc34b..a581a87 100644 (file)
@@ -145,6 +145,9 @@ function($scope , $q , $timeout , $location , $window , $modal ,
     }
 
     $scope.gridControls = {
+        activateItem : function (item) {
+            $scope.update_rb([item]);
+        },
         setQuery : function() {
             return {
                 'id' : {'!=' : null}