summaryrefslogtreecommitdiff
path: root/StoneIsland/www/js/lib/blogs/BlogView.js
diff options
context:
space:
mode:
authorJules Laplace <julescarbon@gmail.com>2017-11-23 18:30:04 +0100
committerJules Laplace <julescarbon@gmail.com>2017-11-23 18:30:04 +0100
commit7a46e7f1fa592658415e0da4fe42033a31ce3951 (patch)
tree8eaaa2e50c4d7a1227aeba2e73152d36352920e5 /StoneIsland/www/js/lib/blogs/BlogView.js
parentf12f002f629a04b6596f1b8df11d41c693df185d (diff)
new account, date field, fixed
Diffstat (limited to 'StoneIsland/www/js/lib/blogs/BlogView.js')
-rwxr-xr-xStoneIsland/www/js/lib/blogs/BlogView.js10
1 files changed, 10 insertions, 0 deletions
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