caboose-cms 0.9.24 → 0.9.25

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: 239f83b3bb1cc285a84046bf35ceb6bc8fefc781
4
- data.tar.gz: f298f72d54aff977624e70e0bd86831732ca3877
3
+ metadata.gz: 1c76cc4d051c4c5728a3de82a4bd26538dc2d543
4
+ data.tar.gz: 5730fc257cb7dc80e2992165264cb9609666a8a6
5
5
  SHA512:
6
- metadata.gz: dd27c86158c9aa067c4d7633740f91f71a8c782c1cc83ddf02dc271b01f207860a67185e0f548deb8d9b7de835b6721eb92e0cf99cbb4d10a965723957a2a9db
7
- data.tar.gz: 95dc6d8d51f02e062c6b9f487f110057d7ef71bcfaa7c5f6ed6f3864687a5de9f429f3e092b33026519d9f0158ad372542cd74bd9339f0a75858d74801046f0e
6
+ metadata.gz: f66f9175c5e7d4519e966884621f20c5a4a5a919acd1b0a4f61dd16d4ab2e6c516bb44c4f106da56b543b1c369286bb2d2a26efb3fcf2e41aa91f5c23a8161b2
7
+ data.tar.gz: 1f960d2ed8ce16d6233c67dad36f79f452b037ed02c4b4f83b9c31282b5972440ec4ce73ec574ff0e37793b47b05f08e66b65b02dcf123d08337fd77e75477d4
@@ -35,7 +35,9 @@ ShippingAddressController.prototype = {
35
35
  var name = sa ? sa.first_name + ' ' + sa.last_name : '';
36
36
  if (name.length == 0) name = '[Empty name]';
37
37
  var address = sa && sa.address1.length > 0 ? sa.address1 : '[Empty address]'
38
- var city_state_zip = sa ? (sa.city.length > 0 ? sa.city : '[Empty city]') + ', ' + (sa.state.length > 0 ? sa.state : '[Empty state]') + ' ' + (sa.zip.length > 0 ? sa.zip : '[Empty zip]') : '';
38
+ var city_state_zip = sa ? (sa.city && sa.city.length > 0 ? sa.city : '[Empty city]') + ', ' +
39
+ (sa.state && sa.state.length > 0 ? sa.state : '[Empty state]') + ' ' +
40
+ (sa.zip && sa.zip.length > 0 ? sa.zip : '[Empty zip]') : '';
39
41
 
40
42
  div.append($('<span/>').addClass('name' ).html(name )).append($('<br/>'));
41
43
  if (sa && sa.company && sa.company.length > 0) div.append($('<span/>').addClass('company' ).html(sa.company )).append($('<br/>'));
@@ -1,3 +1,3 @@
1
1
  module Caboose
2
- VERSION = '0.9.24'
2
+ VERSION = '0.9.25'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: caboose-cms
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.24
4
+ version: 0.9.25
5
5
  platform: ruby
6
6
  authors:
7
7
  - William Barry