解决不能新建笔记的问题

This commit is contained in:
life
2015-12-10 11:00:47 +08:00
parent a20c21e0ce
commit 6ec9a8d79a

View File

@@ -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);
});
};
// 同步