Files: make sure keybinds js is loaded after files js
This commit is contained in:
parent
f9c42a196f
commit
bb43cf378b
|
@ -30,7 +30,6 @@ OCP\Util::addscript('files', 'jquery.iframe-transport');
|
||||||
OCP\Util::addscript('files', 'jquery.fileupload');
|
OCP\Util::addscript('files', 'jquery.fileupload');
|
||||||
OCP\Util::addscript('files', 'filelist');
|
OCP\Util::addscript('files', 'filelist');
|
||||||
OCP\Util::addscript('files', 'fileactions');
|
OCP\Util::addscript('files', 'fileactions');
|
||||||
OCP\Util::addscript('files', 'keyboardshortcuts');
|
|
||||||
|
|
||||||
OCP\App::setActiveNavigationEntry('files_index');
|
OCP\App::setActiveNavigationEntry('files_index');
|
||||||
// Load the files
|
// Load the files
|
||||||
|
@ -122,6 +121,7 @@ if ($needUpgrade) {
|
||||||
$tmpl->printPage();
|
$tmpl->printPage();
|
||||||
} else {
|
} else {
|
||||||
OCP\Util::addscript('files', 'files');
|
OCP\Util::addscript('files', 'files');
|
||||||
|
OCP\Util::addscript('files', 'keyboardshortcuts');
|
||||||
$tmpl = new OCP\Template('files', 'index', 'user');
|
$tmpl = new OCP\Template('files', 'index', 'user');
|
||||||
$tmpl->assign('fileList', $list->fetchPage(), false);
|
$tmpl->assign('fileList', $list->fetchPage(), false);
|
||||||
$tmpl->assign('breadcrumb', $breadcrumbNav->fetchPage(), false);
|
$tmpl->assign('breadcrumb', $breadcrumbNav->fetchPage(), false);
|
||||||
|
|
Loading…
Reference in New Issue