[SSE] Fixed buttons rendering.

This commit is contained in:
Julia Radzhabova 2017-04-28 17:12:07 +03:00
parent 23bb0084e9
commit 59750ed06b

View file

@ -145,12 +145,12 @@ define([
el.html(this.template({})); el.html(this.template({}));
this.btnText.el = $('#id-right-menu-text'); this.btnText.render(); this.btnText.setElement($('#id-right-menu-text'), false); this.btnText.render();
this.btnImage.el = $('#id-right-menu-image'); this.btnImage.render(); this.btnImage.setElement($('#id-right-menu-image'), false); this.btnImage.render();
this.btnChart.el = $('#id-right-menu-chart'); this.btnChart.render(); this.btnChart.setElement($('#id-right-menu-chart'), false); this.btnChart.render();
this.btnShape.el = $('#id-right-menu-shape'); this.btnShape.render(); this.btnShape.setElement($('#id-right-menu-shape'), false); this.btnShape.render();
this.btnTextArt.el = $('#id-right-menu-textart'); this.btnTextArt.render(); this.btnTextArt.setElement($('#id-right-menu-textart'), false); this.btnTextArt.render();
this.btnTable.el = $('#id-right-menu-table'); this.btnTable.render(); this.btnTable.setElement($('#id-right-menu-table'), false); this.btnTable.render();
this.btnText.on('click', _.bind(this.onBtnMenuClick, this)); this.btnText.on('click', _.bind(this.onBtnMenuClick, this));
this.btnImage.on('click', _.bind(this.onBtnMenuClick, this)); this.btnImage.on('click', _.bind(this.onBtnMenuClick, this));