Close dialog if response has notifications
This commit is contained in:
@@ -68,6 +68,10 @@ function ContentDeleteController($scope, $timeout, contentResource, treeService,
|
||||
// TODO: All YSOD handling should be done with an interceptor
|
||||
overlayService.ysod(err);
|
||||
}
|
||||
|
||||
if(err.data && err.data.notifications && err.data.notifications.length > 0) {
|
||||
navigationService.hideDialog();
|
||||
}
|
||||
});
|
||||
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user