hobo_jquery 2.0.0.pre5 → 2.0.0.pre6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
2.0.0.
|
1
|
+
2.0.0.pre6
|
@@ -16,7 +16,7 @@ if(!RegExp.escape) {
|
|
16
16
|
});
|
17
17
|
|
18
18
|
// bind event handlers
|
19
|
-
this.find(".remove-item:not([disabled])").not(this.find(".input-many .
|
19
|
+
this.find(".remove-item:not([disabled])").not(this.find(".input-many .remove-item")).click(methods.removeOne);
|
20
20
|
this.find(".add-item:not([disabled])").not(this.find(".input-many .add-item")).click(methods.addOne);
|
21
21
|
},
|
22
22
|
|
@@ -35,7 +35,7 @@ if(!RegExp.escape) {
|
|
35
35
|
this.disabled = false;
|
36
36
|
$(this).removeClass("input_many_template_input");
|
37
37
|
});
|
38
|
-
clone.find(".remove-item:not([disabled])").not(clone.find(".input-many .
|
38
|
+
clone.find(".remove-item:not([disabled])").not(clone.find(".input-many .remove-item")).click(methods.removeOne);
|
39
39
|
clone.find(".add-item:not([disabled])").not(clone.find(".input-many .add-item")).click(methods.addOne);
|
40
40
|
|
41
41
|
// update id & name
|
@@ -264,7 +264,7 @@
|
|
264
264
|
result.data["render["+i+"][part_context]"] = page_data.hobo_parts[ids[i]];
|
265
265
|
result.data["render["+i+"][id]"] = ids[i];
|
266
266
|
// default for render[i][function] is hjq.ajax.update
|
267
|
-
if(o
|
267
|
+
if(o['function']) result.data["render["+i+"][function]"] = o['function'];
|
268
268
|
}
|
269
269
|
|
270
270
|
if(ids.length==0) {
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: hobo_jquery
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0.0.
|
4
|
+
version: 2.0.0.pre6
|
5
5
|
prerelease: 6
|
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-11-
|
12
|
+
date: 2012-11-15 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: jquery-rails
|
@@ -34,7 +34,7 @@ dependencies:
|
|
34
34
|
requirements:
|
35
35
|
- - '='
|
36
36
|
- !ruby/object:Gem::Version
|
37
|
-
version: 2.0.0.
|
37
|
+
version: 2.0.0.pre6
|
38
38
|
type: :runtime
|
39
39
|
prerelease: false
|
40
40
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -42,7 +42,7 @@ dependencies:
|
|
42
42
|
requirements:
|
43
43
|
- - '='
|
44
44
|
- !ruby/object:Gem::Version
|
45
|
-
version: 2.0.0.
|
45
|
+
version: 2.0.0.pre6
|
46
46
|
description: JQuery support for Hobo
|
47
47
|
email: bryan@larsen.st
|
48
48
|
executables: []
|