Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Calviño Sánchez <danxuliu@gmail.com>2022-06-23 14:24:35 +0300
committerDaniel Calviño Sánchez <danxuliu@gmail.com>2022-06-23 14:24:35 +0300
commitc82181fec7ac4a0d3a52b6ca02fe146171c4f159 (patch)
tree9774fac2999c7f5861b7378b640727472888a825 /apps/files
parenteeed5e0fbea1862c4b3df8e8103b34edd3c28409 (diff)
Fix quota text not updated when no quota is set
The JavaScript code that updates the quota text expects the element to have "quotatext" as id. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
Diffstat (limited to 'apps/files')
-rw-r--r--apps/files/templates/appnavigation.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files/templates/appnavigation.php b/apps/files/templates/appnavigation.php
index 0bfdc6f0b54..9aea68fef99 100644
--- a/apps/files/templates/appnavigation.php
+++ b/apps/files/templates/appnavigation.php
@@ -12,7 +12,7 @@
<?php if ($_['quota'] === \OCP\Files\FileInfo::SPACE_UNLIMITED): ?>
<li id="quota" class="pinned <?php p($pinned === 0 ? 'first-pinned ' : '') ?>">
<a href="#" class="icon-quota svg">
- <p><?php p($l->t('%s used', [$_['usage']])); ?></p>
+ <p id="quotatext"><?php p($l->t('%s used', [$_['usage']])); ?></p>
</a>
</li>
<?php else: ?>