Back before all the tests
This commit is contained in:
parent
a8d22c3cf8
commit
f7e79f4846
1 changed files with 2 additions and 4 deletions
|
@ -117,13 +117,11 @@ exports.handleClientMessage_emailNotificationGetUserInfo = function (hook, conte
|
||||||
|
|
||||||
exports.handleClientMessage_emailNotificationMissingParams = function (hook, context) { // Settings are missing in settings.json file
|
exports.handleClientMessage_emailNotificationMissingParams = function (hook, context) { // Settings are missing in settings.json file
|
||||||
if (context.payload == true) {
|
if (context.payload == true) {
|
||||||
var title = window._('ep_email_notifications.titleGritterError');
|
|
||||||
var msg = window._('ep_email_notifications.msgParamsMissing');
|
|
||||||
$.gritter.add({
|
$.gritter.add({
|
||||||
// (string | mandatory) the heading of the notification
|
// (string | mandatory) the heading of the notification
|
||||||
title: title,
|
title: window._('ep_email_notifications.titleGritterError'),
|
||||||
// (string | mandatory) the text inside the notification
|
// (string | mandatory) the text inside the notification
|
||||||
text: msg,
|
text: window._('ep_email_notifications.msgParamsMissing'),
|
||||||
// (bool | optional) if you want it to fade out on its own or just sit there
|
// (bool | optional) if you want it to fade out on its own or just sit there
|
||||||
sticky: true
|
sticky: true
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue