move & copy note [ok]

This commit is contained in:
life
2015-02-08 19:15:32 +08:00
parent b1cbb19b2b
commit 41d4529105
4 changed files with 113 additions and 17 deletions

2
node_modules/notebook.js generated vendored
View File

@@ -185,7 +185,7 @@ var Notebook = {
// 重新统计笔记本的笔记数据
reCountNotebookNumberNotes: function(notebookId) {
db.notes.count({NotebookId: notebookId, IsTrash: false}, function(err, count) {
db.notes.count({NotebookId: notebookId, IsTrash: false, LocalIsDelete: false}, function(err, count) {
if(err) {
log(err);
return;