app/assets/javascripts/plugins/ecommerce/fix_form.js in camaleon_ecommerce-0.0.4 vs app/assets/javascripts/plugins/ecommerce/fix_form.js in camaleon_ecommerce-1.1

- old
+ new

@@ -1,10 +1,7 @@ -/** - * Created by Froilan on 02/09/2015. - */ jQuery(function($){ $( '#form-post' ).on( "change", '.editor-custom-fields input[name="field_options[ecommerce_weight][values][]"], .editor-custom-fields .input-value.number', function() { setTimeout(function(){ $(this).val(Math.abs($(this).val()) || 0); }.bind(this), 60) }); -}); \ No newline at end of file +});