Use getText() instead of val() for username & password

This commit is contained in:
Jessica Lord & Kevin Sawicki
2013-08-12 15:52:28 -07:00
parent 12fbd89e79
commit 0a53e2f7bb

View File

@@ -57,8 +57,8 @@ class SignInView extends ScrollView
@password.disable()
@signIn.disable()
username = $.trim(@username.val())
credentials = btoa("#{username}:#{@password.val()}")
username = $.trim(@username.getText())
credentials = btoa("#{username}:#{@password.getText()}")
request =
scopes: ['user', 'repo', 'gist']
note: 'GitHub Atom'