Browse Source

removed a couple of annoying console.log logs

Henry Oswald 12 years ago
parent
commit
3350b99ccf

+ 0 - 2
services/web/app/coffee/Features/User/UserInfoController.coffee

@@ -18,7 +18,6 @@ module.exports = UserController =
 	getPersonalInfo: (req, res, next = (error) ->) ->
 		UserGetter.getUser req.params.user_id, { _id: true, first_name: true, last_name: true, email: true}, (error, user) ->
 			logger.log user_id: req.params.user_id, "reciving request for getting users personal info"
-			console.log user
 			return next(error) if error?
 			return res.send(404) if !user?
 			UserController.sendFormattedPersonalInfo(user, res, next)
@@ -42,7 +41,6 @@ module.exports = UserController =
 	sendFormattedPersonalInfo: (user, res, next = (error) ->) ->
 		UserController._formatPersonalInfo user, (error, info) ->
 			return next(error) if error?
-			console.log info
 			res.send JSON.stringify(info)
 
 	_formatPersonalInfo: (user, callback = (error, info) ->) ->

+ 1 - 1
services/web/public/coffee/UserDetailsUpdater.coffee

@@ -47,7 +47,7 @@ define ["libs/algolia", "libs/angular", "libs/angular-autocomplete/angular-autoc
 		$scope.updateInstitutionsList = (a)->
 			Institutions.search $scope.userInfoForm.institution, (err, response)->
 				$scope.institutions = _.map response.hits, (institution)->
-					"#{institution.name} <span class='muted'>#{institution.domain}</span>"
+					"#{institution.name} (<span class='muted'>#{institution.domain}</span>)"