Commit 9d43ac5a authored by Julia Radzhabova's avatar Julia Radzhabova

[DE] Fix Bug 32999.

parent b62a98c7
...@@ -1455,6 +1455,7 @@ define([ ...@@ -1455,6 +1455,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([
...@@ -1472,6 +1473,7 @@ define([ ...@@ -1472,6 +1473,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){
......
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