Lines Matching refs:notes
340 ['notes-separator' , '100%'],
550 fields.set(new TextField('notes-separator', function (value) {
674 let notes = (function () {
677 let notes = new NameMap(new EmptyNote());
678 let current = notes.get('');
830 list = new List('#select-notes');
838 jQuery('#select-notes').change(onNoteChange);
839 jQuery('#name-notes').prop('disabled', true);
840 jQuery('#add-notes').click(onAddNote).prop('disabled', true);
841 jQuery('#rename-notes').click(onRenameNote).prop('disabled', true);
842 jQuery('#delete-notes').click(onDeleteNote).prop('disabled', true);
854 let name = validateName(jQuery('#name-notes').val(), 'note', notes);
856 notes.set(name, new Note(name));
869 let newName = validateName(jQuery('#name-notes').val(), 'note', notes);
874 notes.delete(oldName);
875 notes.set(newName, current);
888 notes.delete(current.getName());
903 notes.clear();
907 notes.set(name, new Note(name, settings[name]));
911 jQuery('#name-notes').prop('disabled', false);
912 jQuery('#add-notes').prop('disabled', false);
914 setCurrent(list.reload(notes));
918 current = notes.get(name);
924 jQuery('#name-notes').val(current.getName());
925 jQuery('#rename-notes').prop('disabled', current.isReadOnly());
926 jQuery('#delete-notes').prop('disabled', current.isReadOnly());
937 for (let [name, note] of notes) {
956 notes.initialize();
972 notes.reload(settings.notes);
980 settings.notes = notes.getSettings();