[DE] Fix layout customization. Hide mailmerge button
This commit is contained in:
parent
7b59205e2c
commit
b49d3f65c8
|
@ -59,7 +59,7 @@ Common.UI.LayoutManager = new(function() {
|
||||||
for (var name in config) {
|
for (var name in config) {
|
||||||
if(config.hasOwnProperty(name)) {
|
if(config.hasOwnProperty(name)) {
|
||||||
if(typeof config[name] === 'object')
|
if(typeof config[name] === 'object')
|
||||||
_applyCustomization(config[name], el, name + '-');
|
_applyCustomization(config[name], el, (prefix || '') + name + '-');
|
||||||
else if (config[name] === false) {
|
else if (config[name] === false) {
|
||||||
var selector = '[data-layout-name=' + (prefix || '') + name + ']',
|
var selector = '[data-layout-name=' + (prefix || '') + name + ']',
|
||||||
cmp = el ? el.find(selector) : $(selector);
|
cmp = el ? el.find(selector) : $(selector);
|
||||||
|
|
|
@ -75,7 +75,7 @@
|
||||||
</div>
|
</div>
|
||||||
<div class="elset">
|
<div class="elset">
|
||||||
<span class="btn-slot split" id="slot-btn-copystyle"></span>
|
<span class="btn-slot split" id="slot-btn-copystyle"></span>
|
||||||
<span class="btn-slot" id="slot-btn-mailrecepients"></span>
|
<span class="btn-slot" id="slot-btn-mailrecepients" data-layout-name="toolbar-home-mailmerge"></span>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="group small" id="slot-field-styles"></div>
|
<div class="group small" id="slot-field-styles"></div>
|
||||||
|
@ -124,7 +124,7 @@
|
||||||
<span class="btn-slot text x-huge" id="slot-btn-controls"></span>
|
<span class="btn-slot text x-huge" id="slot-btn-controls"></span>
|
||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
<section class="panel" data-tab="layout" data-layout-name="toolbar-layout">
|
<section class="panel" data-tab="layout">
|
||||||
<div class="group">
|
<div class="group">
|
||||||
<span class="btn-slot text x-huge" id="slot-btn-pagemargins"></span>
|
<span class="btn-slot text x-huge" id="slot-btn-pagemargins"></span>
|
||||||
<span class="btn-slot text x-huge" id="slot-btn-pageorient"></span>
|
<span class="btn-slot text x-huge" id="slot-btn-pageorient"></span>
|
||||||
|
@ -146,7 +146,7 @@
|
||||||
<span class="btn-slot text x-huge" id="slot-btn-watermark"></span>
|
<span class="btn-slot text x-huge" id="slot-btn-watermark"></span>
|
||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
<section class="panel" data-tab="links" data-layout-name="toolbar-references">
|
<section class="panel" data-tab="links">
|
||||||
<div class="group">
|
<div class="group">
|
||||||
<span class="btn-slot text x-huge btn-contents"></span>
|
<span class="btn-slot text x-huge btn-contents"></span>
|
||||||
<span class="btn-slot text x-huge" id="slot-btn-contents-update"></span>
|
<span class="btn-slot text x-huge" id="slot-btn-contents-update"></span>
|
||||||
|
|
Loading…
Reference in a new issue