summaryrefslogtreecommitdiffstats
path: root/apps/files_trashbin/js
diff options
context:
space:
mode:
authorBjörn Schießle <schiessle@owncloud.com>2013-02-20 22:32:44 +0100
committerBjörn Schießle <schiessle@owncloud.com>2013-02-20 22:32:44 +0100
commitc1847aaf5159200c38eb52693a2d2a84aef5cb5f (patch)
treeb1ac8f279f31eda5c9607ab733d9f7f86437625d /apps/files_trashbin/js
parent273e1a146b27e197a7450589594edcb9131e3b5e (diff)
downloadnextcloud-server-c1847aaf5159200c38eb52693a2d2a84aef5cb5f.tar.gz
nextcloud-server-c1847aaf5159200c38eb52693a2d2a84aef5cb5f.zip
change for loop to make it hopefully work with IE
Diffstat (limited to 'apps/files_trashbin/js')
-rw-r--r--apps/files_trashbin/js/trash.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files_trashbin/js/trash.js b/apps/files_trashbin/js/trash.js
index 3841a098147..94fb4358d37 100644
--- a/apps/files_trashbin/js/trash.js
+++ b/apps/files_trashbin/js/trash.js
@@ -123,7 +123,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 deleteAction = $('tr').filterAttr('data-file',files[i]).children("td.date");
deleteAction[0].innerHTML = deleteAction[0].innerHTML+spinner;
}