thin_man 0.20.4 → 0.20.5
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/thin_man.js +6 -2
- data/lib/thin_man/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 16a9c0add2ae2f5b1a22f83eb8e396004e4c1ed6567949729e4d93dc14d684ad
|
4
|
+
data.tar.gz: 797344b4ff4cdcf12aa54fb7cb8a86f5f4f94175b8a04d222dcae2fc6b412ffb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 405683d427ff7d49c2e0e1b0213a74841b5ef03cb906c3d363d3bf7e5bd52d3d63149cad9e4c90067b07fbd62d053afa2573419c829d6cca42f57d323adacc62
|
7
|
+
data.tar.gz: 34889c082b58035fa454eac42293812e2a011fc165e990b0fa34bcf5aa4cf5750e31619e1567b7d444c845f9ab6082a2bf40eed682a4118a15c2947c96d637bf
|
@@ -208,7 +208,7 @@ var initThinMan = function() {
|
|
208
208
|
} else if (typeof data === 'object') {
|
209
209
|
if (typeof data.html != 'undefined') {
|
210
210
|
if (typeof data.hooch_modal != 'undefined') {
|
211
|
-
new hooch.Modal($(data.html))
|
211
|
+
new hooch.Modal($(data.html),data.dismissable)
|
212
212
|
} else {
|
213
213
|
this.insertHtml(data.html)
|
214
214
|
}
|
@@ -379,7 +379,11 @@ var initThinMan = function() {
|
|
379
379
|
debug_logger.log("thin_man.AjaxSubmission.ajaxError data is an object.", 1, 'thin-man')
|
380
380
|
if (typeof data.html != 'undefined') {
|
381
381
|
debug_logger.log("thin_man.AjaxSubmission.ajaxError data.html exists, inserting into target.", 1, 'thin-man')
|
382
|
-
|
382
|
+
if (typeof data.hooch_modal != 'undefined') {
|
383
|
+
new hooch.Modal($(data.html),data.dismissable)
|
384
|
+
} else {
|
385
|
+
this.error_target.html(data.html);
|
386
|
+
}
|
383
387
|
}
|
384
388
|
}
|
385
389
|
} else if (jqXHR.status == 500) {
|
data/lib/thin_man/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: thin_man
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.20.
|
4
|
+
version: 0.20.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Eric Draut, Adam Bialek
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-11-
|
11
|
+
date: 2018-11-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|