Skip to content
Snippets Groups Projects
Unverified Commit c670c234 authored by Joas Schilling's avatar Joas Schilling
Browse files

Add loadAdditionalScripts events to admin and personal for plugins that have no section

parent a296cbd2
No related branches found
No related tags found
No related merge requests found
......@@ -41,6 +41,8 @@ OC_Util::addScript('settings', 'certificates');
OC_Util::addScript('files', 'jquery.iframe-transport');
OC_Util::addScript('files', 'jquery.fileupload');
\OC::$server->getEventDispatcher()->dispatch('OC\Settings\Admin::loadAdditionalScripts');
$showLog = (\OC::$server->getConfig()->getSystemValue('log_type', 'owncloud') === 'owncloud');
$numEntriesToLoad = 3;
$entries = OC_Log_Owncloud::getEntries($numEntriesToLoad + 1);
......
......@@ -54,6 +54,8 @@ if ($config->getSystemValue('enable_avatars', true) === true) {
\OC_Util::addVendorStyle('jcrop/css/jquery.Jcrop');
}
\OC::$server->getEventDispatcher()->dispatch('OC\Settings\Personal::loadAdditionalScripts');
// Highlight navigation entry
OC::$server->getNavigationManager()->setActiveEntry('personal');
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment