From 10efb0f7b426426057fed757fe3c851a249358dd Mon Sep 17 00:00:00 2001 From: Rene Ae Date: Fri, 4 Dec 2015 20:32:44 -0600 Subject: android build --- .../assets/www/js/lib/account/SettingsView.js | 24 ++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100755 StoneIsland/platforms/android/assets/www/js/lib/account/SettingsView.js (limited to 'StoneIsland/platforms/android/assets/www/js/lib/account/SettingsView.js') diff --git a/StoneIsland/platforms/android/assets/www/js/lib/account/SettingsView.js b/StoneIsland/platforms/android/assets/www/js/lib/account/SettingsView.js new file mode 100755 index 00000000..7f96bb88 --- /dev/null +++ b/StoneIsland/platforms/android/assets/www/js/lib/account/SettingsView.js @@ -0,0 +1,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(){ + }, + +}) \ No newline at end of file -- cgit v1.2.3-70-g09d2