Fix a tab and remove some console.logs

This commit is contained in:
yackob03 2013-10-08 11:36:45 -04:00
parent 6a038bb24e
commit 810b711fc4

View file

@ -135,7 +135,7 @@ function LandingCtrl($scope, $timeout, Restangular, UserService) {
$scope.$watch( function () { return UserService.currentUser(); }, function (currentUser) {
if (!currentUser.anonymous) {
$scope.loadMyRepos();
$scope.loadMyRepos();
}
$scope.user = currentUser;
@ -161,7 +161,6 @@ function LandingCtrl($scope, $timeout, Restangular, UserService) {
$scope.awaitingConfirmation = true;
$scope.registering = false;
}, function(result) {
console.log("Displaying error message.");
$scope.registering = false;
$scope.registerError = result.data.message;
$timeout(function() {
@ -477,8 +476,6 @@ function UserAdminCtrl($scope, Restangular, PlanService, $routeParams) {
plan: planId,
};
console.log(subscriptionDetails);
var createSubscriptionRequest = Restangular.one('user/plan');
createSubscriptionRequest.customPUT(subscriptionDetails).then(subscribedToPlan, function() {
// Failure