corrections
This commit is contained in:
parent
2a94c622d4
commit
7878e05c0d
|
@ -1083,7 +1083,7 @@ define([
|
||||||
next: e.options.iconClsForMainBtn,
|
next: e.options.iconClsForMainBtn,
|
||||||
curr: this.toolbar.btnPrint.menu.items.filter(function(item){return item.value == oldType;})[0].options.iconClsForMainBtn
|
curr: this.toolbar.btnPrint.menu.items.filter(function(item){return item.value == oldType;})[0].options.iconClsForMainBtn
|
||||||
});
|
});
|
||||||
this.toolbar.btnPrint.updateHint([e.caption + e.options.platformKey, this.views.Toolbar.prototype.tipInsertText]);
|
this.toolbar.btnPrint.updateHint([e.caption + e.options.platformKey]);
|
||||||
this.toolbar.btnPrint.options.printType = newType;
|
this.toolbar.btnPrint.options.printType = newType;
|
||||||
}
|
}
|
||||||
this.onPrint(e);
|
this.onPrint(e);
|
||||||
|
|
|
@ -781,7 +781,7 @@ define([
|
||||||
$('tr.comments', this.el)[mode.canCoAuthoring ? 'show' : 'hide']();
|
$('tr.comments', this.el)[mode.canCoAuthoring ? 'show' : 'hide']();
|
||||||
/** coauthoring end **/
|
/** coauthoring end **/
|
||||||
|
|
||||||
$('tr.quick-print', this.el)[mode.canQuickPrint && !(mode.customization && mode.customization.compactHeader) ? 'show' : 'hide']();
|
$('tr.quick-print', this.el)[mode.canQuickPrint && !(mode.customization && mode.customization.compactHeader && mode.isEdit) ? 'show' : 'hide']();
|
||||||
$('tr.macros', this.el)[(mode.customization && mode.customization.macros===false) ? 'hide' : 'show']();
|
$('tr.macros', this.el)[(mode.customization && mode.customization.macros===false) ? 'hide' : 'show']();
|
||||||
if ( !Common.UI.Themes.available() ) {
|
if ( !Common.UI.Themes.available() ) {
|
||||||
$('tr.themes, tr.themes + tr.divider', this.el).hide();
|
$('tr.themes, tr.themes + tr.divider', this.el).hide();
|
||||||
|
|
|
@ -1736,7 +1736,7 @@ define([
|
||||||
true, true, undefined, '1', 'bottom', 'small');
|
true, true, undefined, '1', 'bottom', 'small');
|
||||||
Array.prototype.push.apply(this.paragraphControls, this.btnsPageBreak);
|
Array.prototype.push.apply(this.paragraphControls, this.btnsPageBreak);
|
||||||
Array.prototype.push.apply(this.lockControls, this.btnsPageBreak);
|
Array.prototype.push.apply(this.lockControls, this.btnsPageBreak);
|
||||||
|
this.btnPrint.menu && this.btnPrint.$el.toggleClass('btn-slot','btn-split');
|
||||||
return $host;
|
return $host;
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
|
@ -1087,7 +1087,7 @@ define([
|
||||||
next: e.options.iconClsForMainBtn,
|
next: e.options.iconClsForMainBtn,
|
||||||
curr: this.toolbar.btnPrint.menu.items.filter(function(item){return item.value == oldType;})[0].options.iconClsForMainBtn
|
curr: this.toolbar.btnPrint.menu.items.filter(function(item){return item.value == oldType;})[0].options.iconClsForMainBtn
|
||||||
});
|
});
|
||||||
this.toolbar.btnPrint.updateHint([e.caption + e.options.platformKey, this.views.Toolbar.prototype.tipInsertText]);
|
this.toolbar.btnPrint.updateHint([e.caption + e.options.platformKey]);
|
||||||
this.toolbar.btnPrint.options.printType = newType;
|
this.toolbar.btnPrint.options.printType = newType;
|
||||||
}
|
}
|
||||||
this.onPrint(e);
|
this.onPrint(e);
|
||||||
|
|
|
@ -612,7 +612,7 @@ define([
|
||||||
$('tr.live-viewer', this.el)[mode.canLiveView && !mode.isOffline && mode.canChangeCoAuthoring ? 'show' : 'hide']();
|
$('tr.live-viewer', this.el)[mode.canLiveView && !mode.isOffline && mode.canChangeCoAuthoring ? 'show' : 'hide']();
|
||||||
$('tr.macros', this.el)[(mode.customization && mode.customization.macros===false) ? 'hide' : 'show']();
|
$('tr.macros', this.el)[(mode.customization && mode.customization.macros===false) ? 'hide' : 'show']();
|
||||||
$('tr.spellcheck', this.el)[mode.isEdit && Common.UI.FeaturesManager.canChange('spellcheck') ? 'show' : 'hide']();
|
$('tr.spellcheck', this.el)[mode.isEdit && Common.UI.FeaturesManager.canChange('spellcheck') ? 'show' : 'hide']();
|
||||||
$('tr.quick-print', this.el)[mode.canQuickPrint && !(mode.customization && mode.customization.compactHeader) ? 'show' : 'hide']();
|
$('tr.quick-print', this.el)[mode.canQuickPrint && !(mode.customization && mode.customization.compactHeader && mode.isEdit) ? 'show' : 'hide']();
|
||||||
|
|
||||||
if ( !Common.UI.Themes.available() ) {
|
if ( !Common.UI.Themes.available() ) {
|
||||||
$('tr.themes, tr.themes + tr.divider', this.el).hide();
|
$('tr.themes, tr.themes + tr.divider', this.el).hide();
|
||||||
|
|
|
@ -1297,6 +1297,7 @@ define([
|
||||||
Array.prototype.push.apply(this.slideOnlyControls, created);
|
Array.prototype.push.apply(this.slideOnlyControls, created);
|
||||||
Array.prototype.push.apply(this.lockControls, created);
|
Array.prototype.push.apply(this.lockControls, created);
|
||||||
|
|
||||||
|
this.btnPrint.menu && this.btnPrint.$el.toggleClass('btn-slot','btn-split');
|
||||||
return $host;
|
return $host;
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
|
@ -541,7 +541,7 @@ define([
|
||||||
next: e.options.iconClsForMainBtn,
|
next: e.options.iconClsForMainBtn,
|
||||||
curr: this.toolbar.btnPrint.menu.items.filter(function(item){return item.value == oldType;})[0].options.iconClsForMainBtn
|
curr: this.toolbar.btnPrint.menu.items.filter(function(item){return item.value == oldType;})[0].options.iconClsForMainBtn
|
||||||
});
|
});
|
||||||
this.toolbar.btnPrint.updateHint([e.caption + e.options.platformKey, this.views.Toolbar.prototype.tipInsertText]);
|
this.toolbar.btnPrint.updateHint([e.caption + e.options.platformKey]);
|
||||||
this.toolbar.btnPrint.options.printType = newType;
|
this.toolbar.btnPrint.options.printType = newType;
|
||||||
}
|
}
|
||||||
this.onPrint(e);
|
this.onPrint(e);
|
||||||
|
|
|
@ -799,7 +799,7 @@ define([
|
||||||
$('tr.coauth.changes', this.el)[mode.isEdit && !mode.isOffline && mode.canCoAuthoring && mode.canChangeCoAuthoring ? 'show' : 'hide']();
|
$('tr.coauth.changes', this.el)[mode.isEdit && !mode.isOffline && mode.canCoAuthoring && mode.canChangeCoAuthoring ? 'show' : 'hide']();
|
||||||
$('tr.live-viewer', this.el)[mode.canLiveView && !mode.isOffline && mode.canChangeCoAuthoring ? 'show' : 'hide']();
|
$('tr.live-viewer', this.el)[mode.canLiveView && !mode.isOffline && mode.canChangeCoAuthoring ? 'show' : 'hide']();
|
||||||
$('tr.macros', this.el)[(mode.customization && mode.customization.macros===false) ? 'hide' : 'show']();
|
$('tr.macros', this.el)[(mode.customization && mode.customization.macros===false) ? 'hide' : 'show']();
|
||||||
$('tr.quick-print', this.el)[mode.canQuickPrint && !(mode.customization && mode.customization.compactHeader) ? 'show' : 'hide']();
|
$('tr.quick-print', this.el)[mode.canQuickPrint && !(mode.customization && mode.customization.compactHeader && mode.isEdit) ? 'show' : 'hide']();
|
||||||
|
|
||||||
if ( !Common.UI.Themes.available() ) {
|
if ( !Common.UI.Themes.available() ) {
|
||||||
$('tr.themes, tr.themes + tr.divider', this.el).hide();
|
$('tr.themes, tr.themes + tr.divider', this.el).hide();
|
||||||
|
|
|
@ -2289,6 +2289,7 @@ define([
|
||||||
[Common.enumLock.editCell, Common.enumLock.selRangeEdit, Common.enumLock.headerLock, Common.enumLock.lostConnect, Common.enumLock.coAuth], undefined, undefined, undefined, '1', 'bottom', 'small');
|
[Common.enumLock.editCell, Common.enumLock.selRangeEdit, Common.enumLock.headerLock, Common.enumLock.lostConnect, Common.enumLock.coAuth], undefined, undefined, undefined, '1', 'bottom', 'small');
|
||||||
Array.prototype.push.apply(this.lockControls, this.btnsEditHeader);
|
Array.prototype.push.apply(this.lockControls, this.btnsEditHeader);
|
||||||
|
|
||||||
|
this.btnPrint.menu && this.btnPrint.$el.toggleClass('btn-slot','btn-split');
|
||||||
return $host;
|
return $host;
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue