solidus_frontend 1.1.0.pre1 → 1.1.0.pre2

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of solidus_frontend might be problematic. Click here for more details.

checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: e8425246449a7b6c4ca1a64aa13e73b3cc6f0d6e
4
- data.tar.gz: 62fc7b34bd121f93f6b5491c4d77cf6cad5bda3a
3
+ metadata.gz: 4e582d425646e593cf6d3a01b50a967afa22a3f9
4
+ data.tar.gz: 512e6b97d52218b6410019af3a206317705943e6
5
5
  SHA512:
6
- metadata.gz: 85364b9d63d43a693c6778c51ae838e15fbf993fe8b6b51d327cb4c904f4903b2fb5c782a4abe2ac2fb2868192b4a3546d26a8ba4681064f575c009c3f926fda
7
- data.tar.gz: dcd2fd80580a621cd861a6f918fe6bbe78113c2f7a42bee036db87d69c5a669ec29164be695f9da1b3f11838a6ea50573b64a9b257be2278d6b209f2758355e0
6
+ metadata.gz: 9a78b4afdf474686b87cd03c6c8760868b3f98c287e5345f69a141b247f24514321549a0fd24103a9dbb6e4103e188b92fa0bf6601b60669914d23d64e65e612
7
+ data.tar.gz: 6a3c514b45faaca92aff76f3332fde35d6720b50eb25739dfb863fc0554f9721755d5154b94ce812243db63bb8c9d0635327068d2995b68dafd7269cd308b1f5
@@ -8,8 +8,8 @@ Spree.ready ($) ->
8
8
  ($ 'form#update-cart').submit ->
9
9
  ($ 'form#update-cart #update-button').attr('disabled', true)
10
10
 
11
- Spree.fetch_cart = ->
11
+ Spree.fetch_cart = (cartLinkUrl) ->
12
12
  Spree.ajax
13
- url: Spree.pathFor("cart_link"),
13
+ url: cartLinkUrl || Spree.pathFor("cart_link"),
14
14
  success: (data) ->
15
15
  $('#link-to-cart').html data
@@ -59,11 +59,11 @@
59
59
  <% end %>
60
60
 
61
61
  <p class="field" id=<%="#{address_id}zipcode" %>>
62
- <%= form.label :zipcode, Spree.t(:zip) %><% if address.require_zipcode? %><span class="required">*</span><br /><% end %>
62
+ <%= form.label :zipcode, Spree.t(:zip) %><% if address.require_zipcode? %><span class="required">*</span><% end %><br />
63
63
  <%= form.text_field :zipcode, :class => "#{'required' if address.require_zipcode?}" %>
64
64
  </p>
65
65
  <p class="field" id=<%="#{address_id}phone" %>>
66
- <%= form.label :phone, Spree.t(:phone) %><% if address.require_phone? %><span class="required">*</span><br /><% end %>
66
+ <%= form.label :phone, Spree.t(:phone) %><% if address.require_phone? %><span class="required">*</span><% end %><br />
67
67
  <%= form.phone_field :phone, :class => "#{'required' if address.require_phone?}" %>
68
68
  </p>
69
69
  <% if Spree::Config[:alternative_shipping_phone] %>
@@ -7,6 +7,6 @@
7
7
  </noscript>
8
8
  &nbsp;
9
9
  </li>
10
- <script>Spree.fetch_cart()</script>
10
+ <script>Spree.fetch_cart('<%= j cart_link_url %>')</script>
11
11
  </ul>
12
12
  </nav>
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: solidus_frontend
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.0.pre1
4
+ version: 1.1.0.pre2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Solidus Team
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-09-30 00:00:00.000000000 Z
11
+ date: 2015-11-03 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: 1.1.0.pre1
19
+ version: 1.1.0.pre2
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: 1.1.0.pre1
26
+ version: 1.1.0.pre2
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: 1.1.0.pre1
33
+ version: 1.1.0.pre2
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: 1.1.0.pre1
40
+ version: 1.1.0.pre2
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: canonical-rails
43
43
  requirement: !ruby/object:Gem::Requirement