Fixed notification issue

This commit is contained in:
Pierre 2017-05-26 09:05:14 +02:00
parent 4c9de6b5c1
commit 8918c7cc45
2 changed files with 2 additions and 2 deletions

View File

@ -39,7 +39,7 @@ ComunicWeb.common.notificationSystem = {
$.notify(options,{ $.notify(options,{
// settings // settings
type: notifType, type: notifType,
timer: notifDuration*1000, delay: notifDuration*1000,
}); });
} }

View File

@ -21,7 +21,7 @@ ComunicWeb.pages.logout = {
ComunicWeb.user.userLogin.logoutUser(); ComunicWeb.user.userLogin.logoutUser();
//Show a success notification //Show a success notification
ComunicWeb.common.notificationSystem.showNotification("Good bye, you successfully terminated your session !", "sucess", 5); ComunicWeb.common.notificationSystem.showNotification("Good bye, you successfully terminated your session !", "success", 3);
//Open login page //Open login page
ComunicWeb.common.page.openPage("home"); ComunicWeb.common.page.openPage("home");