summaryrefslogtreecommitdiff
path: root/StoneIsland/www/js/lib/account/DestroyAccountView.js
diff options
context:
space:
mode:
Diffstat (limited to 'StoneIsland/www/js/lib/account/DestroyAccountView.js')
-rw-r--r--StoneIsland/www/js/lib/account/DestroyAccountView.js27
1 files changed, 27 insertions, 0 deletions
diff --git a/StoneIsland/www/js/lib/account/DestroyAccountView.js b/StoneIsland/www/js/lib/account/DestroyAccountView.js
new file mode 100644
index 00000000..4c92e453
--- /dev/null
+++ b/StoneIsland/www/js/lib/account/DestroyAccountView.js
@@ -0,0 +1,27 @@
+var DestroyAccountView = View.extend({
+
+ el: "#destroy_account_view",
+
+ events: {
+ "click .go_destroy_account": "go_destroy",
+ },
+
+ initialize: function(){
+ },
+
+ show: function(){
+ document.body.className = "destroy_account_view"
+ app.footer.hide()
+ },
+
+ hide: function(){
+ },
+
+ go_destroy: function(e){
+ e.preventDefault()
+ e.stopPropagation()
+ app.router.go("account/logout")
+ window.open("https://www.stoneisland.com/us/customercare/contact-us", '_system')
+ },
+
+})