Sha256: 5bf23e6db3cecb5e40fb4d683044c7ecc347825d0211a877cb49c04634ca28e1
Contents?: true
Size: 525 Bytes
Versions: 1
Compression:
Stored size: 525 Bytes
Contents
window.NimbleshopSimply = {} if typeof(NimbleshopSimply) == 'undefined' NimbleshopSimply.toggleBillingAddress = class ToggleBillingAddress constructor: -> @handleToggleCheckBox() $("#order_shipping_address_attributes_use_for_billing").on 'click', => this.handleToggleCheckBox() handleToggleCheckBox: -> if $("#order_shipping_address_attributes_use_for_billing").is(':checked') $('#billing_well').hide() else $('#billing_well').show() $ -> new NimbleshopSimply.toggleBillingAddress
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
nimbleshop_simply-0.0.7 | app/assets/javascripts/nimbleshop_simply/shipping_address_same_as_billing_address.js.coffee |