Merge pull request #7 from ONLYOFFICE/feature/de-shape-settings-as-sse
merge
This commit is contained in:
commit
36be6edcd9
|
@ -569,10 +569,8 @@ define([
|
||||||
setApi: function(api) {
|
setApi: function(api) {
|
||||||
this.api = api;
|
this.api = api;
|
||||||
if (this.api) {
|
if (this.api) {
|
||||||
this.api.SetInterfaceDrawImagePlaceShape('shape-texture-img');
|
this.api.asc_setInterfaceDrawImagePlaceShape('shape-texture-img');
|
||||||
var textures = this.api.get_PropertyStandartTextures();
|
this.api.asc_registerCallback('asc_onInitStandartTextures', _.bind(this.onInitStandartTextures, this));
|
||||||
if (textures)
|
|
||||||
this.onInitStandartTextures(textures);
|
|
||||||
}
|
}
|
||||||
return this;
|
return this;
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in a new issue