mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-17 22:57:21 +01:00
v3: fix notifications
This commit is contained in:
@@ -180,9 +180,13 @@ habitrpg.controller('NotificationCtrl',
|
||||
$rootScope.openModal('questInvitation', {controller:'PartyCtrl'});
|
||||
});
|
||||
|
||||
$rootScope.$on('responseError', function(ev, error){
|
||||
$rootScope.$on('responseError500', function(ev, error){
|
||||
Notification.error(error);
|
||||
});
|
||||
$rootScope.$on('responseError', function(ev, error){
|
||||
Notification.error(error, true);
|
||||
});
|
||||
|
||||
$rootScope.$on('responseText', function(ev, error){
|
||||
Notification.text(error);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user