added top header

This commit is contained in:
azivner
2017-10-06 22:46:30 -04:00
parent b7a5dca803
commit 5b3dafd395
5 changed files with 42 additions and 65 deletions

View File

@@ -14,7 +14,7 @@ function addRecentNote(noteTreeId, noteContentId) {
}, 1500);
}
$(document).bind('keydown', 'alt+q', function() {
function showRecentNotes() {
$('#noteDetail').summernote('editor.saveRange');
$("#recentNotesDialog").dialog({
@@ -47,7 +47,9 @@ $(document).bind('keydown', 'alt+q', function() {
recentNotesSelectBox.append(option);
});
});
}
$(document).bind('keydown', 'alt+q', showRecentNotes);
function getSelectedNoteIdFromRecentNotes() {
return $("#recentNotesSelectBox option:selected").val();