foreign_office 0.7.1 → 0.7.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/assets/javascripts/foreign_office.js +5 -1
- data/lib/foreign_office/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 513b5a3825a665466dc9959be0ea56e5cdd315f7
|
4
|
+
data.tar.gz: 8c0d22a6225642fe2c38ede9c9e9da476076f0b2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f0f7217c8d535f68282584d5378d29c55955461a3eba433355ab5edd4ead4cf4f8249f2c7ac7827d715ee6d715a254a8bf7b734073a293a330dbee0d68402ab6
|
7
|
+
data.tar.gz: cde5d4d1e0eed4c3362484c6d9d54c238026eaa1bcad5d1474d6a73680519a2c7fece3a503dccaa723eaa47633f550fc3cd71494ed7bc5e8935113deb13485b5
|
@@ -118,7 +118,11 @@ var ForeignOfficeListener = Class.extend({
|
|
118
118
|
var new_value = m.object[this.object_key];
|
119
119
|
switch(this.$listener.get(0).nodeName.toLowerCase()){
|
120
120
|
case 'input': case 'select':
|
121
|
-
this.$listener.
|
121
|
+
if(this.$listener.attr('type') == 'checkbox'){
|
122
|
+
this.$listener.prop('checked', new_value);
|
123
|
+
} else {
|
124
|
+
this.$listener.val(new_value);
|
125
|
+
}
|
122
126
|
break;
|
123
127
|
|
124
128
|
case 'img':
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: foreign_office
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.7.
|
4
|
+
version: 0.7.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Eric Draut
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2015-04-
|
12
|
+
date: 2015-04-29 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rails
|