diff options
author | kondou <kondou@ts.unde.re> | 2013-08-02 08:03:51 +0200 |
---|---|---|
committer | kondou <kondou@ts.unde.re> | 2013-08-25 21:04:45 +0200 |
commit | 252548c62cf099e5186ffc323e3cf9494fae3768 (patch) | |
tree | 9336f2a84a7059e98385e13080485d43fe46f461 /settings/personal.php | |
parent | a58d270684110334aab1b296b69e98def6cc6558 (diff) | |
download | nextcloud-server-252548c62cf099e5186ffc323e3cf9494fae3768.tar.gz nextcloud-server-252548c62cf099e5186ffc323e3cf9494fae3768.zip |
Improve styling & enable avatar-upload at personal page
Diffstat (limited to 'settings/personal.php')
-rw-r--r-- | settings/personal.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/settings/personal.php b/settings/personal.php index 4bec21d58c8..233b1440eb2 100644 --- a/settings/personal.php +++ b/settings/personal.php @@ -15,6 +15,9 @@ OC_Util::addScript( 'settings', 'personal' ); OC_Util::addStyle( 'settings', 'settings' ); OC_Util::addScript( '3rdparty', 'chosen/chosen.jquery.min' ); OC_Util::addStyle( '3rdparty', 'chosen' ); +if (OC_Config::getValue('avatar', 'local') === 'local') { + \OC_Util::addScript('files', 'jquery.fileupload'); +} OC_App::setActiveNavigationEntry( 'personal' ); $storageInfo=OC_Helper::getStorageInfo(); |