Commit b914af94 authored by konovalovsergey's avatar konovalovsergey

onMeta change DocInfo

parent 315c2007
...@@ -577,6 +577,9 @@ ...@@ -577,6 +577,9 @@
var newDocumentTitle = data["title"]; var newDocumentTitle = data["title"];
if (newDocumentTitle) { if (newDocumentTitle) {
t.documentTitle = newDocumentTitle; t.documentTitle = newDocumentTitle;
if (t.DocInfo) {
t.DocInfo.asc_putTitle(newDocumentTitle);
}
} }
t.sendEvent('asc_onMeta', data); t.sendEvent('asc_onMeta', data);
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment