mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2025-04-27 14:33:59 -04:00
Removed linkedIn callback, disabled autosave
This commit is contained in:
parent
f29a41f108
commit
ad80fcf229
1 changed files with 3 additions and 2 deletions
|
@ -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()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue