aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files/js/fileactions.js
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2014-04-01 22:54:05 +0200
committerThomas Müller <thomas.mueller@tmit.eu>2014-04-01 22:54:05 +0200
commitd762e25cc55130e25eba0900c821b36e0897e478 (patch)
tree7f320e159b217f620ae87efaa88c2355e8412f22 /apps/files/js/fileactions.js
parent82d1ea240e674e682e0cae7aa428e9543e082ba8 (diff)
parentaaa8d6ec026f3ab243b177956ee9eab461a2515e (diff)
downloadnextcloud-server-d762e25cc55130e25eba0900c821b36e0897e478.tar.gz
nextcloud-server-d762e25cc55130e25eba0900c821b36e0897e478.zip
Merge pull request #7989 from owncloud/files-deletefileregressionfix
Fixed broken delete file action
Diffstat (limited to 'apps/files/js/fileactions.js')
-rw-r--r--apps/files/js/fileactions.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files/js/fileactions.js b/apps/files/js/fileactions.js
index a7d1fa9d8a2..732690f047a 100644
--- a/apps/files/js/fileactions.js
+++ b/apps/files/js/fileactions.js
@@ -180,7 +180,7 @@ var FileActions = {
}
var element = $(html);
element.data('action', actions['Delete']);
- element.on('click', {a: null, elem: parent, actionFunc: actions['Delete']}, actionHandler);
+ element.on('click', {a: null, elem: parent, actionFunc: actions['Delete'].action}, actionHandler);
parent.parent().children().last().append(element);
}