diff options
author | Lukas Reschke <lukas@statuscode.ch> | 2013-02-07 13:48:44 -0800 |
---|---|---|
committer | Lukas Reschke <lukas@statuscode.ch> | 2013-02-07 13:48:44 -0800 |
commit | 217328e0e3656f0068b3e41ebc4cdc32b79f3fe4 (patch) | |
tree | cdfe0e664e8640610e719724ea32670e30134684 /lib/templatelayout.php | |
parent | 867650ee474e5b7318056c0f3b01985dbd8c8cd1 (diff) | |
parent | a82d18d2f8e13edab296daaf2bda917381e78810 (diff) | |
download | nextcloud-server-217328e0e3656f0068b3e41ebc4cdc32b79f3fe4.tar.gz nextcloud-server-217328e0e3656f0068b3e41ebc4cdc32b79f3fe4.zip |
Merge pull request #1514 from owncloud/fix-setup
Fix setup
Diffstat (limited to 'lib/templatelayout.php')
-rw-r--r-- | lib/templatelayout.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/templatelayout.php b/lib/templatelayout.php index 28bdca6be0a..345f540af04 100644 --- a/lib/templatelayout.php +++ b/lib/templatelayout.php @@ -39,6 +39,9 @@ class OC_TemplateLayout extends OC_Template { // Add the js files $jsfiles = self::findJavascriptFiles(OC_Util::$scripts); $this->assign('jsfiles', array(), false); + if (OC_Config::getValue('installed', false)) { + $this->append( 'jsfiles', OC_Helper::linkToRoute('js_config')); + } if (!empty(OC_Util::$core_scripts)) { $this->append( 'jsfiles', OC_Helper::linkToRemoteBase('core.js', false)); } |