webstaff: ensure grid in egSerialsManager is consistently initialized
authorGalen Charlton <gmc@equinoxinitiative.org>
Mon, 24 Apr 2017 21:16:24 +0000 (17:16 -0400)
committerGalen Charlton <gmc@equinoxinitiative.org>
Tue, 30 May 2017 16:06:37 +0000 (12:06 -0400)
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Open-ILS/web/js/ui/default/staff/serials/directives/subscription_manager.js

index 65e9f62..0af6533 100644 (file)
@@ -15,6 +15,7 @@ function($scope , $q , egSerialsCoreSvc , egCore , egGridDataProvider ,
                      $uibModal) {
     egSerialsCoreSvc.fetch($scope.bibId).then(function() {
         $scope.subscriptions = egCore.idl.toTypedHash(egSerialsCoreSvc.subTree);
+        $scope.distStreamGridDataProvider.refresh();
     });
     $scope.distStreamGridControls = {
         activateItem : function (item) { } // TODO