From 7a46e7f1fa592658415e0da4fe42033a31ce3951 Mon Sep 17 00:00:00 2001 From: Jules Laplace Date: Thu, 23 Nov 2017 18:30:04 +0100 Subject: new account, date field, fixed --- StoneIsland/www/js/lib/blogs/BlogView.js | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'StoneIsland/www/js/lib/blogs/BlogView.js') diff --git a/StoneIsland/www/js/lib/blogs/BlogView.js b/StoneIsland/www/js/lib/blogs/BlogView.js index fd7b5212..6eea977f 100755 --- a/StoneIsland/www/js/lib/blogs/BlogView.js +++ b/StoneIsland/www/js/lib/blogs/BlogView.js @@ -2,6 +2,10 @@ var BlogView = View.extend({ data: null, loaded: false, + + us_states: $("#us_states").html(), + ca_states: $("#ca_states").html(), + initialize: function(){ this.loader = new Loader () }, @@ -99,6 +103,12 @@ var BlogView = View.extend({ app.collection.$el.addClass("gray") app.product.gallery.$el.addClass("gray") } + + var states = this.us_states + if (! app.store.NotAvailableInCanada) { + states += this.ca_states + } + $('[name=Province]').html(states) }, }) \ No newline at end of file -- cgit v1.2.3-70-g09d2