epi_js 1.0.7 → 1.0.8
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 +4 -7
- 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: a2f5668861a6986e8e108034f4044e358ae88f19
|
4
|
+
data.tar.gz: b4ab1506c7d2aa46974f1d9bd8ed541828f17a69
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 999eb0a6b343c062ef30cca1025f4d04c1f45d27d7f79170f0a43121089a1ea3b3c2536db81186e6658381be694f3d33fb04c3d8c81de188ac2110154ac43562
|
7
|
+
data.tar.gz: 9e3cd8f29f9d57563a98cf4b865e9a9a36a2e316da153574fe82b6f8e9458ad77428b73434e024f93f1b38b88bebf12687102d72b6ec6cbdf54d52fb4e20e936
|
data/lib/epi_js/version.rb
CHANGED
@@ -20,13 +20,16 @@
|
|
20
20
|
|
21
21
|
toShow.show()
|
22
22
|
toShow.trigger('visibility.show')
|
23
|
+
$(':input:not([data-visibility-map-no-auto-enable])', toShow).prop('disabled', false)
|
23
24
|
|
24
25
|
toHide.hide()
|
25
26
|
toHide.trigger('visibility.hide')
|
26
|
-
|
27
|
+
$(':input', toHide).prop('disabled', true)
|
28
|
+
|
27
29
|
hideAll: ->
|
28
30
|
@allFields.hide()
|
29
31
|
@allFields.trigger('visibility.hide')
|
32
|
+
$(':input', @allFields).prop('disabled', true)
|
30
33
|
|
31
34
|
getValue: ->
|
32
35
|
$.makeArray(@element.val())
|
@@ -48,12 +51,6 @@
|
|
48
51
|
$ ->
|
49
52
|
$('input[data-visibility-map]:checked, select[data-visibility-map]').setVisibility()
|
50
53
|
|
51
|
-
$(document.body).on 'visibility.show', ->
|
52
|
-
$(':input:not([data-visibility-map-no-auto-enable])', $(this)).prop('disabled', false)
|
53
|
-
|
54
|
-
$(document.body).on 'visibility.hide', ->
|
55
|
-
$(':input', $(this)).prop('disabled', true)
|
56
|
-
|
57
54
|
$(document.body).on 'change', '[data-visibility-map]', (e) ->
|
58
55
|
$(this).setVisibility()
|
59
56
|
) jQuery
|