导入导出优化

This commit is contained in:
life
2015-11-01 15:41:35 +08:00
parent 8198d4495d
commit 07ef7c0136
12 changed files with 46 additions and 17 deletions

View File

@@ -154,6 +154,9 @@ define(function() {
n++;
$('#importLeanoteMsg .curImportNote').html(me.getMsg("Import: %s Success!", note.Title));
// 不要是新的, 不然切换笔记时又会保存一次
note.IsNew = false;
// 插入到当前笔记中
Note.addSync([note]);
}