Commit e0d1a863 authored by konovalovsergey's avatar konovalovsergey

onMeta change documentTitle

parent ae3797ae
...@@ -574,6 +574,10 @@ ...@@ -574,6 +574,10 @@
}; };
this.CoAuthoringApi.onMeta = function(data) this.CoAuthoringApi.onMeta = function(data)
{ {
var newDocumentTitle = data["title"];
if (newDocumentTitle) {
t.documentTitle = 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