thin_man 0.18.2 → 0.18.3
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 +3 -0
- data/lib/thin_man/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 99d8795fff7f702879bff70a1f9cd0bff984cb60
|
4
|
+
data.tar.gz: 7401afc0fdebad1b0144f3679884d28338d67890
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e69897b0b83a68e826de878c9043c3eb90201f72dd21a131ff02fbd654259dcc6dcb6d8ede0b0ea6bf384d33b751e1d23321e261045b637a51960d08a212c9a5
|
7
|
+
data.tar.gz: 103a7354728f53a549127293f97d6d2a11ca2c7fdaa0a02ceea6af64b4471a5fdcf7409b6931bebae8aef3c9b31cfe8a5822e7fa26b46109014696f4f3d6243e
|
@@ -313,9 +313,12 @@ var initThinMan = function(){
|
|
313
313
|
debug_logger.log("thin_man.AjaxSubmission.ajaxError data:")
|
314
314
|
debug_logger.log(data)
|
315
315
|
if(typeof data === 'string'){
|
316
|
+
debug_logger.log("thin_man.AjaxSubmission.ajaxError data is a string, inserting into target.")
|
316
317
|
this.error_target.html(data);
|
317
318
|
} else if(typeof data === 'object') {
|
319
|
+
debug_logger.log("thin_man.AjaxSubmission.ajaxError data is an object.")
|
318
320
|
if(typeof data.html != 'undefined'){
|
321
|
+
debug_logger.log("thin_man.AjaxSubmission.ajaxError data.html exists, inserting into target.")
|
319
322
|
this.error_target.html(data.html);
|
320
323
|
} else {
|
321
324
|
this.error_target.empty();
|
data/lib/thin_man/version.rb
CHANGED