[mobile] Bug 39380
This commit is contained in:
parent
c6babae479
commit
20485598b5
|
@ -553,7 +553,15 @@ define([
|
||||||
},
|
},
|
||||||
|
|
||||||
onShowHelp: function () {
|
onShowHelp: function () {
|
||||||
window.open('{{SUPPORT_URL}}', "_blank");
|
var url = '{{HELP_URL}}';
|
||||||
|
if (Common.SharedSettings.get('android')) {
|
||||||
|
url+='mobile-applications/documents/android/index.aspx';
|
||||||
|
} else if (Common.SharedSettings.get('sailfish')) {
|
||||||
|
url+='mobile-applications/documents/sailfish/index.aspx';
|
||||||
|
} else {
|
||||||
|
url+='mobile-applications/documents/index.aspx';
|
||||||
|
}
|
||||||
|
window.open(url, "_blank");
|
||||||
this.hideModal();
|
this.hideModal();
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
|
@ -180,7 +180,15 @@ define([
|
||||||
},
|
},
|
||||||
|
|
||||||
showHelp: function () {
|
showHelp: function () {
|
||||||
window.open('{{SUPPORT_URL}}', "_blank");
|
var url = '{{HELP_URL}}';
|
||||||
|
if (Common.SharedSettings.get('android')) {
|
||||||
|
url+='mobile-applications/documents/android/index.aspx';
|
||||||
|
} else if (Common.SharedSettings.get('sailfish')) {
|
||||||
|
url+='mobile-applications/documents/sailfish/index.aspx';
|
||||||
|
} else {
|
||||||
|
url+='mobile-applications/documents/index.aspx';
|
||||||
|
}
|
||||||
|
window.open(url, "_blank");
|
||||||
PE.getController('Settings').hideModal();
|
PE.getController('Settings').hideModal();
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
|
@ -112,7 +112,15 @@ define([
|
||||||
'Settings': {
|
'Settings': {
|
||||||
'page:show' : this.onPageShow
|
'page:show' : this.onPageShow
|
||||||
, 'settings:showhelp': function(e) {
|
, 'settings:showhelp': function(e) {
|
||||||
window.open('{{SUPPORT_URL}}', "_blank");
|
var url = '{{HELP_URL}}';
|
||||||
|
if (Common.SharedSettings.get('android')) {
|
||||||
|
url+='mobile-applications/documents/android/index.aspx';
|
||||||
|
} else if (Common.SharedSettings.get('sailfish')) {
|
||||||
|
url+='mobile-applications/documents/sailfish/index.aspx';
|
||||||
|
} else {
|
||||||
|
url+='mobile-applications/documents/index.aspx';
|
||||||
|
}
|
||||||
|
window.open(url, "_blank");
|
||||||
this.hideModal();
|
this.hideModal();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue