From: Galen Charlton Date: Tue, 2 Feb 2016 00:19:46 +0000 (-0500) Subject: webstaff: work around race condition in vol/copy editor X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=e6ece3bcce07891997504433fadb78f8715989a4;p=evergreen%2Fmasslnc.git 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 --- 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(); }); } }