Fix modal event handling

This commit is contained in:
Denis 2018-02-28 18:19:21 +05:00
parent e050f53e70
commit 9e8c5e5989

View File

@ -121,9 +121,7 @@ define(['controllers/projects/taskRunner'], function () {
}).catch(function (response) {
swal('error', 'could not add template:' + response.status, 'error');
});
});
modal.closed.then(function () {
}, function() {
$scope.reload();
});
}