app/assets/javascripts/spud/admin/banners/banners.js in spud_banners-0.9.0.1 vs app/assets/javascripts/spud/admin/banners/banners.js in spud_banners-0.9.0.2
- old
+ new
@@ -77,10 +77,10 @@
var form = $(this);
var fd = new FormData();
fd.append('_method', form.find('[name=_method]').val());
fd.append('authenticity_token', form.find('[name=authenticity_token]').val());
fd.append('spud_banner[link_to]', form.find('#spud_banner_link_to').val());
- fd.append('spud_banner[link_target]', form.find('#spud_banner_target').val());
+ fd.append('spud_banner[link_target]', form.find('#spud_banner_link_target').val());
fd.append('spud_banner[title]', form.find('#spud_banner_title').val());
fd.append('spud_banner[alt]', form.find('#spud_banner_alt').val());
var file = form.find('#spud_banner_banner')[0].files[0];
if(file){
\ No newline at end of file