mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-27 15:54:29 +02:00
#12286 no enable click user not logged public VC
This commit is contained in:
parent
f89a31e421
commit
08140b87a7
@ -321,6 +321,15 @@ $visualConsoleItems = VisualConsole::getItemsFromDB(
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
<?php if ($force_instant_logout === true) { ?>
|
||||||
|
// No click enabled when user not logged.
|
||||||
|
$( "a" ).on( "click", function( event ) {
|
||||||
|
event.preventDefault();
|
||||||
|
$('#visual-console-container').removeClass('is-updating');
|
||||||
|
$('.div-visual-console-spinner').remove();
|
||||||
|
});
|
||||||
|
<?php } ?>
|
||||||
</script>
|
</script>
|
||||||
<?php
|
<?php
|
||||||
if ($force_instant_logout === true) {
|
if ($force_instant_logout === true) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user