thin_man 0.18.0 → 0.18.1

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: 889c8c7807a4ed374dd0bb78ab34768f9f641f66
4
- data.tar.gz: cb5199ac9ddd6a2471ca0f91e039d0123270d4e3
3
+ metadata.gz: c0ba37c9054569618fc66b2af8290796e312015e
4
+ data.tar.gz: 84d38c2c93474bdf29249d1e4ed7ded3c3d9e24a
5
5
  SHA512:
6
- metadata.gz: 2b8c563c47e60e8f4b6167d34c2cc6863671343cfd7cbaca583bed57f7fa56a2283d7c4951904fd9ca9373a6e889fc8f7317710fc2d526ee83ae77e615e6e45b
7
- data.tar.gz: ac17499c839a3096abf2d69d4fcea1889b4b290ffc245c1e9298b0e18d11e744427f354b818d083b66d21dab5c497002e963682c86838ab00fc7f42847cd4c9f
6
+ metadata.gz: d01747b616ae10569a6f468c5960d0ced5663633e739d59b1b88c4d498cd324e12b13d6122a73476b3b593e157697d017f46d2eebf20fd460b6c43c0427d14ce
7
+ data.tar.gz: 9aa153a90b6d3495571a4d309cee6664dbbe3c4d813d7369ca895d6994a21ecd93febc68f857cb23081991a184d72f1343027d038e7a6551f5563afa31aa4dcb
@@ -153,6 +153,9 @@ var initThinMan = function(){
153
153
  return true;
154
154
  },
155
155
  insertHtml: function(data) {
156
+ debug_logger.log("thin_man.AjaxSubmission.insertHtml")
157
+ debug_logger.log(this.target)
158
+ debug_logger.log(this.insert_method)
156
159
  if(this.target){
157
160
  this.target[this.insert_method](data);
158
161
  if(this.refocus()){
@@ -185,6 +188,8 @@ var initThinMan = function(){
185
188
  return true;
186
189
  },
187
190
  ajaxSuccess: function(data,textStatus,jqXHR){
191
+ debug_logger.log("thin_man.AjaxSubmission.ajaxSuccess")
192
+ debug_logger.log(data)
188
193
  if(typeof data === 'string'){
189
194
  this.insertHtml(data);
190
195
  } else if(typeof data === 'object') {
@@ -253,6 +258,8 @@ var initThinMan = function(){
253
258
  })
254
259
  },
255
260
  ajaxComplete: function(jqXHR) {
261
+ debug_logger.log('thin_man.AjaxSubmission.ajaxComplete')
262
+ debug_logger.log(jqXHR)
256
263
  this.showTrigger();
257
264
  this.notifyWatchers();
258
265
  if(this.progress_indicator){
@@ -512,6 +519,7 @@ var initThinMan = function(){
512
519
  }
513
520
  },
514
521
  ajaxSuccess: function(data,textStatus,jqXHR){
522
+ debug_logger.log('thin_man.AjaxFormSubmission.ajaxSuccess')
515
523
  this._super(data,textStatus,jqXHR)
516
524
  if(this.resetOnSuccess()){
517
525
  this.jq_obj[0].reset();
@@ -1,3 +1,3 @@
1
1
  module ThinMan
2
- VERSION = "0.18.0"
2
+ VERSION = "0.18.1"
3
3
  end
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.18.0
4
+ version: 0.18.1
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: 2017-02-07 00:00:00.000000000 Z
11
+ date: 2017-02-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails