Pārlūkot izejas kodu

Fix js file load order

tags/v9.0beta1
Thomas Müller pirms 8 gadiem
vecāks
revīzija
240ae46265
1 mainītis faili ar 2 papildinājumiem un 2 dzēšanām
  1. 2
    2
      apps/files/controller/viewcontroller.php

+ 2
- 2
apps/files/controller/viewcontroller.php Parādīt failu

@@ -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',

Notiek ielāde…
Atcelt
Saglabāt