effective_addresses 1.0.3 → 1.0.4
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f24d54bfe0f4b5378e2269f87f06c4219d51b22d
|
4
|
+
data.tar.gz: 2746569844009c246c5753eeef4edb3e121b734b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 70c70b2c538fc635d69574d1bcd9142532489ddc78fc381576c5ce0eaa51fba05d25a6d53aebfe2d4fd3069ba8a83afb7b0ec787244a9fb6bc94fb4c8a23bd55
|
7
|
+
data.tar.gz: 0f4982562921e1ac8acee631152ddd79865510bdf13bf4d1aa1ecec2f3120cf8ab6e602bf3d103e3fd80eb0a0348b70560b885597e3a4aa42a72b22a4295f8d5
|
@@ -6,9 +6,9 @@ $(document).on 'change', "select[data-effective-address-country]", (event) ->
|
|
6
6
|
state_select = $(this).closest('form').find("select[data-effective-address-state='#{uuid}']").first()
|
7
7
|
|
8
8
|
if country_code.length == 0
|
9
|
-
state_select.prop('disabled', true).parent('.form-group').addClass('disabled')
|
9
|
+
state_select.prop('disabled', true).addClass('disabled').parent('.form-group').addClass('disabled')
|
10
10
|
state_select.html('<option value="">Please choose a country first</option>')
|
11
11
|
else
|
12
|
-
state_select.prop('disabled', false).parent('.form-group').removeClass('disabled')
|
12
|
+
state_select.prop('disabled', false).removeClass('disabled').parent('.form-group').removeClass('disabled')
|
13
13
|
state_select.find('option').first().text('loading...')
|
14
14
|
state_select.load(url)
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: effective_addresses
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Code and Effect
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2015-02-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|