ajax_nested_form 0.0.2 → 0.0.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -18,7 +18,7 @@ Gem::Specification.new do |gem|
18
18
  gem.add_dependency "railties", ">= 3.0"
19
19
  gem.add_dependency "sass", ">= 3.2"
20
20
  gem.add_dependency "coffee-rails"
21
- gem.add_dependency 'jquery-rails', ">= 2.1.2"
21
+ gem.add_dependency 'jquery-rails', ">= 2.0"
22
22
  gem.add_development_dependency "bundler", ">= 1.0"
23
23
  gem.add_development_dependency "rails", ">= 3.1"
24
24
  end
@@ -1,3 +1,3 @@
1
1
  module AjaxNestedForm
2
- VERSION = "0.0.2"
2
+ VERSION = "0.0.3"
3
3
  end
@@ -3,7 +3,7 @@ window.AjaxNestedForm = {}
3
3
  class @AjaxNestedForm
4
4
 
5
5
  @removeFields: (link, container) ->
6
- $(link).prev("input[type=hidden]").value = "1"
6
+ $(link).prev("input[type=hidden]").val("true")
7
7
  $(link).closest(container).hide()
8
8
  return
9
9
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ajax_nested_form
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-09-24 00:00:00.000000000 Z
12
+ date: 2012-10-01 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: railties
@@ -66,7 +66,7 @@ dependencies:
66
66
  requirements:
67
67
  - - ! '>='
68
68
  - !ruby/object:Gem::Version
69
- version: 2.1.2
69
+ version: '2.0'
70
70
  type: :runtime
71
71
  prerelease: false
72
72
  version_requirements: !ruby/object:Gem::Requirement
@@ -74,7 +74,7 @@ dependencies:
74
74
  requirements:
75
75
  - - ! '>='
76
76
  - !ruby/object:Gem::Version
77
- version: 2.1.2
77
+ version: '2.0'
78
78
  - !ruby/object:Gem::Dependency
79
79
  name: bundler
80
80
  requirement: !ruby/object:Gem::Requirement
@@ -140,7 +140,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
140
140
  version: '0'
141
141
  segments:
142
142
  - 0
143
- hash: -679952099
143
+ hash: 788503891
144
144
  required_rubygems_version: !ruby/object:Gem::Requirement
145
145
  none: false
146
146
  requirements:
@@ -149,7 +149,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
149
149
  version: '0'
150
150
  segments:
151
151
  - 0
152
- hash: -679952099
152
+ hash: 788503891
153
153
  requirements: []
154
154
  rubyforge_project:
155
155
  rubygems_version: 1.8.24