This commit is contained in:
life
2014-05-13 17:42:55 +08:00
parent 5244c89987
commit 58d1e0ec00
7 changed files with 8 additions and 6 deletions

File diff suppressed because one or more lines are too long

View File

@ -363,14 +363,14 @@ Note.curChangedSaveIt = function(force) {
Note.setNoteCache({"NoteId": hasChanged.NoteId, "UpdatedTime": (new Date()).format("yyyy-MM-ddThh:mm:ss.S")}, false);
// 保存之
showMsg("正在保存");
showMsg(getMsg("saving"));
ajaxPost("/note/UpdateNoteOrContent", hasChanged, function(ret) {
if(hasChanged.IsNew) {
// 缓存之, 后台得到其它信息
ret.IsNew = false;
Note.setNoteCache(ret, false);
}
showMsg("保存成功!", 1000);
showMsg(getMsg("saveSuccess"), 1000);
});
return hasChanged;