summaryrefslogtreecommitdiff
path: root/StoneIsland/www/js/lib/account/LoginView.js
diff options
context:
space:
mode:
Diffstat (limited to 'StoneIsland/www/js/lib/account/LoginView.js')
-rw-r--r--StoneIsland/www/js/lib/account/LoginView.js40
1 files changed, 0 insertions, 40 deletions
diff --git a/StoneIsland/www/js/lib/account/LoginView.js b/StoneIsland/www/js/lib/account/LoginView.js
deleted file mode 100644
index 8c875ae8..00000000
--- a/StoneIsland/www/js/lib/account/LoginView.js
+++ /dev/null
@@ -1,40 +0,0 @@
-var LoginView = FormView.extend({
-
- el: "#login",
-
- action: sdk.account.login,
-
- events: {
- "click .newuser": "new_user",
- "submit form": "save",
- },
-
- initialize: function(){
- this.$form = this.$("form")
- this.$msg = this.$(".msg")
- this.scroller = new IScroll('#login', app.iscroll_options)
- },
-
- show: function(){
- app.footer.show("SUBMIT", "CANCEL")
- this.$form.get(0).reset()
- this.$msg.html("* Your personal and payment information will always remain private")
- document.body.className = "login"
- },
-
- new_user: function(){
- app.router.go("account/signup")
- },
-
- validate_presence: {
- "Email": "Please enter a valid email address.",
- "Password": "Please enter your password.",
- },
-
- success: function(data){
- },
-
- error: function(data){
- },
-
-})