foreign_office 0.10.3 → 0.11.0
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 58f5ac5496e5888da322feb1eb84beb385de5a5a
|
4
|
+
data.tar.gz: 9bca157aa551f1b48bb25a65d10afa983b640a05
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1b0100206a46ef1066ea4458c96fdbd5e9b03336bcdae09633b176e251daba1221c55bab2aa328832ec5635617b81fc700ad318c4be8f9db84d1f3398fe491cc
|
7
|
+
data.tar.gz: 293e79b4aa1c1f970844746966d19516358df349d3dd5d0dd9c418f0b91a9673a29c65edf668528675a176d4ba475b8e2b23a1a26d564adc0a05feae51043e68
|
@@ -154,8 +154,10 @@ var ForeignOfficeListener = Class.extend({
|
|
154
154
|
|
155
155
|
default:
|
156
156
|
if(this.$listener.data('trigger-on-message')){
|
157
|
-
if(new_value){
|
158
|
-
|
157
|
+
if(new_value && (new_value != 'false')){
|
158
|
+
if((new_value != true) && (new_value != 'true')){
|
159
|
+
this.$listener.attr('href',new_value);
|
160
|
+
}
|
159
161
|
if(this.progress_indicator){
|
160
162
|
this.progress_indicator.stop();
|
161
163
|
}
|
@@ -20,7 +20,7 @@ module ForeignOffice
|
|
20
20
|
hash = {listener: true, channel: resource.class.name + resource.id.to_s, key: key}
|
21
21
|
hash[:reveal_hide] = true if reveal_hide
|
22
22
|
hash[:endpoint] = endpoint if endpoint
|
23
|
-
hash[:
|
23
|
+
hash[:trigger_on_message] = true if trigger
|
24
24
|
hash
|
25
25
|
end
|
26
26
|
end
|
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.
|
4
|
+
version: 0.11.0
|
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: 2016-
|
12
|
+
date: 2016-02-03 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rails
|