summaryrefslogtreecommitdiff
path: root/StoneIsland/www/js/lib/blogs/BlogView.js
diff options
context:
space:
mode:
authorJules Laplace <jules@okfoc.us>2016-01-20 02:11:37 +0100
committerJules Laplace <jules@okfoc.us>2016-01-20 02:11:37 +0100
commite1c123f323a9c4b3d4b488ee9c8d6046d368e73b (patch)
tree9cc6e685e2f91d338bccb8b7cd29f5c1469afb4b /StoneIsland/www/js/lib/blogs/BlogView.js
parent9c00e423f03a768668982061c65a6e95f77664d1 (diff)
bump search api version
Diffstat (limited to 'StoneIsland/www/js/lib/blogs/BlogView.js')
-rwxr-xr-xStoneIsland/www/js/lib/blogs/BlogView.js7
1 files changed, 2 insertions, 5 deletions
diff --git a/StoneIsland/www/js/lib/blogs/BlogView.js b/StoneIsland/www/js/lib/blogs/BlogView.js
index 02491b32..d68f2574 100755
--- a/StoneIsland/www/js/lib/blogs/BlogView.js
+++ b/StoneIsland/www/js/lib/blogs/BlogView.js
@@ -35,11 +35,7 @@ var BlogView = View.extend({
break
case "closed":
app.closed.storeIsClosed = true
- app.closed.storeOpenDate = null
- break
- case "openson":
- app.closed.storeIsClosed = true
- app.closed.storeOpenDate = moment(data.store[0].OpensOn)
+ app.closed.storeOpenDate = data.store[0].OpensOn
break
}
@@ -48,6 +44,7 @@ var BlogView = View.extend({
}
else {
app.gallery_id = data.store[0].CollectionId
+ app.department_id = data.store[0].DepartmentId
app.collection.setCollectionName( data.store[0].collection )
app.collection.fetch()
}