summaryrefslogtreecommitdiff
path: root/StoneIsland/platforms/ios/www/js/lib/account/PaymentView.js
blob: d61ab5ab2e871aee255340105299b61a6d6ee76b (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
var PaymentView = FormView.extend({
  
  el: "#payment",

  events: {
  },

  initialize: function(){
    this.$form = this.$("form")
    this.$msg = this.$(".msg")
    this.address = new AddressView ({ parent: this })
    this.cc = new CreditCardView ({ parent: this })
    this.scroller = new IScroll('#payment', app.iscroll_options)
  },

  show: function(){
    if (! auth.logged_in()) { return app.router.go("intro") }
    app.footer.show("SAVE", "CANCEL")
    document.body.className = "payment"
  },
  
  save: function(){
  },

})