thin_man 0.18.4 → 0.18.5

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: f333c833bba42571235faed9938d05c932887d1a
4
- data.tar.gz: b2b2e71eac71b195a43c534c3dd779b2c2ec1cf6
3
+ metadata.gz: 72b5c248dee6812b1f50b5c11e37e7370728acb3
4
+ data.tar.gz: 8be59ece46ab30c0ebfa37e62fbaf0c48ea1e0f0
5
5
  SHA512:
6
- metadata.gz: 00f60d7fdab1a91c4345cba2873eb0ef51f735223f1f5b1efc00302126b195c19fa26af078751ca596fd3b0eef418119b594b062f506b18b87f9b3c6d8ebaf59
7
- data.tar.gz: b427d5c0c9e775ffd22400cabaa1c654e0ec0021f40ab7d01a63a24d7a2cfa997795f6875baa5098a01e959baff2753ef1adca0dfe29bb4b1a965e4a26b831cc
6
+ metadata.gz: e2c7a10ced9a003c804d8082cb5c8eb38e1fe0e162609d3ccc10175c15154dc31b203aa8a22b3a2b4c5c0b7fc9547051176cb8fd05066e78b29b1cab6cce68e1
7
+ data.tar.gz: d3bafcdc3b511341ca319cdefd4f9e8a58b1766ed20d179c85941d672df3f96b57616f31162041b549f64cdd1e23f99fb90869a7dfdc16e30b9c776dc1724f17
@@ -300,15 +300,19 @@ var initThinMan = function(){
300
300
  this.progress_indicator = new thin_man.AjaxProgress(this.progress_target,this.target,this.progress_color);
301
301
  }
302
302
  },
303
- ajaxError: function(jqXHR) {
304
- debug_logger.log('thin_man.AjaxSubmission.ajaxError')
303
+ ajaxError: function( jqXHR ) {
304
+ debug_logger.log('thin_man.AjaxSubmission.ajaxError jqXHR:')
305
+ debug_logger.log(jqXHR)
305
306
  if(jqXHR.status == 409){
306
307
  try{
307
308
  var data = JSON.parse(jqXHR.responseText);
308
309
  debug_logger.log("thin_man.AjaxSubmission.ajaxError responseText is valid JSON, parsing to an object:")
309
310
  }catch(error){
310
311
  debug_logger.log("thin_man.AjaxSubmission.ajaxError responseText is not JSON, assuming a string:")
312
+ debug_logger.log(jqXHR.responseText)
311
313
  var data = jqXHR.responseText;
314
+ debug_logger.log("thin_man.AjaxSubmission.ajaxError data to insert:")
315
+ debug_logger.log(data)
312
316
  }
313
317
  debug_logger.log("thin_man.AjaxSubmission.ajaxError error target:")
314
318
  debug_logger.log(this.error_target)
@@ -1,3 +1,3 @@
1
1
  module ThinMan
2
- VERSION = "0.18.4"
2
+ VERSION = "0.18.5"
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.4
4
+ version: 0.18.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Eric Draut, Adam Bialek