Sha256: 7c759430b5abb2b90d62ed7427dc2cb4a595cae83e27275dbf6ba99fd1344974

Contents?: true

Size: 274 Bytes

Versions: 2

Compression:

Stored size: 274 Bytes

Contents

if ( $('#payment_<%= @payment.id %>').next()[0] && $('#payment_<%= @payment.id %>').next()[0].id === 'add_payment_order' ) {
  $('#add_payment_order').remove();
} else {
  $('#add_payment_order').remove();
  $('#payment_<%= @payment.id %>').after('<%= j(render 'new') %>')
}

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
rails_trade-0.0.2 app/views/trade/admin/payment_orders/new.js.erb
rails_trade-0.0.1 app/views/rails_trade_admin/payment_orders/new.js.erb