summaryrefslogtreecommitdiffstats
path: root/settings/personal.php
diff options
context:
space:
mode:
authorJoas Schilling <nickvergessen@owncloud.com>2016-04-20 12:30:48 +0200
committerJoas Schilling <nickvergessen@owncloud.com>2016-04-20 12:30:48 +0200
commitc670c23455f68a4d2dce1a0cf078c05429d200d9 (patch)
tree197a61561a0692117218cd7024555804df67b369 /settings/personal.php
parenta296cbd203af89a8433f76dbc3a90872d627efda (diff)
downloadnextcloud-server-c670c23455f68a4d2dce1a0cf078c05429d200d9.tar.gz
nextcloud-server-c670c23455f68a4d2dce1a0cf078c05429d200d9.zip
Add loadAdditionalScripts events to admin and personal for plugins that have no section
Diffstat (limited to 'settings/personal.php')
-rw-r--r--settings/personal.php2
1 files changed, 2 insertions, 0 deletions
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');