Fix broken upload since merge of new button branch
This commit is contained in:
parent
75ff9abaca
commit
8de7c36b4c
1 changed files with 1 additions and 1 deletions
|
@ -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');
|
||||
|
|
Loading…
Reference in a new issue