phantom_nested_forms 0.2.0 → 0.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/vendor/assets/javascripts/nested_forms.js.coffee +2 -2
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5f1a0b6f44c0a282ca607669aa2b5dfdbd40911b
|
4
|
+
data.tar.gz: 6bcd4c3d2ed9701610e3de3df9beddbfbdfb8c0c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2772a346b09caa674384b2802283afa7ba40e33be1676f0474c48f8179667bff1a0dd6c7db03f746a54714fcfcebf8d609934a80b86368f63a13d58340e767e2
|
7
|
+
data.tar.gz: f7875431d0624cba52e44d13b0c0a70a730eb1d372de0ebc9a3681bf1895a247feb64f8d62448ae1c21076ce1b99495524967a93b223762dc02692101e144970
|
@@ -12,11 +12,11 @@ formBuilder =
|
|
12
12
|
element.parent().find('span.help-inline').remove()
|
13
13
|
element.data "valid", true
|
14
14
|
|
15
|
-
window.
|
15
|
+
window.ClientSideValidations.formBuilders["PhantomNestedForms::FormBuilders::ValidateNestedFormBuilder"] = formBuilder
|
16
16
|
|
17
17
|
$ ->
|
18
18
|
|
19
|
-
window.
|
19
|
+
window.ClientSideValidations.callbacks.element.fail = (element, message, callback) ->
|
20
20
|
callback()
|
21
21
|
if element.data("valid") isnt false
|
22
22
|
element.parent().parent().addClass "error"
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: phantom_nested_forms
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.3.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Vassil Kalkov
|
@@ -18,14 +18,14 @@ dependencies:
|
|
18
18
|
requirements:
|
19
19
|
- - "~>"
|
20
20
|
- !ruby/object:Gem::Version
|
21
|
-
version: 0.
|
21
|
+
version: 0.3.0
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
24
|
version_requirements: !ruby/object:Gem::Requirement
|
25
25
|
requirements:
|
26
26
|
- - "~>"
|
27
27
|
- !ruby/object:Gem::Version
|
28
|
-
version: 0.
|
28
|
+
version: 0.3.0
|
29
29
|
- !ruby/object:Gem::Dependency
|
30
30
|
name: nested_form
|
31
31
|
requirement: !ruby/object:Gem::Requirement
|