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