Commit 9e7b349c authored by Alexander.Trofimov's avatar Alexander.Trofimov

check DocInfo

parent a82c4672
......@@ -137,7 +137,7 @@ baseEditorsApi.prototype._init = function() {
AscCommon.loadSdk(this._editorNameById(), function() {
t.isLoadFullApi = true;
if (t.DocInfo.get_OfflineApp()) {
if (t.DocInfo && t.DocInfo.get_OfflineApp()) {
t._OfflineAppDocumentStartLoad();
}
......
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