summaryrefslogtreecommitdiffstats
path: root/apps/files/lib
diff options
context:
space:
mode:
authorfnuesse <felix.nuesse@t-online.de>2018-06-27 00:35:28 +0200
committerJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>2018-07-12 16:49:38 +0200
commit55ebdc9344dc8edb665491bf89595f406cfc4d62 (patch)
tree23bdc47aea07adf307dc70718d427acb17eb3e92 /apps/files/lib
parent9b914bd68dc53d5fe5ac98e9bbeb3b8da436096e (diff)
downloadnextcloud-server-55ebdc9344dc8edb665491bf89595f406cfc4d62.tar.gz
nextcloud-server-55ebdc9344dc8edb665491bf89595f406cfc4d62.zip
Fix collapsible-Button when list was emptied (or got first element)
Signed-off-by: fnuesse <felix.nuesse@t-online.de> Fixed Bad url-generation in javascript for new quickaccessitems Signed-off-by: fnuesse <felix.nuesse@t-online.de> Fixed vertical scrolling in sortable-list which leads to "hidden" navbar Signed-off-by: fnuesse <felix.nuesse@t-online.de> Removed unnessessary console logs Signed-off-by: fnuesse <felix.nuesse@t-online.de> Fixed Bounds in custom sorting Signed-off-by: fnuesse <felix.nuesse@t-online.de> Reformatted code Signed-off-by: fnuesse <felix.nuesse@t-online.de> Fixed horizontalscroll on sortable-list Fixed "stuck element" where you could not switch back to the original ordering in the sortable-list Signed-off-by: fnuesse <felix.nuesse@t-online.de>
Diffstat (limited to 'apps/files/lib')
-rw-r--r--apps/files/lib/Controller/ViewController.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/files/lib/Controller/ViewController.php b/apps/files/lib/Controller/ViewController.php
index 7a07df678b2..82f9ea000af 100644
--- a/apps/files/lib/Controller/ViewController.php
+++ b/apps/files/lib/Controller/ViewController.php
@@ -202,9 +202,9 @@ class ViewController extends Controller {
}
- $defaultExpandedState='true';
- if(!$this->config->getUserValue($this->userSession->getUser()->getUID(), 'files', 'show_Quick_Access', 1)){
- $defaultExpandedState='false';
+ $defaultExpandedState = 'true';
+ if (!$this->config->getUserValue($this->userSession->getUser()->getUID(), 'files', 'show_Quick_Access', 1)) {
+ $defaultExpandedState = 'false';
}
\OCA\Files\App::getNavigationManager()->add(