app/views/trade/admin/payment_orders/create.js.erb in rails_trade-0.0.2 vs app/views/trade/admin/payment_orders/create.js.erb in rails_trade-0.0.3
- old
+ new
@@ -1,2 +1,2 @@
-$('#unchecked_<%= @payment_order.order_id %>').replaceWith('<%= j(render partial: 'index', locals: { payment_order: @payment_order }) %>')
-$('#checked_amount_<%= @payment.id %>').html(<%= @payment.checked_amount %>)
\ No newline at end of file
+document.getElementById('unchecked_<%= @payment_order.order_id %>').outerHTML = '<%= j(render partial: 'index', locals: { payment_order: @payment_order }) %>'
+document.getElementById('checked_amount_<%= @payment.id %>').innerHTML = '<%= @payment.checked_amount %>'