diff options
| author | Jules Laplace <julescarbon@gmail.com> | 2022-07-12 16:37:52 +0200 |
|---|---|---|
| committer | Jules Laplace <julescarbon@gmail.com> | 2022-07-12 16:37:52 +0200 |
| commit | c6fa2d5f07da89d987ce1c57f636cd34457b2d11 (patch) | |
| tree | 3dfff368caf2ffcb15741becb2cd7ba1dfa5e578 /StoneIsland/www/js/lib/nav/NavView.js | |
| parent | ba87d556784a9c0444ec058b590d567f115c8fd2 (diff) | |
add DestroyAccountView
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" |
