LP#1402797 make clearing the record bucket pending list action functional
authorGalen Charlton <gmc@esilibrary.com>
Thu, 15 Jan 2015 21:52:00 +0000 (21:52 +0000)
committerBill Erickson <berickxx@gmail.com>
Wed, 25 Feb 2015 16:16:05 +0000 (11:16 -0500)
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Bill Erickson <berickxx@gmail.com>
Open-ILS/src/templates/staff/cat/bucket/record/t_pending.tt2
Open-ILS/web/js/ui/default/staff/cat/bucket/record/app.js

index eefc60a..6d3a525 100644 (file)
@@ -15,6 +15,6 @@
     handler="addToBucket"></eg-grid-action>
 
   <eg-grid-action label="[% l('Clear List') %]" 
-    handler="clearPendingList"></eg-grid-action>
+    handler="resetPendingList"></eg-grid-action>
 
 </eg-grid>
index 5b4ad21..3bcd714 100644 (file)
@@ -469,6 +469,7 @@ function($scope,  $routeParams,  bucketSvc , egGridDataProvider) {
 
     $scope.resetPendingList = function() {
         bucketSvc.pendingList = [];
+        $scope.gridDataProvider.refresh();
     }