summaryrefslogtreecommitdiffstats
path: root/apps/files/templates/index.php
diff options
context:
space:
mode:
authorThomas Mueller <thomas.mueller@tmit.eu>2013-03-26 16:27:56 +0100
committerThomas Mueller <thomas.mueller@tmit.eu>2013-03-26 16:27:56 +0100
commitcf50e67e1ba741644f7f8a63739ba4705258380a (patch)
tree8b93caf9d6d148228d996b6389e11a9b61825532 /apps/files/templates/index.php
parentd49e8ffb5ed4be03f05b607d9b673e4543b94d21 (diff)
downloadnextcloud-server-cf50e67e1ba741644f7f8a63739ba4705258380a.tar.gz
nextcloud-server-cf50e67e1ba741644f7f8a63739ba4705258380a.zip
prevent to fire delete ajax a second time.
Before the click on a single file delete icon fired two different handlers - one of them is for multiple deletion only
Diffstat (limited to 'apps/files/templates/index.php')
-rw-r--r--apps/files/templates/index.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/files/templates/index.php b/apps/files/templates/index.php
index 0d7185bcb78..8ea3a718e85 100644
--- a/apps/files/templates/index.php
+++ b/apps/files/templates/index.php
@@ -84,13 +84,13 @@
<?php if ($_['permissions'] & OCP\PERMISSION_DELETE): ?>
<!-- NOTE: Temporary fix to allow unsharing of files in root of Shared folder -->
<?php if ($_['dir'] == '/Shared'): ?>
- <span class="selectedActions"><a href="" class="delete">
+ <span class="selectedActions"><a href="" class="delete-selected">
<?php p($l->t('Unshare'))?>
<img class="svg" alt="<?php p($l->t('Unshare'))?>"
src="<?php print_unescaped(OCP\image_path("core", "actions/delete.svg")); ?>" />
</a></span>
<?php else: ?>
- <span class="selectedActions"><a href="" class="delete">
+ <span class="selectedActions"><a href="" class="delete-selected">
<?php p($l->t('Delete'))?>
<img class="svg" alt="<?php p($l->t('Delete'))?>"
src="<?php print_unescaped(OCP\image_path("core", "actions/delete.svg")); ?>" />