v1.18.x
Barış Soner Uşaklı 7 years ago
parent d16667a5fb
commit 6cbd70d510

@ -77,7 +77,7 @@ define('notifications', ['sounds', 'translator', 'components', 'navigator', 'ben
payload.message = notifData.bodyShort; payload.message = notifData.bodyShort;
payload.type = 'info'; payload.type = 'info';
payload.clickfn = function () { payload.clickfn = function () {
if (notifData.path.startsWith('http') && notifData.path.startsWith('https')) { if (notifData.path.startsWith('http') || notifData.path.startsWith('https')) {
window.location.href = notifData.path; window.location.href = notifData.path;
} else { } else {
window.location.href = window.location.protocol + '//' + window.location.host + config.relative_path + notifData.path; window.location.href = window.location.protocol + '//' + window.location.host + config.relative_path + notifData.path;

Loading…
Cancel
Save