[SSE] Bug 32999.

This commit is contained in:
Julia Radzhabova 2016-08-30 14:41:41 +03:00
parent 2a0ef264a5
commit d9da6d1ef8

View file

@ -1341,6 +1341,7 @@ define([
onInitStandartTextures: function(texture) { onInitStandartTextures: function(texture) {
var me = this; var me = this;
if (texture && texture.length>0){ if (texture && texture.length>0){
if (!this.btnTexture) {
this.btnTexture = new Common.UI.ComboBox({ this.btnTexture = new Common.UI.ComboBox({
el: $('#shape-combo-fill-texture'), el: $('#shape-combo-fill-texture'),
template: _.template([ template: _.template([
@ -1358,7 +1359,7 @@ define([
}); });
this.textureMenu.render($('#shape-combo-fill-texture')); this.textureMenu.render($('#shape-combo-fill-texture'));
this.fillControls.push(this.btnTexture); this.fillControls.push(this.btnTexture);
}
var texturearray = []; var texturearray = [];
_.each(texture, function(item){ _.each(texture, function(item){
texturearray.push({ texturearray.push({