From e6ece3bcce07891997504433fadb78f8715989a4 Mon Sep 17 00:00:00 2001 From: Galen Charlton Date: Mon, 1 Feb 2016 19:19:46 -0500 Subject: [PATCH] webstaff: work around race condition in vol/copy editor Fix (or workaround) issue whereby the volume/copy editor could fail to select a copy's current stat cats. Signed-off-by: Galen Charlton Signed-off-by: Kathy Lussier --- Open-ILS/web/js/ui/default/staff/cat/volcopy/app.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Open-ILS/web/js/ui/default/staff/cat/volcopy/app.js b/Open-ILS/web/js/ui/default/staff/cat/volcopy/app.js index ce8f29cad4..ab5ceccb72 100644 --- a/Open-ILS/web/js/ui/default/staff/cat/volcopy/app.js +++ b/Open-ILS/web/js/ui/default/staff/cat/volcopy/app.js @@ -1318,6 +1318,10 @@ function($scope , $q , $window , $routeParams , $location , $timeout , egCore , createStatcatUpdateWatcher(s.id()); }); $scope.in_item_select = false; + // do a refresh here to work around a race + // condition that can result in stat cats + // not being selected. + $scope.workingGridDataProvider.refresh(); }); } } -- 2.43.2