summaryrefslogtreecommitdiffstats
path: root/apps/files/index.php
diff options
context:
space:
mode:
authorRobin Appelman <icewind@owncloud.com>2013-01-16 21:36:25 +0100
committerRobin Appelman <icewind@owncloud.com>2013-01-16 21:36:25 +0100
commitbb43cf378b5e7c6a18a30d8fbb226b72f1e4eb88 (patch)
tree2817e6331556fda3c97b462c74ffcd12d15980b9 /apps/files/index.php
parentf9c42a196f03bb193b07a8f5f8ecf42b911ef4b5 (diff)
downloadnextcloud-server-bb43cf378b5e7c6a18a30d8fbb226b72f1e4eb88.tar.gz
nextcloud-server-bb43cf378b5e7c6a18a30d8fbb226b72f1e4eb88.zip
Files: make sure keybinds js is loaded after files js
Diffstat (limited to 'apps/files/index.php')
-rw-r--r--apps/files/index.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files/index.php b/apps/files/index.php
index 0dce7686962..854218eee55 100644
--- a/apps/files/index.php
+++ b/apps/files/index.php
@@ -30,7 +30,6 @@ OCP\Util::addscript('files', 'jquery.iframe-transport');
OCP\Util::addscript('files', 'jquery.fileupload');
OCP\Util::addscript('files', 'filelist');
OCP\Util::addscript('files', 'fileactions');
-OCP\Util::addscript('files', 'keyboardshortcuts');
OCP\App::setActiveNavigationEntry('files_index');
// Load the files
@@ -122,6 +121,7 @@ if ($needUpgrade) {
$tmpl->printPage();
} else {
OCP\Util::addscript('files', 'files');
+ OCP\Util::addscript('files', 'keyboardshortcuts');
$tmpl = new OCP\Template('files', 'index', 'user');
$tmpl->assign('fileList', $list->fetchPage(), false);
$tmpl->assign('breadcrumb', $breadcrumbNav->fetchPage(), false);