diff options
author | Brice Maron <brice@bmaron.net> | 2011-11-06 13:34:22 +0100 |
---|---|---|
committer | Brice Maron <brice@bmaron.net> | 2011-11-06 13:34:22 +0100 |
commit | 8de7c36b4cbb3ef02ad4ca0023cbb06f9f2481d8 (patch) | |
tree | e185212f861ea47bb8e1f250f51f14293b86e2fb /files | |
parent | 75ff9abaca2f1a067be3fce10794835b857e5cba (diff) | |
download | nextcloud-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.js | 2 |
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'); |