Fix PNotify invokation.
This commit is contained in:
parent
45d585a653
commit
dad5f10172
@ -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,
|
||||
|
@ -96,7 +96,7 @@ accountantApp.controller(
|
||||
}
|
||||
|
||||
$http.put(url, angular.toJson(operation)).success(function(data) {
|
||||
$.pnotify({
|
||||
new PNotify({
|
||||
type: "success",
|
||||
title: "Save",
|
||||
text: data
|
||||
|
Loading…
Reference in New Issue
Block a user