mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-17 22:57:21 +01:00
Prevented modal close and showed correct due class in modal
This commit is contained in:
@@ -42,10 +42,12 @@ habitrpg.controller('NotificationCtrl',
|
||||
showCompleted: false,
|
||||
type: 'daily',
|
||||
};
|
||||
modalScope.processingYesterdailies = true;
|
||||
|
||||
$scope.yesterDailiesModalOpen = true;
|
||||
$rootScope.openModal('yesterDailies', {
|
||||
scope: modalScope,
|
||||
backdrop: 'static',
|
||||
controller: ['$scope', 'Tasks', 'User', '$rootScope', function ($scope, Tasks, User, $rootScope) {
|
||||
$rootScope.$on('task:scored', function (event, data) {
|
||||
var task = data.task;
|
||||
|
||||
Reference in New Issue
Block a user