Bug 47219
This commit is contained in:
parent
0ca0c83dd3
commit
5f6a8dcc78
|
@ -1136,7 +1136,7 @@ define([
|
||||||
|
|
||||||
var appname = (this.api) ? this.api.asc_getAppProps() : null;
|
var appname = (this.api) ? this.api.asc_getAppProps() : null;
|
||||||
if (appname) {
|
if (appname) {
|
||||||
appname = (appname.asc_getApplication() || '') + ' ' + (appname.asc_getAppVersion() || '');
|
appname = (appname.asc_getApplication() || '') + (appname.asc_getAppVersion() ? ' ' : '') + (appname.asc_getAppVersion() || '');
|
||||||
this.lblApplication.text(appname);
|
this.lblApplication.text(appname);
|
||||||
}
|
}
|
||||||
this._ShowHideInfoItem(this.lblApplication, !!appname);
|
this._ShowHideInfoItem(this.lblApplication, !!appname);
|
||||||
|
|
|
@ -442,7 +442,7 @@ define([
|
||||||
|
|
||||||
var appProps = (this.api) ? this.api.asc_getAppProps() : null;
|
var appProps = (this.api) ? this.api.asc_getAppProps() : null;
|
||||||
if (appProps) {
|
if (appProps) {
|
||||||
var appName = (appProps.asc_getApplication() || '') + ' ' + (appProps.asc_getAppVersion() || '');
|
var appName = (appProps.asc_getApplication() || '') + (appProps.asc_getAppVersion() ? ' ' : '') + (appProps.asc_getAppVersion() || '');
|
||||||
appName ? $('#settings-doc-application').html(appName) : $('.display-application').remove();
|
appName ? $('#settings-doc-application').html(appName) : $('.display-application').remove();
|
||||||
}
|
}
|
||||||
var props = (this.api) ? this.api.asc_getCoreProps() : null;
|
var props = (this.api) ? this.api.asc_getCoreProps() : null;
|
||||||
|
|
|
@ -1007,7 +1007,7 @@ define([
|
||||||
|
|
||||||
var appname = (this.api) ? this.api.asc_getAppProps() : null;
|
var appname = (this.api) ? this.api.asc_getAppProps() : null;
|
||||||
if (appname) {
|
if (appname) {
|
||||||
appname = (appname.asc_getApplication() || '') + ' ' + (appname.asc_getAppVersion() || '');
|
appname = (appname.asc_getApplication() || '') + (appname.asc_getAppVersion() ? ' ' : '') + (appname.asc_getAppVersion() || '');
|
||||||
this.lblApplication.text(appname);
|
this.lblApplication.text(appname);
|
||||||
}
|
}
|
||||||
this._ShowHideInfoItem(this.lblApplication, !!appname);
|
this._ShowHideInfoItem(this.lblApplication, !!appname);
|
||||||
|
|
|
@ -226,7 +226,7 @@ define([
|
||||||
|
|
||||||
var appProps = (this.api) ? this.api.asc_getAppProps() : null;
|
var appProps = (this.api) ? this.api.asc_getAppProps() : null;
|
||||||
if (appProps) {
|
if (appProps) {
|
||||||
var appName = (appProps.asc_getApplication() || '') + ' ' + (appProps.asc_getAppVersion() || '');
|
var appName = (appProps.asc_getApplication() || '') + (appProps.asc_getAppVersion() ? ' ' : '') + (appProps.asc_getAppVersion() || '');
|
||||||
appName ? $('#settings-pe-application').html(appName) : $('.display-application').remove();
|
appName ? $('#settings-pe-application').html(appName) : $('.display-application').remove();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -1862,7 +1862,7 @@ define([
|
||||||
|
|
||||||
var appname = (this.api) ? this.api.asc_getAppProps() : null;
|
var appname = (this.api) ? this.api.asc_getAppProps() : null;
|
||||||
if (appname) {
|
if (appname) {
|
||||||
appname = (appname.asc_getApplication() || '') + ' ' + (appname.asc_getAppVersion() || '');
|
appname = (appname.asc_getApplication() || '') + (appname.asc_getAppVersion() ? ' ' : '') + (appname.asc_getAppVersion() || '');
|
||||||
this.lblApplication.text(appname);
|
this.lblApplication.text(appname);
|
||||||
}
|
}
|
||||||
this._ShowHideInfoItem(this.lblApplication, !!appname);
|
this._ShowHideInfoItem(this.lblApplication, !!appname);
|
||||||
|
|
|
@ -295,7 +295,7 @@ define([
|
||||||
|
|
||||||
var appProps = (this.api) ? this.api.asc_getAppProps() : null;
|
var appProps = (this.api) ? this.api.asc_getAppProps() : null;
|
||||||
if (appProps) {
|
if (appProps) {
|
||||||
var appName = (appProps.asc_getApplication() || '') + ' ' + (appProps.asc_getAppVersion() || '');
|
var appName = (appProps.asc_getApplication() || '') + (appProps.asc_getAppVersion() ? ' ' : '') + (appProps.asc_getAppVersion() || '');
|
||||||
appName ? $('#settings-sse-application').html(appName) : $('.display-application').remove();
|
appName ? $('#settings-sse-application').html(appName) : $('.display-application').remove();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue