Guest User

Untitled

a guest
May 22nd, 2018
130
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. ClientHub.loggedOutView = Em.View.extend({
  2.   templateName: "login",
  3.   LoginFormView: Em.View.extend({
  4.     errorMsg: null,
  5.     error: null,
  6.  
  7.     username: null,
  8.     password: null,
  9.     submitLogin:function(){
  10.       ClientHub.LoginManager.send('login', {username: this.get('username'),
  11.                                             password: this.get('password')
  12.                                            })
  13.     }
  14.   }),
  15. });
Add Comment
Please, Sign In to add comment