avoid no-op templates in grid
authorBill Erickson <berick@esilibrary.com>
Tue, 29 Apr 2014 18:57:47 +0000 (14:57 -0400)
committerBill Erickson <berick@esilibrary.com>
Tue, 29 Apr 2014 18:57:47 +0000 (14:57 -0400)
Signed-off-by: Bill Erickson <berick@esilibrary.com>
Open-ILS/web/js/ui/default/staff/services/grid.js

index 5848110..6203b7b 100644 (file)
@@ -596,7 +596,6 @@ angular.module('egGridMod',
             label : '@', // optional; display label
             flex  : '@'  // optional; default flex width
         },
-        template : '<div></div>', // NOOP template
         link : function(scope, element, attrs, egGridCtrl) {
 
             // boolean fields are presented as value-less attributes
@@ -634,7 +633,6 @@ angular.module('egGridMod',
             label   : '@', // Action label
             handler : '='  // Action function handler
         },
-        template : '<div></div>', // NOOP template
         link : function(scope, element, attrs, egGridCtrl) {
             egGridCtrl.addAction({
                 label : scope.label,