simple_form_bs5_file_input 0.1.1 → 0.1.2

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: 2fcf36f702c77c1551143f7db895119ff9e97556f97a931e55900e3432f402d0
4
- data.tar.gz: d0bf284ad4ff6fddd906bd6818f38a8917d46739a2b097a2479cdaede1f0c719
3
+ metadata.gz: 439120eb0e6d62259b113e3311f1caed4f298cbd87e6e6ca33f6c9bab2ef7d81
4
+ data.tar.gz: 5b12e73dc2d4e2148ca0bfb70a434af18cbe8fecf45316374cc4ad50aaba912e
5
5
  SHA512:
6
- metadata.gz: 4efe42b607e0e4a17fabe348ab84e3d95389a155889d56cec6001b76fa322411409e1999d097c4c5a941d487d1006d4905bb13fb7bb4717f65d935882af87031
7
- data.tar.gz: 78afdfc7bb77b27c7a6ccec1b7a6756f897e7256e8019b60eaed69ea037e798f41b68a3451ae8d42b7cbabc470f0edbecefeb5d31c2123b6d664ec2ddfb73e85
6
+ metadata.gz: 0a082f4b129046db5f0f3a1aa25d69f0363943105055caa6b1dbc624816d528517f861ccc1c9ff0f9ad7a2432633be7b7eab7b3ebf1aee25ece783c8403dc081
7
+ data.tar.gz: 4a671fa1b1db17903a9ce3f4b79ad198027cfeca95831f53694a04e440fdf31318cada8f79270851c2ebe37756cab563c4ab878b9bc2bff3478dc18fc36186c1
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- simple_form_bs5_file_input (0.1.1)
4
+ simple_form_bs5_file_input (0.1.2)
5
5
  rails
6
6
  simple_form
7
7
 
@@ -49,6 +49,7 @@ window.inputSingleDeletableFile = {
49
49
  };
50
50
  } else {
51
51
  // Previewable images
52
+ $('.js-sdfi-deletable-file__infos-field', $scope).val('');
52
53
  $scope.addClass('sdfi-deletable-file--with-file');
53
54
  $('.js-sdfi-deletable-file__label', $scope).html(file.name);
54
55
  $('.js-sdfi-deletable-file__delete-field', $scope).val('');
@@ -60,6 +61,7 @@ window.inputSingleDeletableFile = {
60
61
  }
61
62
  } else {
62
63
  // Non-resizable and non-previewable files
64
+ $('.js-sdfi-deletable-file__infos-field', $scope).val('');
63
65
  $scope.addClass('sdfi-deletable-file--with-file');
64
66
  $('.js-sdfi-deletable-file__label', $scope).html(file.name);
65
67
  $('.js-sdfi-deletable-file__delete-field', $scope).val('');
@@ -1,3 +1,3 @@
1
1
  module SimpleFormBs5FileInput
2
- VERSION = "0.1.1".freeze
2
+ VERSION = "0.1.2".freeze
3
3
  end
metadata CHANGED
@@ -1,11 +1,11 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: simple_form_bs5_file_input
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Pierre-andré Boissinot
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
  date: 2023-10-12 00:00:00.000000000 Z
@@ -94,7 +94,7 @@ homepage: https://github.com/noesya/simple_form_bs5_file_input
94
94
  licenses:
95
95
  - MIT
96
96
  metadata: {}
97
- post_install_message:
97
+ post_install_message:
98
98
  rdoc_options: []
99
99
  require_paths:
100
100
  - lib
@@ -109,8 +109,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
109
109
  - !ruby/object:Gem::Version
110
110
  version: '0'
111
111
  requirements: []
112
- rubygems_version: 3.1.4
113
- signing_key:
112
+ rubygems_version: 3.4.13
113
+ signing_key:
114
114
  specification_version: 4
115
115
  summary: Simple Form BS5 File Input
116
116
  test_files: []