aboutsummaryrefslogtreecommitdiffstats
path: root/files
diff options
context:
space:
mode:
authorBrice Maron <brice@bmaron.net>2011-11-06 13:34:22 +0100
committerBrice Maron <brice@bmaron.net>2011-11-06 13:34:22 +0100
commit8de7c36b4cbb3ef02ad4ca0023cbb06f9f2481d8 (patch)
treee185212f861ea47bb8e1f250f51f14293b86e2fb /files
parent75ff9abaca2f1a067be3fce10794835b857e5cba (diff)
downloadnextcloud-server-8de7c36b4cbb3ef02ad4ca0023cbb06f9f2481d8.tar.gz
nextcloud-server-8de7c36b4cbb3ef02ad4ca0023cbb06f9f2481d8.zip
Fix broken upload since merge of new button branch
Diffstat (limited to 'files')
-rw-r--r--files/js/files.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/files/js/files.js b/files/js/files.js
index 0af2b9285b9..469a4b81d2f 100644
--- a/files/js/files.js
+++ b/files/js/files.js
@@ -163,7 +163,7 @@ $(document).ready(function() {
});
$('.file_upload_start').live('change',function(){
- var form=$(this).parent().parent();
+ var form=$(this).closest('form');
var uploadId=form.attr('data-upload-id');
var files=this.files;
var target=form.children('iframe');