notes sorter

This commit is contained in:
life
2017-02-09 13:33:06 +08:00
parent e3f7868a48
commit a599f9b532
5 changed files with 190 additions and 43 deletions

View File

@@ -724,7 +724,7 @@ Notebook.changeNotebook = function(notebookId, callback, needRendNoteId) {
if (callback) {
callback(cacheNotes);
} else {
Note.renderNotesAndTargetNote(cacheNotes, needRendNoteId);
Note.renderNotesAndTargetNote(cacheNotes, needRendNoteId, true);
}
return;
}
@@ -742,7 +742,7 @@ Notebook.changeNotebook = function(notebookId, callback, needRendNoteId) {
if (callback) {
callback(cacheNotes);
} else {
Note.renderNotesAndTargetNote(cacheNotes, needRendNoteId);
Note.renderNotesAndTargetNote(cacheNotes, needRendNoteId, true);
}
return;
} else {
@@ -767,7 +767,7 @@ Notebook.changeNotebook = function(notebookId, callback, needRendNoteId) {
if (callback) {
callback(cacheNotes);
} else {
Note.renderNotesAndTargetNote(cacheNotes, needRendNoteId);
Note.renderNotesAndTargetNote(cacheNotes, needRendNoteId, false);
}
me.hideNoteAndEditorLoading();
};