aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRobin Appelman <icewind@owncloud.com>2013-01-21 22:07:55 +0100
committerRobin Appelman <icewind@owncloud.com>2013-01-21 22:07:55 +0100
commit1762378f67085cc9e8fecb287d73f1f1570cb3cc (patch)
treec40ff48abd42919d05b6384524cf5473ce5e707a
parent42a1a17a30b8299a7dc4ea71aed57e607bdc2838 (diff)
downloadnextcloud-server-1762378f67085cc9e8fecb287d73f1f1570cb3cc.tar.gz
nextcloud-server-1762378f67085cc9e8fecb287d73f1f1570cb3cc.zip
Files: don't load fileactions.js when upgrading filecache
-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 c10ae76e9ea..b1cd40f2546 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', 'jquery-visibility');
OCP\Util::addscript('files', 'filelist');
-OCP\Util::addscript('files', 'fileactions');
OCP\App::setActiveNavigationEntry('files_index');
// Load the files
@@ -116,6 +115,7 @@ if ($needUpgrade) {
$tmpl = new OCP\Template('files', 'upgrade', 'user');
$tmpl->printPage();
} else {
+ OCP\Util::addscript('files', 'fileactions');
OCP\Util::addscript('files', 'files');
OCP\Util::addscript('files', 'keyboardshortcuts');
$tmpl = new OCP\Template('files', 'index', 'user');