thin_man 0.18.0 → 0.18.1
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 +8 -0
- data/lib/thin_man/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c0ba37c9054569618fc66b2af8290796e312015e
|
4
|
+
data.tar.gz: 84d38c2c93474bdf29249d1e4ed7ded3c3d9e24a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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();
|
data/lib/thin_man/version.rb
CHANGED
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.
|
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-
|
11
|
+
date: 2017-02-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|