epi_js 0.0.11 → 0.0.12
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/epi_js/version.rb +1 -1
- data/vendor/assets/javascripts/visibility_map.coffee +2 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7866cb80057003f6a641024c450c6cfe81aaeca5
|
4
|
+
data.tar.gz: 06002cff9dae45771516f94312b6243d0290406d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b85311505ea755bddf519b625eee378c5a461505393a51e562d8a32bed039994f060280ce18b818d48e12704cd8d17353bab93f8285e9f8be9bc67d1b333371e
|
7
|
+
data.tar.gz: f046c56ce6461ffcb2b0045c611b1cf39948920ebf0117783a935a264f0496cc468081285ca3595adf51a087fae5782b17ab3ff98d2186604af717487975f294
|
data/lib/epi_js/version.rb
CHANGED
@@ -5,7 +5,8 @@
|
|
5
5
|
$(@).data 'fieldList', $.unique $.map $(@).data('visibility-map'), (val) -> $(val).get()
|
6
6
|
|
7
7
|
$toShow = $($(@).data('visibility-map')[$(@).val()])
|
8
|
-
$toShow.
|
8
|
+
$toShow.find('input, select, textarea').prop 'disabled', false
|
9
|
+
$toShow.show().trigger('visibility.show')
|
9
10
|
|
10
11
|
$($(@).data('fieldList')).not($toShow).hide().trigger('visibility.hide').find('input, select, textarea').prop 'disabled', true
|
11
12
|
|