[all] roolback bugfix 42885 for smooth skeleton
This commit is contained in:
parent
db27a53b1f
commit
2f2bcb516d
|
@ -2827,7 +2827,6 @@ define([
|
|||
compactview = true;
|
||||
}
|
||||
|
||||
setTimeout(function () {
|
||||
me.toolbar.render(_.extend({isCompactView: compactview}, config));
|
||||
|
||||
var tab = {action: 'review', caption: me.toolbar.textTabCollaboration};
|
||||
|
@ -2865,7 +2864,6 @@ define([
|
|||
links.setApi(me.api).setConfig({toolbar: me});
|
||||
Array.prototype.push.apply(me.toolbar.toolbarControls, links.getView('Links').getButtons());
|
||||
}
|
||||
}, 0);
|
||||
},
|
||||
|
||||
onAppReady: function (config) {
|
||||
|
|
|
@ -2077,16 +2077,10 @@ define([
|
|||
compactview = true;
|
||||
}
|
||||
|
||||
/**
|
||||
* 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));
|
||||
|
||||
if ( config.isEdit ) {
|
||||
me.toolbar.setMode(config);
|
||||
|
||||
var tab = {action: 'review', caption: me.toolbar.textTabCollaboration};
|
||||
var $panel = me.getApplication().getController('Common.Controllers.ReviewChanges').createToolbarPanel();
|
||||
if ( $panel )
|
||||
|
@ -2115,7 +2109,6 @@ define([
|
|||
}
|
||||
}
|
||||
}
|
||||
}, 0);
|
||||
},
|
||||
|
||||
onAppReady: function (config) {
|
||||
|
|
|
@ -3150,8 +3150,8 @@ define([
|
|||
compactview = true;
|
||||
}
|
||||
|
||||
setTimeout(function () {
|
||||
me.toolbar.render(_.extend({isCompactView: compactview}, config));
|
||||
|
||||
if ( config.isEdit ) {
|
||||
me.toolbar.setMode(config);
|
||||
|
||||
|
@ -3214,7 +3214,6 @@ define([
|
|||
}
|
||||
}
|
||||
}
|
||||
}, 0);
|
||||
},
|
||||
|
||||
onAppReady: function (config) {
|
||||
|
|
Loading…
Reference in a new issue