Implemented save notes button

This commit is contained in:
Michael Schmatz 2014-05-01 17:36:49 -07:00
parent 9fb5826593
commit 347292c985
2 changed files with 2 additions and 1 deletions

View file

@ -94,6 +94,7 @@ block content
- var notes = user.get('jobProfileNotes') || '';
if me.isAdmin()
textarea#job-profile-notes!= notes
button.btn.btn-primary#save-notes-button Save Notes
else
div!= marked(notes)

View file

@ -9,7 +9,7 @@ module.exports = class ProfileView extends View
events:
'click #toggle-job-profile-approved': 'toggleJobProfileApproved'
'keyup #job-profile-notes': 'onJobProfileNotesChanged'
'click save-notes-button': 'onJobProfileNotesChanged'
'click #contact-candidate': 'onContactCandidate'
'click #enter-espionage-mode': 'enterEspionageMode'