diff --git a/accountant/frontend/static/js/app.js b/accountant/frontend/static/js/app.js index 60b56e0..933d8e2 100644 --- a/accountant/frontend/static/js/app.js +++ b/accountant/frontend/static/js/app.js @@ -36,7 +36,7 @@ var accountantApp = angular.module("accountantApp", [ "responseError": function(response) { // TODO Intercept Authentication Required error - $.pnotify({ + new PNotify({ type: "error", title: response.data.title, text: response.data.text, diff --git a/accountant/frontend/static/js/scheduler.js b/accountant/frontend/static/js/scheduler.js index f7908b7..31025c6 100644 --- a/accountant/frontend/static/js/scheduler.js +++ b/accountant/frontend/static/js/scheduler.js @@ -96,7 +96,7 @@ accountantApp.controller( } $http.put(url, angular.toJson(operation)).success(function(data) { - $.pnotify({ + new PNotify({ type: "success", title: "Save", text: data