blob: f5bf1661eccb5b880e5f6ab39eae3af8a86ce7e1 (
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
|
var ShippingView = FormView.extend({
el: "#shipping",
events: {
},
initialize: function(){
this.$form = this.$("form")
this.$msg = this.$(".msg")
this.address = new AddressView ({ parent: this })
this.scroller = new IScroll('#shipping', app.iscroll_options)
},
show: function(){
if (! auth.logged_in()) { return app.router.go("intro") }
app.footer.show("SAVE", "CANCEL")
document.body.className = "shipping"
},
save: function(){
},
})
|