diff options
Diffstat (limited to 'settings')
-rw-r--r-- | settings/admin.php | 2 | ||||
-rw-r--r-- | settings/personal.php | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/settings/admin.php b/settings/admin.php index e0d3a907f47..cfb7eb5c541 100644 --- a/settings/admin.php +++ b/settings/admin.php @@ -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); diff --git a/settings/personal.php b/settings/personal.php index 62a718985f8..90b8bb2fbbb 100644 --- a/settings/personal.php +++ b/settings/personal.php @@ -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'); |