Added safe apply

This commit is contained in:
Fergal Moran
2016-06-21 22:25:08 +01:00
parent 7b3226cbd6
commit 29d54ee979

View File

@@ -38,8 +38,8 @@ angular.module('dssWebApp')
});
scope.$on(MESSAGE_EVENTS.broadcast, function (message) {
getNotifications(scope)
.then(function(){
scope.$apply();
.then(function () {
$rootScope.safeApply();
});
});
}