[DE] Fix show review tab in view and fill form mode
This commit is contained in:
parent
6945c85c56
commit
b707915c17
|
@ -3070,7 +3070,7 @@ define([
|
||||||
var $panel = me.application.getController('Common.Controllers.ReviewChanges').createToolbarPanel();
|
var $panel = me.application.getController('Common.Controllers.ReviewChanges').createToolbarPanel();
|
||||||
if ( $panel ) {
|
if ( $panel ) {
|
||||||
me.toolbar.addTab(tab, $panel, 5);
|
me.toolbar.addTab(tab, $panel, 5);
|
||||||
me.toolbar.setVisible('review', config.isEdit || config.canViewReview || config.canCoAuthoring && config.canComments);
|
me.toolbar.setVisible('review', config.isEdit || config.canCoAuthoring && config.canComments); // use config.canViewReview in review controller. set visible review tab in view mode only when asc_HaveRevisionsChanges
|
||||||
}
|
}
|
||||||
|
|
||||||
if ( config.isEdit ) {
|
if ( config.isEdit ) {
|
||||||
|
|
Loading…
Reference in a new issue