From e6fad877c064ef0c02a84599a64b5d9881aa1487 Mon Sep 17 00:00:00 2001 From: Julia Radzhabova Date: Fri, 6 May 2016 14:45:21 +0300 Subject: [PATCH] =?UTF-8?q?[PE]=20=D0=97=D0=B0=D0=B3=D1=80=D1=83=D0=B7?= =?UTF-8?q?=D0=BA=D0=B0=20=D1=82=D0=B5=D0=BA=D1=81=D1=82=D1=83=D1=80=20?= =?UTF-8?q?=D0=B4=D0=BB=D1=8F=20=D0=B0=D0=B2=D1=82=D0=BE=D1=84=D0=B8=D0=B3?= =?UTF-8?q?=D1=83=D1=80=20=D0=BF=D0=BE=20=D0=B0=D0=BD=D0=B0=D0=BB=D0=BE?= =?UTF-8?q?=D0=B3=D0=B8=D0=B8=20=D1=81=20=D1=80=D0=B5=D0=B4=D0=B0=D0=BA?= =?UTF-8?q?=D1=82=D0=BE=D1=80=D0=BE=D0=BC=20=D1=82=D0=B0=D0=B1=D0=BB=D0=B8?= =?UTF-8?q?=D1=86=20(=D0=BF=D0=BE=20=D1=81=D0=BE=D0=B1=D1=8B=D1=82=D0=B8?= =?UTF-8?q?=D1=8E).?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/presentationeditor/main/app/view/ShapeSettings.js | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/apps/presentationeditor/main/app/view/ShapeSettings.js b/apps/presentationeditor/main/app/view/ShapeSettings.js index 8eb6487f3..e27af602b 100644 --- a/apps/presentationeditor/main/app/view/ShapeSettings.js +++ b/apps/presentationeditor/main/app/view/ShapeSettings.js @@ -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; },