app/views/plugins/ecommerce/admin/tax_rates/form.html.erb in camaleon_ecommerce-0.0.4 vs app/views/plugins/ecommerce/admin/tax_rates/form.html.erb in camaleon_ecommerce-1.1
- old
+ new
@@ -28,9 +28,9 @@
</div>
<% end %>
</div>
<script>
- run.push(function(){
+ jQuery(function(){
jQuery( '#form-tax_rate' ).on( "change", '#options_rate', function() {setTimeout(function(){jQuery(this).val(Math.abs(jQuery(this).val()) || 0);}.bind(this), 60)});
})
</script>