summaryrefslogtreecommitdiff
path: root/StoneIsland/www/js/lib/blogs/BlogView.js
diff options
context:
space:
mode:
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()
}