diff options
Diffstat (limited to 'StoneIsland/www/js/lib/nav/NavView.js')
| -rwxr-xr-x | StoneIsland/www/js/lib/nav/NavView.js | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/StoneIsland/www/js/lib/nav/NavView.js b/StoneIsland/www/js/lib/nav/NavView.js index bd068ce0..6cdd0553 100755 --- a/StoneIsland/www/js/lib/nav/NavView.js +++ b/StoneIsland/www/js/lib/nav/NavView.js @@ -27,6 +27,7 @@ var NavView = View.extend({ "click .orders": "orders", "click .return_link_us": "return_link_us", "click .return_link_ca": "return_link_ca", + "click .destroy_account": "destroy_account", "click .faq_back": "back", "click .privacy": "privacy", @@ -134,7 +135,10 @@ var NavView = View.extend({ return_link_ca: function(){ window.open("https://www.stoneisland.com/ca/ProductExchange/SearchOrder/Index?utm_source=AppMobile&utm_medium=referral&utm_campaign=ReturnForm", '_system') }, - + destroy_account: function(){ + this.hide() + app.router.go("account/destroy_account") + }, faq: function(){ this.el.className = "faq" |
