[DE][SSE] 1 call of fillEquations.

This commit is contained in:
Julia Radzhabova 2016-10-24 13:58:34 +03:00
parent ed441aac53
commit d3748cdd94
4 changed files with 4 additions and 3 deletions

View file

@ -2198,7 +2198,7 @@ define([
},
fillEquations: function() {
if (!this.toolbar.btnInsertEquation.rendered) return;
if (!this.toolbar.btnInsertEquation.rendered || this.toolbar.btnInsertEquation.menu.items.length>0) return;
var me = this, equationsStore = this.getApplication().getCollection('EquationGroups');

View file

@ -77,6 +77,7 @@ define([
models: [],
collections: [
'ShapeGroups',
'EquationGroups',
'TableTemplates',
'Common.Collections.TextArt'
],

View file

@ -2054,7 +2054,7 @@ define([
},
fillEquations: function() {
if (!this.toolbar.btnInsertEquation.rendered) return;
if (!this.toolbar.btnInsertEquation.rendered || this.toolbar.btnInsertEquation.menu.items.length>0) return;
var me = this, equationsStore = this.getApplication().getCollection('EquationGroups');

View file

@ -223,7 +223,7 @@
<div class="toolbar-row">
<span class="btn-placeholder split" id="id-toolbar-full-placeholder-btn-inserthyperlink"></span>
<span class="btn-placeholder split" id="id-toolbar-full-placeholder-btn-insertshape"></span>
<span class="btn-placeholder hidden" id="id-toolbar-full-placeholder-btn-insertequation"></span>
<span class="btn-placeholder" id="id-toolbar-full-placeholder-btn-insertequation"></span>
</div>
</div>
<div class="separator long"></div>