Removed linkedIn callback, disabled autosave

This commit is contained in:
Michael Schmatz 2014-06-08 18:21:56 -07:00
parent f29a41f108
commit ad80fcf229

View file

@ -73,10 +73,10 @@ module.exports = class ProfileView extends View
unless overwriteConfirm then return
application.linkedinHandler.getProfileData (err, profileData) =>
console.log profileData
@processLinkedInProfileData profileData, ->
@processLinkedInProfileData profileData
jobProfileSchema: -> @user.schema().properties.jobProfile.properties
processLinkedInProfileData: (p, cb) ->
processLinkedInProfileData: (p) ->
#handle formatted-name
currentJobProfile = @user.get('jobProfile')
oldJobProfile = _.cloneDeep(currentJobProfile)
@ -230,6 +230,7 @@ module.exports = class ProfileView extends View
@editing = not @editing
@render()
IN.parse()
@saveEdits()
toggleJobProfileApproved: ->
return unless me.isAdmin()