[DE][SSE] Show comment settings when comments are disabled for editing (edit:true, comment: false)
This commit is contained in:
parent
db682dcf24
commit
4c40348581
|
@ -340,7 +340,7 @@ define([
|
||||||
/** coauthoring begin **/
|
/** coauthoring begin **/
|
||||||
$('tr.coauth', this.el)[mode.isEdit && mode.canCoAuthoring ? 'show' : 'hide']();
|
$('tr.coauth', this.el)[mode.isEdit && mode.canCoAuthoring ? 'show' : 'hide']();
|
||||||
$('tr.coauth.changes', this.el)[mode.isEdit && !mode.isOffline && mode.canCoAuthoring ? 'show' : 'hide']();
|
$('tr.coauth.changes', this.el)[mode.isEdit && !mode.isOffline && mode.canCoAuthoring ? 'show' : 'hide']();
|
||||||
$('tr.comments', this.el)[mode.canCoAuthoring && mode.canComments ? 'show' : 'hide']();
|
$('tr.comments', this.el)[mode.canCoAuthoring && (mode.isEdit || mode.canComments) ? 'show' : 'hide']();
|
||||||
/** coauthoring end **/
|
/** coauthoring end **/
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
|
@ -677,7 +677,7 @@ define([
|
||||||
this.lblAutosave.text(this.textAutoRecover);
|
this.lblAutosave.text(this.textAutoRecover);
|
||||||
}
|
}
|
||||||
$('tr.forcesave', this.el)[mode.canForcesave ? 'show' : 'hide']();
|
$('tr.forcesave', this.el)[mode.canForcesave ? 'show' : 'hide']();
|
||||||
$('tr.comments', this.el)[mode.canCoAuthoring && mode.canComments ? 'show' : 'hide']();
|
$('tr.comments', this.el)[mode.canCoAuthoring && (mode.isEdit || mode.canComments) ? 'show' : 'hide']();
|
||||||
$('tr.coauth.changes', this.el)[mode.isEdit && !mode.isOffline && mode.canCoAuthoring? 'show' : 'hide']();
|
$('tr.coauth.changes', this.el)[mode.isEdit && !mode.isOffline && mode.canCoAuthoring? 'show' : 'hide']();
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue