Skip to content
Snippets Groups Projects
Commit bb43cf37 authored by Robin Appelman's avatar Robin Appelman
Browse files

Files: make sure keybinds js is loaded after files js

parent f9c42a19
No related branches found
No related tags found
No related merge requests found
......@@ -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);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment