summaryrefslogtreecommitdiffstats
path: root/apps/files/templates
diff options
context:
space:
mode:
authorVincent Petry <vincent@nextcloud.com>2022-07-27 10:23:44 +0200
committerVincent Petry <vincent@nextcloud.com>2022-07-27 10:23:44 +0200
commit8be9b04981c4f0bdf0a2b8d424f55c797ad90a32 (patch)
treefb6783d017fc73e0f54435f464eda71ce0ebb169 /apps/files/templates
parent97462295587f4016066264edb6eed5d5e17903f3 (diff)
downloadnextcloud-server-8be9b04981c4f0bdf0a2b8d424f55c797ad90a32.tar.gz
nextcloud-server-8be9b04981c4f0bdf0a2b8d424f55c797ad90a32.zip
Remove legacy #dir element in files list
Removed legacy "#dir" input element in the DOM. Apps should use OCA.Files.App.currentFileList or OCA.Sharing.PublicApp.fileList and call getCurrentDirectory() to retrieve the current directory and changeDirectory() to change it. Signed-off-by: Vincent Petry <vincent@nextcloud.com>
Diffstat (limited to 'apps/files/templates')
-rw-r--r--apps/files/templates/list.php1
-rw-r--r--apps/files/templates/recentlist.php2
-rw-r--r--apps/files/templates/simplelist.php2
3 files changed, 0 insertions, 5 deletions
diff --git a/apps/files/templates/list.php b/apps/files/templates/list.php
index 19365c67722..1b45129195b 100644
--- a/apps/files/templates/list.php
+++ b/apps/files/templates/list.php
@@ -71,7 +71,6 @@
</tfoot>
</table>
<div class="filelist-footer"></div>
-<input type="hidden" name="dir" id="dir" value="" />
<div class="hiddenuploadfield">
<input type="file" id="file_upload_start" class="hiddenuploadfield" name="files[]" />
</div>
diff --git a/apps/files/templates/recentlist.php b/apps/files/templates/recentlist.php
index 925201e5df6..994dadc2ba4 100644
--- a/apps/files/templates/recentlist.php
+++ b/apps/files/templates/recentlist.php
@@ -2,8 +2,6 @@
<div class="emptyfilelist emptycontent hidden"></div>
-<input type="hidden" name="dir" value="" id="dir">
-
<div class="nofilterresults emptycontent hidden">
<div class="icon-search"></div>
<h2><?php p($l->t('No entries found in this folder')); ?></h2>
diff --git a/apps/files/templates/simplelist.php b/apps/files/templates/simplelist.php
index 9e67d4cd0b2..fc0a9fb38c9 100644
--- a/apps/files/templates/simplelist.php
+++ b/apps/files/templates/simplelist.php
@@ -4,8 +4,6 @@
<p><?php p($l->t('Files and folders you mark as favorite will show up here')); ?></p>
</div>
-<input type="hidden" name="dir" value="" id="dir">
-
<div class="nofilterresults emptycontent hidden">
<div class="icon-search"></div>
<h2><?php p($l->t('No entries found in this folder')); ?></h2>