Commit 36be6edc authored by Alexander Trofimov's avatar Alexander Trofimov

Merge pull request #7 from ONLYOFFICE/feature/de-shape-settings-as-sse

merge
parents 31f1c0db e6fad877
......@@ -569,10 +569,8 @@ define([
setApi: function(api) {
this.api = api;
if (this.api) {
this.api.SetInterfaceDrawImagePlaceShape('shape-texture-img');
var textures = this.api.get_PropertyStandartTextures();
if (textures)
this.onInitStandartTextures(textures);
this.api.asc_setInterfaceDrawImagePlaceShape('shape-texture-img');
this.api.asc_registerCallback('asc_onInitStandartTextures', _.bind(this.onInitStandartTextures, this));
}
return this;
},
......
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