mirror of
https://github.com/ONLYOFFICE/web-apps.git
synced 2026-07-23 18:16:36 +08:00
Merge pull request #7 from ONLYOFFICE/feature/de-shape-settings-as-sse
merge
This commit is contained in:
@ -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;
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user