This commit is contained in:
life
2014-06-24 21:41:02 +08:00
parent 8e05e433de
commit b0402f29dd
4 changed files with 8 additions and 4 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -948,8 +948,12 @@ Note.renderNoteReadOnly = function(note) {
$("#noteReadUpdatedTime").html(goNowToDatetime(note.UpdatedTime));
}
Note.renderNoteContentReadOnly = function(note) {
if(note.IsMarkdown) {
$("#noteReadContent").html('<pre id="readOnlyMarkdown">' + note.Content + "</pre>");
} else {
$("#noteReadContent").html(note.Content);
}
}
//---------------------------
// 搜索