solidus_backend 3.2.3 → 3.2.4

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: ff3b0be31692e952e9756dd6d02e2156cd328f6d8f95eeda5ef8f6d8e12e22da
4
- data.tar.gz: bcfecf645946ce5324b3b8ce001a7fd7a4d38da8db3e18738e3e4cee183830f2
3
+ metadata.gz: 5b86594eac44c015e9c7d6c206ce3c15086baa96db0338ccb845e026b9d61c0d
4
+ data.tar.gz: 388007e9b8b1dc8fe7ac3c04af96d60bb06d44fbddc0cd84919aaae65a7b5497
5
5
  SHA512:
6
- metadata.gz: 76b6ac3adcdf770abf436e0a530a94e61a0ba666eaf6f8272d7a08bb1437eddeeaefc472b5e6b099943b5fc791005c6cb67706573d01c14025040108fa4f00ba
7
- data.tar.gz: 414a0910cb90706ae48f73173ec6eb7546b748b0ca2f2a5cf6dee77ee0974ece835bee35faa9d4acb46800caf31a6d9e5b380f9a785e8f7fb3e422968cd38cc4
6
+ metadata.gz: a1005b2bed74bc5c3fe9c20bf964aa5c73a96fe45f751752751a1f17f8f18fef03c695cc911d4e6e72f7381aad45399f5a63f188316931bea22bd8db3079e3bf
7
+ data.tar.gz: 5c98470d7f898b841413275bb8296f4c4ed50263c995696b3baf5b8be0ac98e4dbaeb82022b18833facfffd082d5c002fd86bf7c12d81e925c41dbd3d9b01677
@@ -56,7 +56,7 @@ Spree.Models.ImageUpload = Backbone.Model.extend({
56
56
  processData: false, // tell jQuery not to process the data
57
57
  contentType: false, // tell jQuery not to set contentType
58
58
  xhr: function () {
59
- var xhr = $.ajaxSetup.xhr(); // Using default ajax builder but inputting upload settings
59
+ var xhr = $.ajaxSettings.xhr();
60
60
  if (xhr.upload) {
61
61
  xhr.upload.onprogress = function (event) {
62
62
  if (event.lengthComputable) {
@@ -33,7 +33,7 @@
33
33
  <%= f.field_container :price do %>
34
34
  <%= f.label :price, class: Spree::Config.require_master_price ? 'required' : '' %>
35
35
 
36
- <% if f.object.new_record? || f.object.has_default_price? %>
36
+ <% if (f.object.new_record? || f.object.has_default_price?) && !f.object.discarded? %>
37
37
  <%= render "spree/admin/shared/number_with_currency",
38
38
  f: f,
39
39
  amount_attr: :price,
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: solidus_backend
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.2.3
4
+ version: 3.2.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Solidus Team
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-11-03 00:00:00.000000000 Z
11
+ date: 2022-11-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: solidus_api
@@ -16,28 +16,28 @@ dependencies:
16
16
  requirements:
17
17
  - - '='
18
18
  - !ruby/object:Gem::Version
19
- version: 3.2.3
19
+ version: 3.2.4
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - '='
25
25
  - !ruby/object:Gem::Version
26
- version: 3.2.3
26
+ version: 3.2.4
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: solidus_core
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
31
  - - '='
32
32
  - !ruby/object:Gem::Version
33
- version: 3.2.3
33
+ version: 3.2.4
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - '='
39
39
  - !ruby/object:Gem::Version
40
- version: 3.2.3
40
+ version: 3.2.4
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: font-awesome-rails
43
43
  requirement: !ruby/object:Gem::Requirement
@@ -911,7 +911,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
911
911
  - !ruby/object:Gem::Version
912
912
  version: 1.8.23
913
913
  requirements: []
914
- rubygems_version: 3.3.19
914
+ rubygems_version: 3.3.21
915
915
  signing_key:
916
916
  specification_version: 4
917
917
  summary: Admin interface for the Solidus e-commerce framework.