spree_backend 2.0.9 → 2.0.10

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
  SHA1:
3
- metadata.gz: 1dbaf2539854c0a6416fb280010fb9269c49f068
4
- data.tar.gz: 1d91fd337756ec008429c816b8121fa3f18b4cc4
3
+ metadata.gz: ce03c4d42683c7d58447f8a7c84a49e4bebc30d8
4
+ data.tar.gz: 949afcf9ba387119aaa88311a3ca889bec37ee5f
5
5
  SHA512:
6
- metadata.gz: 25ec90e57dfe0c3a4b5b683d6d86aa9f603533a796ab94744eb63fae8a9efc96b2b1e8f14567b8416f6b08d3577346b40c389a132729127513f07a7eb2671915
7
- data.tar.gz: 2a83524ae3c2a428853ecba5806083480c91b220886173fdaed38e648e51ff501ee779178b93921ce36a101f3b798e75e6aa4aeba6083f82ad1a636b5fa9586b
6
+ metadata.gz: 814cac3783d97f52e06c8aa19d8c97e7a676275414ff8211ea6915337ddfd631ffe263bc0e0b061b3b36242419941634a1141b65c0578cbf48686247f140e87d
7
+ data.tar.gz: c0c1ba7b357ed69a6071d005cb71a8dbd390fa3b611251e716b1538c13a4762ac5913af22b9c7b57f372ca7a4140163893bdbd0794c7e371f7b94290fa2231b9
@@ -172,7 +172,9 @@ $(document).ready(function(){
172
172
  },
173
173
  dataType: 'script',
174
174
  success: function(response) {
175
- el.parents("tr").fadeOut('hide');
175
+ el.parents("tr").fadeOut('hide', function() {
176
+ $(this).remove();
177
+ });
176
178
  },
177
179
  error: function(response, textStatus, errorThrown) {
178
180
  show_flash('error', response.responseText);
@@ -6,7 +6,10 @@ $(document).ready(function () {
6
6
  placeholder: Spree.translations.option_type_placeholder,
7
7
  multiple: true,
8
8
  initSelection: function (element, callback) {
9
- return $.getJSON(Spree.routes.option_type_search + '?ids=' + (element.val()), null, function (data) {
9
+ var url = Spree.url(Spree.routes.option_type_search, {
10
+ ids: element.val()
11
+ });
12
+ return $.getJSON(url, null, function (data) {
10
13
  return callback(data);
11
14
  });
12
15
  },
@@ -0,0 +1,7 @@
1
+ $ ->
2
+ if $('.new_payment').is('*')
3
+ $('.payment-method-settings fieldset').addClass('hidden').first().removeClass('hidden')
4
+ $('input[name="payment[payment_method_id]"]').click ()->
5
+ $('.payment-method-settings fieldset').addClass('hidden')
6
+ id = $(this).parents('li').data('id')
7
+ $("fieldset##{id}").removeClass('hidden')
@@ -10,7 +10,7 @@
10
10
  <label><%= Spree.t(:payment_method) %></label>
11
11
  <ul id='payment-methods'>
12
12
  <% @payment_methods.each do |method| %>
13
- <li>
13
+ <li data-id="<%= Spree.t(method.name, :scope => :payment_methods, :default => method.name).parameterize %>">
14
14
  <label data-hook="payment_method_field">
15
15
  <%= radio_button_tag 'payment[payment_method_id]', method.id, method == @payment_method %>
16
16
  <%= Spree.t(method.name, :scope => :payment_methods, :default => method.name) %>
@@ -33,6 +33,7 @@ module Spree
33
33
  jqPlot/excanvas.min.js
34
34
  admin/images/new.js
35
35
  jquery.jstree/themes/apple/*
36
+ fontawesome-webfont*
36
37
  ]
37
38
  end
38
39
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: spree_backend
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.9
4
+ version: 2.0.10
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sean Schofield
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-02-18 00:00:00.000000000 Z
11
+ date: 2014-03-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: spree_core
@@ -16,28 +16,28 @@ dependencies:
16
16
  requirements:
17
17
  - - '='
18
18
  - !ruby/object:Gem::Version
19
- version: 2.0.9
19
+ version: 2.0.10
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: 2.0.9
26
+ version: 2.0.10
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: spree_api
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
31
  - - '='
32
32
  - !ruby/object:Gem::Version
33
- version: 2.0.9
33
+ version: 2.0.10
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: 2.0.9
40
+ version: 2.0.10
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: jquery-rails
43
43
  requirement: !ruby/object:Gem::Requirement
@@ -141,6 +141,7 @@ files:
141
141
  - app/assets/javascripts/admin/variant_autocomplete.js.erb
142
142
  - app/assets/javascripts/admin/variant_management.js.coffee
143
143
  - app/assets/javascripts/admin/zone.js.coffee
144
+ - app/assets/javascripts/spree/backend/select_payments.js.coffee
144
145
  - app/assets/javascripts/store/backend.js
145
146
  - app/assets/stylesheets/admin/components/_actions.scss
146
147
  - app/assets/stylesheets/admin/components/_date-picker.scss
@@ -497,7 +498,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
497
498
  requirements:
498
499
  - none
499
500
  rubyforge_project: spree_backend
500
- rubygems_version: 2.2.0
501
+ rubygems_version: 2.2.2
501
502
  signing_key:
502
503
  specification_version: 4
503
504
  summary: backend e-commerce functionality for the Spree project.