[mobile] Bug 39380
This commit is contained in:
parent
20485598b5
commit
fb0af71a56
|
@ -554,6 +554,9 @@ define([
|
||||||
|
|
||||||
onShowHelp: function () {
|
onShowHelp: function () {
|
||||||
var url = '{{HELP_URL}}';
|
var url = '{{HELP_URL}}';
|
||||||
|
if (url.charAt(url.length-1) !== '/') {
|
||||||
|
url += '/';
|
||||||
|
}
|
||||||
if (Common.SharedSettings.get('android')) {
|
if (Common.SharedSettings.get('android')) {
|
||||||
url+='mobile-applications/documents/android/index.aspx';
|
url+='mobile-applications/documents/android/index.aspx';
|
||||||
} else if (Common.SharedSettings.get('sailfish')) {
|
} else if (Common.SharedSettings.get('sailfish')) {
|
||||||
|
|
|
@ -181,6 +181,9 @@ define([
|
||||||
|
|
||||||
showHelp: function () {
|
showHelp: function () {
|
||||||
var url = '{{HELP_URL}}';
|
var url = '{{HELP_URL}}';
|
||||||
|
if (url.charAt(url.length-1) !== '/') {
|
||||||
|
url += '/';
|
||||||
|
}
|
||||||
if (Common.SharedSettings.get('android')) {
|
if (Common.SharedSettings.get('android')) {
|
||||||
url+='mobile-applications/documents/android/index.aspx';
|
url+='mobile-applications/documents/android/index.aspx';
|
||||||
} else if (Common.SharedSettings.get('sailfish')) {
|
} else if (Common.SharedSettings.get('sailfish')) {
|
||||||
|
|
|
@ -113,6 +113,9 @@ define([
|
||||||
'page:show' : this.onPageShow
|
'page:show' : this.onPageShow
|
||||||
, 'settings:showhelp': function(e) {
|
, 'settings:showhelp': function(e) {
|
||||||
var url = '{{HELP_URL}}';
|
var url = '{{HELP_URL}}';
|
||||||
|
if (url.charAt(url.length-1) !== '/') {
|
||||||
|
url += '/';
|
||||||
|
}
|
||||||
if (Common.SharedSettings.get('android')) {
|
if (Common.SharedSettings.get('android')) {
|
||||||
url+='mobile-applications/documents/android/index.aspx';
|
url+='mobile-applications/documents/android/index.aspx';
|
||||||
} else if (Common.SharedSettings.get('sailfish')) {
|
} else if (Common.SharedSettings.get('sailfish')) {
|
||||||
|
|
|
@ -43,6 +43,9 @@ module.exports = function(grunt) {
|
||||||
}, {
|
}, {
|
||||||
from: /\{\{APP_TITLE_TEXT\}\}/g,
|
from: /\{\{APP_TITLE_TEXT\}\}/g,
|
||||||
to: process.env['APP_TITLE_TEXT'] || 'ONLYOFFICE'
|
to: process.env['APP_TITLE_TEXT'] || 'ONLYOFFICE'
|
||||||
|
}, {
|
||||||
|
from: /\{\{HELP_URL\}\}/g,
|
||||||
|
to: process.env['HELP_URL'] || 'https://helpcenter.onlyoffice.com'
|
||||||
}];
|
}];
|
||||||
|
|
||||||
var helpreplacements = [
|
var helpreplacements = [
|
||||||
|
|
Loading…
Reference in a new issue