Banner notifications are not maximized if 'info' message

This commit is contained in:
Henry 2015-10-14 14:16:37 -07:00
parent 912e70d219
commit 301b73c6c6

View File

@ -37,10 +37,12 @@ define(
notificationService.dismissOrMinimize(notification);
};
$scope.maximize = function(notification) {
notification.cancel = function(){
dialogService.dismiss();
if (notification.severity > MessageSeverity.INFO){
notification.cancel = function(){
dialogService.dismiss();
}
dialogService.showBlockingMessage(notification);
}
dialogService.showBlockingMessage(notification);
}
}
return BannerController;