[DE] Return separator in view tab
This commit is contained in:
parent
41a4622fb5
commit
f2531c0ad7
|
@ -135,10 +135,12 @@ define([
|
||||||
groupToolbar = me.view.chToolbar.$el.closest('.group');
|
groupToolbar = me.view.chToolbar.$el.closest('.group');
|
||||||
groupToolbar.find('.elset')[1].append(slotChkRulers[0]);
|
groupToolbar.find('.elset')[1].append(slotChkRulers[0]);
|
||||||
groupRulers.remove();
|
groupRulers.remove();
|
||||||
|
me.view.$el.find('.separator-rulers').remove();
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!config.isEdit) { // if view tab will be visible in view/restricted-editing mode
|
if (!config.isEdit) { // if view tab will be visible in view/restricted-editing mode
|
||||||
me.view.chRulers.hide();
|
me.view.chRulers.hide();
|
||||||
|
me.view.$el.find('.separator-rulers').remove();
|
||||||
}
|
}
|
||||||
|
|
||||||
me.view.cmbZoom.on('selected', _.bind(me.onSelectedZoomValue, me))
|
me.view.cmbZoom.on('selected', _.bind(me.onSelectedZoomValue, me))
|
||||||
|
|
|
@ -82,6 +82,7 @@ define([
|
||||||
'<span class="btn-slot text" id="slot-chk-statusbar"></span>' +
|
'<span class="btn-slot text" id="slot-chk-statusbar"></span>' +
|
||||||
'</div>' +
|
'</div>' +
|
||||||
'</div>' +
|
'</div>' +
|
||||||
|
'<div class="separator long separator-rulers"></div>' +
|
||||||
'<div class="group small">' +
|
'<div class="group small">' +
|
||||||
'<div class="elset">' +
|
'<div class="elset">' +
|
||||||
'<span class="btn-slot text" id="slot-chk-rulers"></span>' +
|
'<span class="btn-slot text" id="slot-chk-rulers"></span>' +
|
||||||
|
@ -127,8 +128,7 @@ define([
|
||||||
|
|
||||||
this.lockedControls = [];
|
this.lockedControls = [];
|
||||||
|
|
||||||
var me = this,
|
var me = this;
|
||||||
$host = me.toolbar.$el;
|
|
||||||
var _set = Common.enumLock;
|
var _set = Common.enumLock;
|
||||||
|
|
||||||
this.btnNavigation = new Common.UI.Button({
|
this.btnNavigation = new Common.UI.Button({
|
||||||
|
@ -247,7 +247,6 @@ define([
|
||||||
});
|
});
|
||||||
this.lockedControls.push(this.chRulers);
|
this.lockedControls.push(this.chRulers);
|
||||||
|
|
||||||
this.cmpEl = $host;
|
|
||||||
Common.Utils.lockControls(_set.disableOnStart, true, {array: this.lockedControls});
|
Common.Utils.lockControls(_set.disableOnStart, true, {array: this.lockedControls});
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue