summaryrefslogtreecommitdiff
path: root/StoneIsland/www/js/lib/account/DestroyAccountView.js
blob: 4c92e45393c7c50ff6a1489c5806828531895b5d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
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')
  },
  
})