diff options
| author | Jules Laplace <jules@okfoc.us> | 2017-03-23 17:09:48 +0100 |
|---|---|---|
| committer | Jules Laplace <jules@okfoc.us> | 2017-03-23 17:09:48 +0100 |
| commit | 3696f587f46a6d596bc8c0e9891566edbaf0ca63 (patch) | |
| tree | 41f2db8966f2ff10cd467d1e66ce2c0ba5de52af /StoneIsland/platforms/android/assets/www/js/lib/auth | |
| parent | c23ff34eeef700532e22f6d3f573e54dfd48b5a9 (diff) | |
android
Diffstat (limited to 'StoneIsland/platforms/android/assets/www/js/lib/auth')
| -rwxr-xr-x | StoneIsland/platforms/android/assets/www/js/lib/auth/LoginView.js | 4 | ||||
| -rwxr-xr-x | StoneIsland/platforms/android/assets/www/js/lib/auth/SignupView.js | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/StoneIsland/platforms/android/assets/www/js/lib/auth/LoginView.js b/StoneIsland/platforms/android/assets/www/js/lib/auth/LoginView.js index d7968c22..aeb15d1d 100755 --- a/StoneIsland/platforms/android/assets/www/js/lib/auth/LoginView.js +++ b/StoneIsland/platforms/android/assets/www/js/lib/auth/LoginView.js @@ -11,7 +11,7 @@ var LoginView = FormView.extend({ }, initialize: function(){ - this.$form = this.$("form") + this.$form = this.$(".form") this.$msg = this.$(".msg") this.scroller = new IScroll('#login', app.iscroll_options) }, @@ -23,7 +23,7 @@ var LoginView = FormView.extend({ } var msg = "* Your personal and payment<br>information will always remain private" app.footer.show("SUBMIT") - this.$form.get(0).reset() + this.$("input").val("") this.$msg.html(msg) document.body.className = "login" }, diff --git a/StoneIsland/platforms/android/assets/www/js/lib/auth/SignupView.js b/StoneIsland/platforms/android/assets/www/js/lib/auth/SignupView.js index fd0c1887..220026c0 100755 --- a/StoneIsland/platforms/android/assets/www/js/lib/auth/SignupView.js +++ b/StoneIsland/platforms/android/assets/www/js/lib/auth/SignupView.js @@ -24,7 +24,7 @@ var SignupView = FormView.extend({ }, initialize: function(){ - this.$form = this.$("form") + this.$form = this.$(".form") this.$msg = this.$(".msg") this.scroller = new IScroll('#signup', app.iscroll_options) }, @@ -36,7 +36,7 @@ var SignupView = FormView.extend({ } var msg = "* Your personal and payment<br>information will always remain private" app.footer.show("SUBMIT") - this.$form.get(0).reset() + this.$("input").val("") this.$msg.html(msg) document.body.className = "signup" |
