Commit 24a94386 authored by Oleg Korshul's avatar Oleg Korshul

window.Asc.editor => window["Asc"]["editor"]

parent 434f26f2
...@@ -2491,7 +2491,7 @@ DrawingObjectsController.prototype = ...@@ -2491,7 +2491,7 @@ DrawingObjectsController.prototype =
checkObjectInArray(aGroups, objects_by_type.oleObjects[i].group.getMainGroup()); checkObjectInArray(aGroups, objects_by_type.oleObjects[i].group.getMainGroup());
} }
var api = window.editor || window.Asc.editor; var api = window.editor || window["Asc"]["editor"];
if(api) if(api)
{ {
var pluginData = new Asc.CPluginData(); var pluginData = new Asc.CPluginData();
......
...@@ -879,7 +879,7 @@ function ResizeTrackShapeImage(originalObject, cardDirection) ...@@ -879,7 +879,7 @@ function ResizeTrackShapeImage(originalObject, cardDirection)
} }
if(this.originalObject.getObjectType && this.originalObject.getObjectType() === AscDFH.historyitem_type_OleObject) if(this.originalObject.getObjectType && this.originalObject.getObjectType() === AscDFH.historyitem_type_OleObject)
{ {
var api = window.editor || window.Asc.editor; var api = window.editor || window["Asc"]["editor"];
if(api) if(api)
{ {
var pluginData = new Asc.CPluginData(); var pluginData = new Asc.CPluginData();
......
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