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