[PE] Fixed buttons rendering.
This commit is contained in:
parent
499785cac5
commit
5e10e45349
|
@ -155,13 +155,13 @@ define([
|
|||
|
||||
el.html(this.template({}));
|
||||
|
||||
this.btnText.el = $('#id-right-menu-text'); this.btnText.render();
|
||||
this.btnTable.el = $('#id-right-menu-table'); this.btnTable.render();
|
||||
this.btnImage.el = $('#id-right-menu-image'); this.btnImage.render();
|
||||
this.btnSlide.el = $('#id-right-menu-slide'); this.btnSlide.render();
|
||||
this.btnChart.el = $('#id-right-menu-chart'); this.btnChart.render();
|
||||
this.btnShape.el = $('#id-right-menu-shape'); this.btnShape.render();
|
||||
this.btnTextArt.el = $('#id-right-menu-textart'); this.btnTextArt.render();
|
||||
this.btnText.setElement($('#id-right-menu-text'), false); this.btnText.render();
|
||||
this.btnTable.setElement($('#id-right-menu-table'), false); this.btnTable.render();
|
||||
this.btnImage.setElement($('#id-right-menu-image'), false); this.btnImage.render();
|
||||
this.btnSlide.setElement($('#id-right-menu-slide'), false); this.btnSlide.render();
|
||||
this.btnChart.setElement($('#id-right-menu-chart'), false); this.btnChart.render();
|
||||
this.btnShape.setElement($('#id-right-menu-shape'), false); this.btnShape.render();
|
||||
this.btnTextArt.setElement($('#id-right-menu-textart'), false); this.btnTextArt.render();
|
||||
|
||||
this.btnText.on('click', _.bind(this.onBtnMenuClick, this));
|
||||
this.btnTable.on('click', _.bind(this.onBtnMenuClick, this));
|
||||
|
|
Loading…
Reference in a new issue