Fix setup compatibility
This commit is contained in:
parent
5ac18e3711
commit
de99be3a10
1 changed files with 1 additions and 1 deletions
|
|
@ -112,7 +112,7 @@ function first_execution() {
|
|||
function check_events() {
|
||||
var result = 0;
|
||||
dolnotif_nb_test_for_page += 1;
|
||||
var methodfornotification = '<?php print getDolUserString('AGENDA_NOTIFICATION_METHOD', getDolGlobalString('AGENDA_NOTIFICATION_METHOD', 'jnotify')); ?>';
|
||||
var methodfornotification = '<?php print getDolUserString('AGENDA_NOTIFICATION_METHOD', getDolGlobalString('AGENDA_NOTIFICATION_METHOD', 'jsnotification')); ?>';
|
||||
|
||||
permissionok = 0;
|
||||
if (methodfornotification == "jsnotification" && Notification.permission == "granted") {
|
||||
|
|
|
|||
Loading…
Reference in a new issue