thin_man 0.18.2 → 0.18.3

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 04aaa46bca85bd1b755588f72c3ff3d891686ec2
4
- data.tar.gz: 9c174043ddecae53b800185430d83b6d1953c346
3
+ metadata.gz: 99d8795fff7f702879bff70a1f9cd0bff984cb60
4
+ data.tar.gz: 7401afc0fdebad1b0144f3679884d28338d67890
5
5
  SHA512:
6
- metadata.gz: 87c0f7dd303192badee533dbb466000638b7b28093552145a80172960218832fb1a45f6a122bd143a1c50338de47906af301663ec46e4d4003908091be3e0e41
7
- data.tar.gz: 8681b8e2e3c4921235cefce2563011e006ea5a9d569705e7f6bd98d8bad23a85bb286aa1e2ca9661a843ece8daeb75a73226b9714247a5f6eef89aa5b6bc43ff
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();
@@ -1,3 +1,3 @@
1
1
  module ThinMan
2
- VERSION = "0.18.2"
2
+ VERSION = "0.18.3"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: thin_man
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.18.2
4
+ version: 0.18.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Eric Draut, Adam Bialek