thin_man 0.15.2 → 0.15.3

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: f4555e531b38eefff98fc01ebdbd869b54f8011a
4
- data.tar.gz: 24fbd4bb20119da7cd42ff0eaec8aec4f3205901
3
+ metadata.gz: cef489a20d9a9d508e85ccaabe475c55b9cae070
4
+ data.tar.gz: ae157c8cc2bc4efc53414e6ff42e950ca323a6f7
5
5
  SHA512:
6
- metadata.gz: fae8fcbaf27f789d768da717ad28bf32e0baf9c182aee947b192afbac4da23cc23a991fbf5ce366975467c14b408d8bfd06149a2439b87db0592b9d868eaa20d
7
- data.tar.gz: 0b1c4b9ac4579d82efcfcf4eae2f0bc8a8bf49d19cc6fc1366ea61a40e0f4d5f82a162499787f892865ffe131fd72e9fe855acefb55fadf00b1084c81514cc7a
6
+ metadata.gz: b985f3bfb0cd31155f7142d3fe9055c272bba73e5fb87374127959b2ac50063adff2379d67089f4fa320ee5a1bc0f5d9e9eb06cde3780c47f8e72b58a3dd9d6e
7
+ data.tar.gz: 826cc56285532012ca5d7e952c4dde620ec107e1618c3113d7919ac6919f4c2a29749f9a0cc611b5d970e7efc4ef12322790a434efb7cf12a6b947db4b71034c
@@ -25,6 +25,7 @@ var initThinMan = function(){
25
25
  this.custom_progress = typeof(jq_obj.data('custom-progress')) != 'undefined';
26
26
  if(this.progress_target.length == 0){
27
27
  this.progress_target = this.trigger
28
+ this.trigger_is_progress_target = true
28
29
  }
29
30
  this.insert_method = this.getInsertMethod();
30
31
  var ajax_submission = this;
@@ -153,7 +154,7 @@ var initThinMan = function(){
153
154
  this.showTrigger();
154
155
  if(this.progress_indicator){
155
156
  this.progress_indicator.stop();
156
- } else {
157
+ } else if(!this.trigger_is_progress_target){
157
158
  this.progress_target.remove();
158
159
  }
159
160
  try{
@@ -1,3 +1,3 @@
1
1
  module ThinMan
2
- VERSION = "0.15.2"
2
+ VERSION = "0.15.3"
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.15.2
4
+ version: 0.15.3
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: 2016-10-24 00:00:00.000000000 Z
11
+ date: 2016-11-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails