Commit ee4e1cbf authored by Oleg.Korshul's avatar Oleg.Korshul Committed by Alexander.Trofimov

имя документа на коллбеке, возможность завершать демонстрацию

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@67070 954022d7-b5bf-4e40-9824-e11837661b57
parent b0aaff40
......@@ -152,6 +152,7 @@ function DesktopOfflineUpdateLocalName(_api)
_name = _name.substring(_ind + 1);
_api.documentTitle = _name;
_api.sendEvent("asc_onDocumentName", _name);
window["AscDesktopEditor"]["SetDocumentName"](_name);
}
......
......@@ -198,4 +198,6 @@ window["on_editor_native_message"] = function(sCommand, sParam)
editor.asc_Save(false, true);
else if (sCommand == "print")
editor.asc_Print();
else if (sCommand == "editor:stopDemonstration")
editor.EndDemonstration();
};
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