[PE] Загрузка текстур для слайда и текстарта по аналогии с редактором таблиц (по событию).
This commit is contained in:
parent
36be6edcd9
commit
e8733eb8b2
|
@ -564,9 +564,7 @@ define([
|
||||||
this.api = api;
|
this.api = api;
|
||||||
if (this.api) {
|
if (this.api) {
|
||||||
this.api.SetInterfaceDrawImagePlaceSlide('slide-texture-img');
|
this.api.SetInterfaceDrawImagePlaceSlide('slide-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;
|
||||||
},
|
},
|
||||||
|
|
|
@ -585,9 +585,7 @@ define([
|
||||||
this.api = api;
|
this.api = api;
|
||||||
if (this.api) {
|
if (this.api) {
|
||||||
this.api.SetInterfaceDrawImagePlaceTextArt('textart-texture-img');
|
this.api.SetInterfaceDrawImagePlaceTextArt('textart-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