[DE] Doc info: hide total editing time
This commit is contained in:
parent
63762a25bd
commit
bd8e1861ed
|
@ -708,10 +708,10 @@ define([
|
||||||
'</tr>',
|
'</tr>',
|
||||||
'<tr class="divider"></tr>',
|
'<tr class="divider"></tr>',
|
||||||
'<tr class="divider"></tr>',
|
'<tr class="divider"></tr>',
|
||||||
'<tr>',
|
// '<tr>',
|
||||||
'<td class="left"><label>' + this.txtEditTime + '</label></td>',
|
// '<td class="left"><label>' + this.txtEditTime + '</label></td>',
|
||||||
'<td class="right"><label id="id-info-edittime"></label></td>',
|
// '<td class="right"><label id="id-info-edittime"></label></td>',
|
||||||
'</tr>',
|
// '</tr>',
|
||||||
'<tr>',
|
'<tr>',
|
||||||
'<td class="left"><label>' + this.txtSubject + '</label></td>',
|
'<td class="left"><label>' + this.txtSubject + '</label></td>',
|
||||||
'<td class="right"><div id="id-info-subject"></div></td>',
|
'<td class="right"><div id="id-info-subject"></div></td>',
|
||||||
|
@ -778,7 +778,7 @@ define([
|
||||||
this.lblStatParagraphs = $('#id-info-paragraphs');
|
this.lblStatParagraphs = $('#id-info-paragraphs');
|
||||||
this.lblStatSymbols = $('#id-info-symbols');
|
this.lblStatSymbols = $('#id-info-symbols');
|
||||||
this.lblStatSpaces = $('#id-info-spaces');
|
this.lblStatSpaces = $('#id-info-spaces');
|
||||||
this.lblEditTime = $('#id-info-edittime');
|
// this.lblEditTime = $('#id-info-edittime');
|
||||||
|
|
||||||
// edited info
|
// edited info
|
||||||
this.inputTitle = new Common.UI.InputField({
|
this.inputTitle = new Common.UI.InputField({
|
||||||
|
@ -917,15 +917,15 @@ define([
|
||||||
|
|
||||||
var me = this,
|
var me = this,
|
||||||
props = (this.api) ? this.api.asc_getCoreProps() : null,
|
props = (this.api) ? this.api.asc_getCoreProps() : null,
|
||||||
app = (this.api) ? this.api.asc_getAppProps() : null,
|
|
||||||
value;
|
value;
|
||||||
|
|
||||||
if (app) {
|
// var app = (this.api) ? this.api.asc_getAppProps() : null;
|
||||||
value = app.asc_getTotalTime();
|
// if (app) {
|
||||||
if (value)
|
// value = app.asc_getTotalTime();
|
||||||
this.lblEditTime.text(value + ' ' + this.txtMinutes);
|
// if (value)
|
||||||
}
|
// this.lblEditTime.text(value + ' ' + this.txtMinutes);
|
||||||
this._ShowHideInfoItem(this.lblEditTime, !!value);
|
// }
|
||||||
|
// this._ShowHideInfoItem(this.lblEditTime, !!value);
|
||||||
|
|
||||||
if (props) {
|
if (props) {
|
||||||
var visible = false;
|
var visible = false;
|
||||||
|
|
Loading…
Reference in a new issue