mirror of
https://github.com/leanote/desktop-app.git
synced 2025-10-16 16:04:56 +00:00
解决不能新建笔记的问题
This commit is contained in:
@@ -1110,7 +1110,9 @@ Note.newNote = function(notebookId, isShare, fromUserId, isMarkdown) {
|
||||
Note.batch.reset();
|
||||
|
||||
// 保存当前的笔记
|
||||
Note.curChangedSaveIt(true, function () {
|
||||
Note.curChangedSaveIt(true);
|
||||
|
||||
// 新笔记
|
||||
var note = {
|
||||
NoteId: getObjectId(),
|
||||
Title: '',
|
||||
@@ -1179,7 +1181,6 @@ Note.newNote = function(notebookId, isShare, fromUserId, isMarkdown) {
|
||||
|
||||
// 切换到写模式
|
||||
Note.toggleWriteable(true);
|
||||
});
|
||||
};
|
||||
|
||||
// 同步
|
||||
|
Reference in New Issue
Block a user