%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /www/old2/_muzikoterapie/uloziste.eacm.cz/apps/firstrunwizard/js/
Upload File :
Create Path :
Current File : /www/old2/_muzikoterapie/uloziste.eacm.cz/apps/firstrunwizard/js/about.js

document.addEventListener('DOMContentLoaded', function() {
	const aboutEntry = document.querySelector('#firstrunwizard_about button');

	const addListener = () => {
		const aboutEntry = document.querySelector('#firstrunwizard_about button');

		aboutEntry.addEventListener('click', function (event) {
			event.stopPropagation();
			event.preventDefault();
			OCP.Loader.loadScript('firstrunwizard', 'firstrunwizard-main.js').then(function () {
				OCA.FirstRunWizard.open();
				OC.hideMenus(function () {
					return false;
				});
			});
			return true;
		});
	}

	if (aboutEntry) {
		addListener()
	} else {
		window._nc_event_bus.subscribe('core:user-menu:mounted', addListener)
	}
});

Zerion Mini Shell 1.0