spree_frontend 4.3.2 → 4.3.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
  SHA256:
3
- metadata.gz: b78705780cd1446c55f87a0694c8d887c3612571a1db1d869f9468a852dd219b
4
- data.tar.gz: e99f4c4516fa69b041e222c41fbe22b7e19087af11adfef44c8017e9a90c7234
3
+ metadata.gz: a0743b5e3d7dbdddf978f8fc20513dfb9350f83e6a2087ff456d24cdf99056a5
4
+ data.tar.gz: ef74aef2817716ad0490912e3b2222168532001baee244f5a9ed301802ead251
5
5
  SHA512:
6
- metadata.gz: b83d560ee3832e02164f14749186fdddec5a897aaf8a488f115789f18d151e2cfaf48f93a04f2bbaa50747094cfe88d759662322ce251ef4af5fc981cb3745f1
7
- data.tar.gz: 21d1e380bf606a5caaaa6c9274d90fd8495f099a7bc4085d30c3be5d9dcf6e595d07b4662c2c9370840c58fab70baf007e14c98e54666dac54c3d83c9fd74b2c
6
+ metadata.gz: 3552137f78793fdf07d8213aadbd66bfa403a4755fef40828c335311d4d0496a77a63c3c9a22bdecbbc3f890bfe0244bcd7fbd93156389b22afa26e96900bca5
7
+ data.tar.gz: 84b4317bb725aaa46fc1a9d32101ef62111b600d39bdb396bd9688794922a998605cfef898b4f2a283f95922d2ccf957ddcdbbd51f5d06134c0813346a91e4ac
@@ -59,6 +59,7 @@ Spree.ready(function($) {
59
59
 
60
60
  Spree.fillStates = function(data, region) {
61
61
  var selected
62
+ var emptyOpt
62
63
  var statesRequired = data.states_required
63
64
  var states = data.states
64
65
  var statePara = $('#' + region + 'state')
@@ -70,7 +71,10 @@ Spree.ready(function($) {
70
71
 
71
72
  if (states.length > 0) {
72
73
  selected = parseInt(stateSelect.val())
74
+ emptyOpt = stateSelect.find('option')[0]
75
+
73
76
  stateSelect.html('')
77
+ stateSelect.append(emptyOpt)
74
78
  $.each(states, function(idx, state) {
75
79
  var opt = $(document.createElement('option')).attr('value', state.id).html(state.name)
76
80
  if (selected.toString(10) === state.id.toString(10)) {
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: spree_frontend
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.3.2
4
+ version: 4.3.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sean Schofield
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2022-06-01 00:00:00.000000000 Z
12
+ date: 2024-04-21 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: spree_api
@@ -17,28 +17,28 @@ dependencies:
17
17
  requirements:
18
18
  - - ">="
19
19
  - !ruby/object:Gem::Version
20
- version: 4.3.2
20
+ version: 4.3.3
21
21
  type: :runtime
22
22
  prerelease: false
23
23
  version_requirements: !ruby/object:Gem::Requirement
24
24
  requirements:
25
25
  - - ">="
26
26
  - !ruby/object:Gem::Version
27
- version: 4.3.2
27
+ version: 4.3.3
28
28
  - !ruby/object:Gem::Dependency
29
29
  name: spree_core
30
30
  requirement: !ruby/object:Gem::Requirement
31
31
  requirements:
32
32
  - - ">="
33
33
  - !ruby/object:Gem::Version
34
- version: 4.3.2
34
+ version: 4.3.3
35
35
  type: :runtime
36
36
  prerelease: false
37
37
  version_requirements: !ruby/object:Gem::Requirement
38
38
  requirements:
39
39
  - - ">="
40
40
  - !ruby/object:Gem::Version
41
- version: 4.3.2
41
+ version: 4.3.3
42
42
  - !ruby/object:Gem::Dependency
43
43
  name: babel-transpiler
44
44
  requirement: !ruby/object:Gem::Requirement
@@ -839,9 +839,9 @@ licenses:
839
839
  - BSD-3-Clause
840
840
  metadata:
841
841
  bug_tracker_uri: https://github.com/spree/spree/issues
842
- changelog_uri: https://github.com/spree/spree/releases/tag/v4.3.2
842
+ changelog_uri: https://github.com/spree/spree/releases/tag/v4.3.3
843
843
  documentation_uri: https://dev-docs.spreecommerce.org/
844
- source_code_uri: https://github.com/spree/spree/tree/v4.3.2
844
+ source_code_uri: https://github.com/spree/spree/tree/v4.3.3
845
845
  post_install_message:
846
846
  rdoc_options: []
847
847
  require_paths:
@@ -858,7 +858,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
858
858
  version: '0'
859
859
  requirements:
860
860
  - none
861
- rubygems_version: 3.0.9
861
+ rubygems_version: 3.5.3
862
862
  signing_key:
863
863
  specification_version: 4
864
864
  summary: The default Storefront built with Rails and Turbolinks for Spree eCommerce