share notebook [ok]

This commit is contained in:
iiuazz
2014-09-12 20:31:14 +08:00
parent f30430bc63
commit 52010e4fc1
12 changed files with 2841 additions and 183 deletions

View File

@ -1181,7 +1181,7 @@
}
// life
// 加入notebookId
html.push("<a id='", node.tId, consts.id.A, "' class='", consts.className.LEVEL, node.level,"' treeNode", consts.id.A," onclick=\"", (node.click || ''),
html.push("<a id='", node.tId, consts.id.A, "' class='notebook-item ", consts.className.LEVEL, node.level,"' treeNode", consts.id.A," onclick=\"", (node.click || ''),
"\" ", ((url != null && url.length > 0) ? "href='" + url + "'" : ""), " target='",view.makeNodeTarget(node),"' style='", fontStyle.join(''),
"'", ' notebookId="' + node.NotebookId + '" ');
if (tools.apply(setting.view.showTitle, [setting.treeId, node], setting.view.showTitle) && title) {html.push("title='", title.replace(/'/g,"&#39;").replace(/</g,'&lt;').replace(/>/g,'&gt;'),"'");}