mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2024-11-23 23:58:02 -05:00
Implemented save notes button
This commit is contained in:
parent
9fb5826593
commit
347292c985
2 changed files with 2 additions and 1 deletions
|
@ -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)
|
||||
|
||||
|
|
|
@ -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'
|
||||
|
||||
|
|
Loading…
Reference in a new issue