Updated published menus mgmt policy.

This commit is contained in:
David Russell 2017-10-30 09:08:03 +07:00
parent d304d41d94
commit b22546f537

View File

@ -103,6 +103,7 @@
});
Reveal.addEventListener('ready', function(evt) {
if (evt.indexh === 0 && evt.indexv === 0) {
pushHelpNotification();
} else {
@ -110,6 +111,10 @@
}
});
Reveal.addEventListener('menu-ready', function(evt) {
manageMenuPolicy();
});
Reveal.addEventListener('slidechanged', function(evt) {
if (evt.indexh === 0 && evt.indexv === 0) {
pushHelpNotification();
@ -163,6 +168,14 @@
Reveal.removeEventListeners();
};
function manageMenuPolicy() {
@if(ssm.published()) {
if(RevealMenu && RevealMenu.isOpen()) {
RevealMenu.toggle();
}
}
}
</script>
@if(ssm.remoteControlEnabled()) {