Fix PNotify invokation.

This commit is contained in:
Alexis Lahouze 2015-07-15 13:54:40 +02:00
parent 45d585a653
commit dad5f10172
2 changed files with 2 additions and 2 deletions

View File

@ -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,

View File

@ -96,7 +96,7 @@ accountantApp.controller(
}
$http.put(url, angular.toJson(operation)).success(function(data) {
$.pnotify({
new PNotify({
type: "success",
title: "Save",
text: data