Sha256: 700dd24b8d414087229cd49a6f8e090ceb455cc8b1a723d379631ba58d285114
Contents?: true
Size: 854 Bytes
Versions: 19
Compression:
Stored size: 854 Bytes
Contents
$ -> if ($ '#country_based').is(':checked') show_country() else show_state() ($ '#country_based').click -> show_country() ($ '#state_based').click -> show_state() show_country = -> ($ '#state_members :input').each -> ($ this).prop 'disabled', true ($ '#state_members').hide() ($ '#zone_members :input').each -> ($ this).prop 'disabled', true ($ '#zone_members').hide() ($ '#country_members :input').each -> ($ this).prop 'disabled', false ($ '#country_members').show() show_state = -> ($ '#country_members :input').each -> ($ this).prop 'disabled', true ($ '#country_members').hide() ($ '#zone_members :input').each -> ($ this).prop 'disabled', true ($ '#zone_members').hide() ($ '#state_members :input').each -> ($ this).prop 'disabled', false ($ '#state_members').show()
Version data entries
19 entries across 19 versions & 3 rubygems