bard-file_field 0.1.0 → 0.1.1

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
  SHA256:
3
- metadata.gz: 8aa0716f97f7d7a16e5901a0b4e3e09eb0c6f412dd579a5e5ceadc6f05ceb112
4
- data.tar.gz: 0a03b00f05bc8933f3ad39e915fd3bb0aba55693e5797f3433bc40eaae828614
3
+ metadata.gz: 4ce50e0f2f11807067609913dc6c8bdcfe725ce67d58fd67af9bb8e077bee24e
4
+ data.tar.gz: 49a7e63df066a3a546fc9b143d5b4d3671376964f994e94086fd9da34d30aed6
5
5
  SHA512:
6
- metadata.gz: d65b4fabbd776b9571f1ee4e66e4089d457f4e505e59b4975b7c48dc4b091ea29e56a49dd46f3d664a792cf456d07edc1a2fe07edd0b4e13cb91d7b1eba0845a
7
- data.tar.gz: 00afc54d4069ae20a3e9549b3043b0a9b9b3495b7a068d42906d98f604073bfc8afd60c80c79f701bb8eca3ff4e2bb7223ec59414ec9219888854660db02a010
6
+ metadata.gz: eec62d5b5fe70096156d9cfd6cbc82828ec190977584ac242c5182f2577e9fac7233eccfd801ab13419d3d56b02dbf26132d93abacf9ce89eb4dad0928554906
7
+ data.tar.gz: 58c4aa3aa31a2b59e6ae3ca63dce9970d9d42b04284e859c48f8993a033bd55bb1492e02704519249c504554a3dbbfc48c4bb08899d3166b7561532de2a85a60
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- bard-file_field (0.1.0)
4
+ bard-file_field (0.1.1)
5
5
  activestorage (~> 7.1.0)
6
6
 
7
7
  GEM
@@ -4670,7 +4670,7 @@ class FormController {
4670
4670
  </dialog>`);
4671
4671
  this.dialog = this.element.querySelector("#form-controller-dialog");
4672
4672
  this.progressContainerTarget = this.dialog.querySelector("#progress-container");
4673
- if (this.element.dataset.remote !== "true") {
4673
+ if (this.element.dataset.remote !== "true" && !window.Turbo?.session?.enabled) {
4674
4674
  this.element.addEventListener("submit", event => this.submit(event));
4675
4675
  }
4676
4676
  window.addEventListener("beforeunload", event => this.beforeUnload(event));
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Bard
4
4
  module FileField
5
- VERSION = "0.1.0"
5
+ VERSION = "0.1.1"
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bard-file_field
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Micah Geisel