anaconda 1.0.9 → 1.0.10

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: fcdfc41731cca82960efe0729eb959f68fa68382
4
- data.tar.gz: a5bc6f137eaa79f7461e963b932d938afab6fd3d
3
+ metadata.gz: 664e741ce46d130747d11cdc28b284723e859f3c
4
+ data.tar.gz: 09938abc476aed536493940f7899e0b27bdbb96d
5
5
  SHA512:
6
- metadata.gz: 30fd7ba00bb6f9cb8abc0efdae7032442b7e2cb5612701ff247206623b20d3b3cc541d8fb057938a3021342b32d4416aef60301316358f69f81c1c0b0e20a2fc
7
- data.tar.gz: 618e1686f763a220d1a35382f4aacc64a62b644ef617aee61656102d51fd8682c3d614627e62d1ddb3f26e7876c938da4bf3cb7b223cdb2e8e8ada0159665959
6
+ metadata.gz: 52dbc995b807336bd8970ac7f8810f0456326b07c9ca1a13b77fdc80bafbd18cda387f5637f935508ab466a069431d7d221ad5ac0460f53e24fc0685ef37b3b3
7
+ data.tar.gz: a2cae0fd83cee2c5970973df13a3e9aeae1d9f90254f24a6fbeb3ac402884eb7e2e210cac9835e00c036269dd97f9acb9ac054de2b6693f74de527a84df2aff8
@@ -219,6 +219,9 @@ If you return false to the following events it will prevent the default behavior
219
219
  From version 1.0.0 on we have used [Semantic Versioning](http://semver.org/).
220
220
 
221
221
  ## Changelog
222
+ * 1.0.10
223
+ * Add 610ms delay after final file is uploaded before submitting the form. Some browsers stop all CSS transitions when the form is submitted and this was preventing the progress bar from reaching 100%. This allows it to reach 100% before submitting the form, so users don't get the impression that the file failed to fully upload.
224
+
222
225
  * 1.0.9
223
226
  * Fix _another_ bug breaking the `asset_download_url` method.
224
227
 
@@ -72,7 +72,9 @@ class @AnacondaUploadManager
72
72
  all_uploads_completed: ->
73
73
  triggerEvent "anaconda:manager:all-uploads-completed", { form: @form }
74
74
  if !@upload_automatically || @submit_automatically
75
- @form.submit()
75
+ setTimeout =>
76
+ @form.submit()
77
+ , 610
76
78
  else
77
79
  @enable_submit_button()
78
80
 
@@ -1,5 +1,5 @@
1
1
  module Anaconda
2
2
  module Rails
3
- VERSION = "1.0.9"
3
+ VERSION = "1.0.10"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: anaconda
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.9
4
+ version: 1.0.10
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ben McFadden