summaryrefslogtreecommitdiff
path: root/StoneIsland/platforms/ios/www/js/lib/blogs/BlogView.js
diff options
context:
space:
mode:
authorjulie <julie@surfer-172-29-0-85-hotspot.internet-for-guests.com>2017-01-23 17:59:26 -0500
committerjulie <julie@surfer-172-29-0-85-hotspot.internet-for-guests.com>2017-01-23 17:59:26 -0500
commit2c41f6b41de6ee1a2ae83e62b8a15ced677a419e (patch)
tree9fe4fb9e1d89ad6c3444eac5b5d6696b820775a6 /StoneIsland/platforms/ios/www/js/lib/blogs/BlogView.js
parent267c9ed075b5355f463b8f2ad17e10880f14dfc8 (diff)
build
Diffstat (limited to 'StoneIsland/platforms/ios/www/js/lib/blogs/BlogView.js')
-rwxr-xr-xStoneIsland/platforms/ios/www/js/lib/blogs/BlogView.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/StoneIsland/platforms/ios/www/js/lib/blogs/BlogView.js b/StoneIsland/platforms/ios/www/js/lib/blogs/BlogView.js
index b7c80520..5ee7f641 100755
--- a/StoneIsland/platforms/ios/www/js/lib/blogs/BlogView.js
+++ b/StoneIsland/platforms/ios/www/js/lib/blogs/BlogView.js
@@ -31,7 +31,7 @@ var BlogView = View.extend({
this.loaded = true
this.data = data = typeof data == "string" ? JSON.parse(data) : data
- switch (data.store[0].StoreStatus) {
+ switch (data.store[0].DepartmentStoreStatus) {
case "open":
app.closed.storeIsClosed = false
break
@@ -46,9 +46,9 @@ var BlogView = View.extend({
app.closed.populate(data.store[0].ClosedStoreImages)
}
else {
- app.gallery_id = data.store[0].CollectionId
- app.department_id = data.store[0].DepartmentId
- app.collection.setCollectionName( data.store[0].collection )
+ app.departments = data.store[0].Departments
+ app.department_id = data.store[0].Departments[0].uri
+ app.collection.setCollectionName( data.store[0].Departments[0].text )
app.collection.loaded = false
app.collection.fetch()
}