think_feel_do_engine 3.22.0 → 3.22.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: 4f7415b8925aa5d127cbc80d056d04a6d44ef499
4
- data.tar.gz: d892773131b44f665850c68441d6a07cd44bc3d8
3
+ metadata.gz: 9226f60443fffcf77453879ba71a2e9a86d2a63c
4
+ data.tar.gz: 51638e452bdde31e2231c839b0da49bc1f4797da
5
5
  SHA512:
6
- metadata.gz: 1d5332d7126f454e962345cc75f8d9dc7a64605e1222b60065b75fccba4061889a7f48fbddfc5a91e9b3a32f260d00c74e39c27987bc8111173322053c2f5ea4
7
- data.tar.gz: b6194ac2ddb5d08e59bc2b090b40bbe09ab40ab1d5f2d34f59f852761d8a1bb6804e0982ae5797d6a67dcf3a93fb35a36fda1c56d1931bdbccfb140cc8e83cc5
6
+ metadata.gz: 9b27db1d3da8fbd403d1c574c3d1c39dd61e96244b7a96c9feafd7791021f9ad8ccffe58f443f0058d3cf7361910725cfa67155ab1ec2383bc21521c0466617f
7
+ data.tar.gz: 332db4b947789f9b5eb5e3a69cce66725a1893d66eecf6ca48dd3b95cdc273c072ed8b73313c190d2f8bcf5610ef69e10988ce936884a441cd3d7f1c7409caf2
@@ -139,8 +139,11 @@
139
139
  $(".start_time_0").val(self.concatStringFromPickers(0));
140
140
  if ($('.has-error').length === 0) {
141
141
  $forms.submit();
142
+ } else {
143
+ // re-enable the submit button if there are errors
144
+ $("#submit_activities").prop('disabled', false);
142
145
  }
143
- $("#submit_activities").prop('disabled', false);
146
+
144
147
  return false;
145
148
  } else {
146
149
  return _.each($forms, function (form, index, list) {
@@ -162,8 +165,11 @@
162
165
  },
163
166
  dataType: "script"
164
167
  });
168
+ } else {
169
+ // re-enable the submit button if there are errors
170
+ $("#submit_activities").prop('disabled', false);
165
171
  }
166
- $("#submit_activities").prop('disabled', false);
172
+
167
173
  return false;
168
174
  });
169
175
  }
@@ -26,7 +26,7 @@ module EventCapture
26
26
  :ua,
27
27
  :buttonHtml,
28
28
  :parentHtml,
29
- :headers
29
+ headers: []
30
30
  )
31
31
  end
32
32
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
  # nodoc
3
3
  module ThinkFeelDoEngine
4
- VERSION = "3.22.0"
4
+ VERSION = "3.22.1"
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: think_feel_do_engine
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.22.0
4
+ version: 3.22.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Eric Carty-Fickes
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-07-12 00:00:00.000000000 Z
11
+ date: 2016-07-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -1013,4 +1013,3 @@ signing_key:
1013
1013
  specification_version: 4
1014
1014
  summary: Summary of ThinkFeelDoEngine.
1015
1015
  test_files: []
1016
- has_rdoc: