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 +4 -4
- data/app/assets/javascripts/thin_man.js +6 -2
- 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: 72b5c248dee6812b1f50b5c11e37e7370728acb3
|
4
|
+
data.tar.gz: 8be59ece46ab30c0ebfa37e62fbaf0c48ea1e0f0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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)
|
data/lib/thin_man/version.rb
CHANGED