mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-19 07:37:25 +01:00
added growl style notification for errors
This commit is contained in:
@@ -61,5 +61,9 @@ habitrpg.controller('NotificationCtrl',
|
||||
Notification.lvl();
|
||||
}
|
||||
});
|
||||
|
||||
$rootScope.$on('responseError', function(ev, error){
|
||||
Notification.error(error);
|
||||
});
|
||||
}
|
||||
]);
|
||||
|
||||
Reference in New Issue
Block a user