diff options
author | Björn Schießle <schiessle@owncloud.com> | 2013-02-20 22:32:44 +0100 |
---|---|---|
committer | Björn Schießle <schiessle@owncloud.com> | 2013-02-20 22:32:44 +0100 |
commit | c1847aaf5159200c38eb52693a2d2a84aef5cb5f (patch) | |
tree | b1ac8f279f31eda5c9607ab733d9f7f86437625d /apps/files_trashbin/js | |
parent | 273e1a146b27e197a7450589594edcb9131e3b5e (diff) | |
download | nextcloud-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.js | 2 |
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; } |