merge @speg pr

This commit is contained in:
Matteo Pagliazzi 2014-01-28 19:08:35 +01:00
commit 6ac7f9e5c7

View file

@ -61,6 +61,7 @@ angular.module('authCtrl', [])
}
}
<<<<<<< HEAD
$scope.auth = function() {
var data = {
username: $scope.loginUsername,
@ -74,6 +75,12 @@ angular.module('authCtrl', [])
runAuth(data.id, data.token);
}).error(errorAlert);
}
=======
$scope.auth = function() {
var data = {
username: $scope.loginUsername || $('#login-tab input[name="username"]').val(),
password: $scope.loginPassword || $('#login-tab input[name="password"]').val()
>>>>>>> 99dccc288e4ab6c61a317437616b79d157e8b68b
};
$scope.playButtonClick = function(){