aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files_trashbin/js
diff options
context:
space:
mode:
authorThomas Mueller <thomas.mueller@tmit.eu>2013-02-20 23:46:15 +0100
committerThomas Mueller <thomas.mueller@tmit.eu>2013-02-20 23:46:15 +0100
commit3eb9cd035f42cfe208e4661f6932418ef5502842 (patch)
treeff5e899499a12cd25fb8cc44f775fcf243d270b7 /apps/files_trashbin/js
parentc1847aaf5159200c38eb52693a2d2a84aef5cb5f (diff)
parentd2f9c3e8e721a341213c91b67b3b4ede070a59a5 (diff)
downloadnextcloud-server-3eb9cd035f42cfe208e4661f6932418ef5502842.tar.gz
nextcloud-server-3eb9cd035f42cfe208e4661f6932418ef5502842.zip
Merge branch 'master' into trash_bin_delete_selected
Diffstat (limited to 'apps/files_trashbin/js')
-rw-r--r--apps/files_trashbin/js/trash.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/files_trashbin/js/trash.js b/apps/files_trashbin/js/trash.js
index 94fb4358d37..208cc88f0fd 100644
--- a/apps/files_trashbin/js/trash.js
+++ b/apps/files_trashbin/js/trash.js
@@ -98,7 +98,7 @@ $(document).ready(function() {
var fileslist = JSON.stringify(files);
var dirlisting=getSelectedFiles('dirlisting')[0];
- for (var i in files) {
+ for (var i=0; i<files.length; i++) {
var undeleteAction = $('tr').filterAttr('data-file',files[i]).children("td.date");
undeleteAction[0].innerHTML = undeleteAction[0].innerHTML+spinner;
}
@@ -113,7 +113,7 @@ $(document).ready(function() {
if (result.status != 'success') {
OC.dialogs.alert(result.data.message, 'Error');
}
- });
+ });
});
$('.delete').click('click',function(event) {