spree_delivery_options 2.1.11 → 2.1.12

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: ef69bf63aeb1d23e1d531f2da3b22182ab58385f
4
- data.tar.gz: 1af6ca42e5e13278d330fe7aadedc25b94b466ef
3
+ metadata.gz: 5df850ca40504f193cdd2839d2b78c229adb2688
4
+ data.tar.gz: 305fd2ea5adba8fa0918433f8c5a3490f5754130
5
5
  SHA512:
6
- metadata.gz: f74882be44280ef5b7b28fb02fbf4ff6c86507e93f6e5c074a8833b6682ba589f33efc13a038cb7460c88e10d8516813b0c04ec52751daff4a0c4d5f3a4a6778
7
- data.tar.gz: fd6f475d496428047998db662d443f004c3a0a1fe93a8c355fc12a732572c48d8aa95185fed9495df394c389ed9c616b320b73d320a5871c0afa8c7602843781
6
+ metadata.gz: a992d0411a22fb9368919f2db7f6e5e601c79c10948edc9b2a1901cbe905e4fadc9b84ac07bf5eea048e3e89a04ca6b0ae9d32c1850f97bdc172c9f0703dfe66
7
+ data.tar.gz: 209ad8c813c5495075e6f1b26e9737a9fa2f2aa753ffe84d61507c9737823430f912cbd1e86eeb41427a915e6d2b519d580795d03dc4ed754cdc742002544d7b
@@ -3,11 +3,13 @@ function SpreeDeliveryOptions() {
3
3
  var that = this;
4
4
 
5
5
  this.initializeDeliveryTimeSelect = function() {
6
- this.update_delivery_time_options();
6
+ if ($('#order_delivery_date').length > 0) {
7
+ this.update_delivery_time_options();
7
8
 
8
- $('#order_delivery_date').change(function(event){
9
- that.update_delivery_time_options();
10
- });
9
+ $('#order_delivery_date').change(function(event){
10
+ that.update_delivery_time_options();
11
+ });
12
+ }
11
13
  };
12
14
 
13
15
  this.update_delivery_time_options = function() {
@@ -2,7 +2,7 @@
2
2
  Gem::Specification.new do |s|
3
3
  s.platform = Gem::Platform::RUBY
4
4
  s.name = 'spree_delivery_options'
5
- s.version = '2.1.11'
5
+ s.version = '2.1.12'
6
6
  s.summary = 'Adds delivery date and time during checkout'
7
7
  s.description = ''
8
8
  s.required_ruby_version = '>= 2.0.0'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: spree_delivery_options
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.11
4
+ version: 2.1.12
5
5
  platform: ruby
6
6
  authors:
7
7
  - Francisco Trindade
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-02-14 00:00:00.000000000 Z
11
+ date: 2014-02-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: spree_core