login.html page

This commit is contained in:
life
2015-02-17 23:56:21 +08:00
parent 6983a6004b
commit 07e2b43755
12 changed files with 118 additions and 53 deletions

6
node_modules/notebook.js generated vendored
View File

@@ -297,6 +297,10 @@ var Notebook = {
notebook.LocalIsNew = false;
notebook.LocalIsDelete = false;
delete note['NumberNotes'];
delete note['UpdatedTime'];
delete note['CreatedTime'];
var serverNotebookId = notebook.NotebookId;
me.getNotebookIdByServerNotebookId(notebook.ParentNotebookId, function(parentNotebookId) {
notebook.ParentNotebookId = parentNotebookId;
@@ -322,6 +326,8 @@ var Notebook = {
notebook.IsDirty = false;
notebook.LocalIsNew = false;
notebook.ServerNotebookId = notebook.NotebookId; // ? 怎么可能要改呢? 因为这可能是添加后的笔记本
notebook.NotebookId = notebookId; // 必须设为本地, 因为notebook.NotebookId是服务器传过来的 2/16 fixed
me.getNotebookIdByServerNotebookId(notebook.ParentNotebookId, function(parentNotebookId) {
notebook.ParentNotebookId = parentNotebookId;
NB.update({NotebookId: notebookId}, {$set: notebook}, {}, function (err, n) {