Fix PNotify invokation.
This commit is contained in:
parent
45d585a653
commit
dad5f10172
@ -36,7 +36,7 @@ var accountantApp = angular.module("accountantApp", [
|
|||||||
|
|
||||||
"responseError": function(response) {
|
"responseError": function(response) {
|
||||||
// TODO Intercept Authentication Required error
|
// TODO Intercept Authentication Required error
|
||||||
$.pnotify({
|
new PNotify({
|
||||||
type: "error",
|
type: "error",
|
||||||
title: response.data.title,
|
title: response.data.title,
|
||||||
text: response.data.text,
|
text: response.data.text,
|
||||||
|
@ -96,7 +96,7 @@ accountantApp.controller(
|
|||||||
}
|
}
|
||||||
|
|
||||||
$http.put(url, angular.toJson(operation)).success(function(data) {
|
$http.put(url, angular.toJson(operation)).success(function(data) {
|
||||||
$.pnotify({
|
new PNotify({
|
||||||
type: "success",
|
type: "success",
|
||||||
title: "Save",
|
title: "Save",
|
||||||
text: data
|
text: data
|
||||||
|
Loading…
Reference in New Issue
Block a user