Skip to content

Commit

Permalink
Merge pull request #5 from ismailbaskin/master
Browse files Browse the repository at this point in the history
Allow form element widget without row
  • Loading branch information
jbouzekri committed Aug 10, 2015
2 parents efc1a17 + 0d9635d commit 6eb4b1f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Resources/public/js/jbfileupload.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
return this.each(function() {

// Find parent div to allow select of all important children element
var $parentTag = $('#' + $(this).data('row-id')),
var $parentTag = $(this).closest('.file-upload'),
$resultError = $parentTag.find('.jb_result_error'),
$cropTool = $parentTag.find('.jb_crop_tool'),
$cropUpload = $parentTag.find('.jb_crop_upload'),
Expand Down Expand Up @@ -219,4 +219,4 @@
$(this).fileupload(settings);
});
};
}( jQuery ));
}( jQuery ));

0 comments on commit 6eb4b1f

Please sign in to comment.