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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 74bda73c6f2a9620801b72412d2a5204994b5ae9
4
- data.tar.gz: 84ecc093b312b207523978dc747aa020b66cc9e0
3
+ metadata.gz: 7866cb80057003f6a641024c450c6cfe81aaeca5
4
+ data.tar.gz: 06002cff9dae45771516f94312b6243d0290406d
5
5
  SHA512:
6
- metadata.gz: dd7cd60ea082afc5377dbf35bb3b758998322a278ad08f372e4840d53fb43916a693e87b3ae8c5679dc87dc16e15bce012f0a6539da541d7e13b25784972d8b8
7
- data.tar.gz: 917bf36ffd190f47e6810ae5113f3d6b95f1a5b0839c382af8956f807ba0503d3a85235e0e5fd9b042e110d1213335172eead8f83b216f816fb4283a6597fc84
6
+ metadata.gz: b85311505ea755bddf519b625eee378c5a461505393a51e562d8a32bed039994f060280ce18b818d48e12704cd8d17353bab93f8285e9f8be9bc67d1b333371e
7
+ data.tar.gz: f046c56ce6461ffcb2b0045c611b1cf39948920ebf0117783a935a264f0496cc468081285ca3595adf51a087fae5782b17ab3ff98d2186604af717487975f294
@@ -1,3 +1,3 @@
1
1
  module EpiJs
2
- VERSION = "0.0.11"
2
+ VERSION = "0.0.12"
3
3
  end
@@ -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.show().trigger('visibility.show').find('input, select, textarea').prop 'disabled', false
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
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: epi_js
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.11
4
+ version: 0.0.12
5
5
  platform: ruby
6
6
  authors:
7
7
  - Shuo Chen