You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
492 B
17 lines
492 B
5 years ago
|
document.addEventListener('DOMContentLoaded', function() {
|
||
|
var aboutEntry = document.querySelector('#expanddiv li[data-id="firstrunwizard-about"] a');
|
||
|
if (aboutEntry) {
|
||
|
aboutEntry.addEventListener('click', function (event) {
|
||
|
event.stopPropagation();
|
||
|
event.preventDefault();
|
||
|
OCP.Loader.loadScript('firstrunwizard', 'firstrunwizard.js').then(function () {
|
||
|
OCA.FirstRunWizard.open();
|
||
|
OC.hideMenus(function () {
|
||
|
return false;
|
||
|
});
|
||
|
});
|
||
|
return true;
|
||
|
});
|
||
|
}
|
||
|
});
|