diff options
author | Thomas Müller <thomas.mueller@tmit.eu> | 2015-11-17 13:36:40 +0100 |
---|---|---|
committer | Lukas Reschke <lukas@owncloud.com> | 2015-11-22 16:05:51 +0100 |
commit | 240ae46265c9bae2b1943d34dfe7b708d06c247a (patch) | |
tree | 9a18ca8bde74de369518774689b8332a7e1882b3 /apps/files/controller | |
parent | 21da6271a8656517e956aa8897d8316b6a61ceac (diff) | |
download | nextcloud-server-240ae46265c9bae2b1943d34dfe7b708d06c247a.tar.gz nextcloud-server-240ae46265c9bae2b1943d34dfe7b708d06c247a.zip |
Fix js file load order
Diffstat (limited to 'apps/files/controller')
-rw-r--r-- | apps/files/controller/viewcontroller.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/files/controller/viewcontroller.php b/apps/files/controller/viewcontroller.php index c274680e525..1d1a9111d19 100644 --- a/apps/files/controller/viewcontroller.php +++ b/apps/files/controller/viewcontroller.php @@ -119,6 +119,8 @@ class ViewController extends Controller { * @throws \OCP\Files\NotFoundException */ public function index($dir = '', $view = '') { + $nav = new \OCP\Template('files', 'appnavigation', ''); + // Load the files we need \OCP\Util::addStyle('files', 'files'); \OCP\Util::addStyle('files', 'upload'); @@ -169,8 +171,6 @@ class ViewController extends Controller { // FIXME: Make non static $storageInfo = $this->getStorageInfo(); - $nav = new \OCP\Template('files', 'appnavigation', ''); - \OCA\Files\App::getNavigationManager()->add( [ 'id' => 'favorites', |