summaryrefslogtreecommitdiff
path: root/StoneIsland/www/js/lib/_router.js
diff options
context:
space:
mode:
Diffstat (limited to 'StoneIsland/www/js/lib/_router.js')
-rw-r--r--StoneIsland/www/js/lib/_router.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/StoneIsland/www/js/lib/_router.js b/StoneIsland/www/js/lib/_router.js
index 80ea9c39..712d3db2 100644
--- a/StoneIsland/www/js/lib/_router.js
+++ b/StoneIsland/www/js/lib/_router.js
@@ -11,6 +11,7 @@ var SiteRouter = Router.extend({
'/archive': 'archive',
'/store': 'collection',
+ '/store/closed': 'closed',
'/store/:code': 'product',
'/account/login': 'login',
@@ -58,6 +59,9 @@ var SiteRouter = Router.extend({
default_view: function(name){
var fn = function(){
console.log(name)
+ if (app.view && app.view.hide) {
+ app.view.hide()
+ }
if (name.match(/\./)) {
var n = name.split(".")
console.log(name, n)