[all] fix bug 42885
This commit is contained in:
parent
2f42d77a82
commit
6345ebca47
|
@ -2825,7 +2825,9 @@ define([
|
|||
compactview = true;
|
||||
}
|
||||
|
||||
me.toolbar.render(_.extend({isCompactView: compactview}, config));
|
||||
setTimeout(function () {
|
||||
me.toolbar.render(_.extend({isCompactView: compactview}, config));
|
||||
}, 0);
|
||||
|
||||
var tab = {action: 'review', caption: me.toolbar.textTabCollaboration};
|
||||
var $panel = this.getApplication().getController('Common.Controllers.ReviewChanges').createToolbarPanel();
|
||||
|
|
|
@ -2076,7 +2076,13 @@ define([
|
|||
compactview = true;
|
||||
}
|
||||
|
||||
me.toolbar.render(_.extend({compactview: compactview}, config));
|
||||
/**
|
||||
* Rendering of toolbar makes rendering of header very slow
|
||||
* Temporary wrapped up in setTimeout to process events
|
||||
* */
|
||||
setTimeout(function () {
|
||||
me.toolbar.render(_.extend({compactview: compactview}, config));
|
||||
}, 0);
|
||||
|
||||
if ( config.isEdit ) {
|
||||
me.toolbar.setMode(config);
|
||||
|
|
|
@ -3127,7 +3127,9 @@ define([
|
|||
compactview = true;
|
||||
}
|
||||
|
||||
me.toolbar.render(_.extend({isCompactView: compactview}, config));
|
||||
setTimeout(function () {
|
||||
me.toolbar.render(_.extend({isCompactView: compactview}, config));
|
||||
}, 0);
|
||||
|
||||
Common.Utils.asyncCall(function () {
|
||||
if ( config.isEdit ) {
|
||||
|
|
Loading…
Reference in a new issue