[SSE] refactoring
This commit is contained in:
parent
955c01d65d
commit
a350d98f8f
|
@ -503,7 +503,7 @@ define([
|
|||
|
||||
return undefined;
|
||||
},
|
||||
helpAvailable: function () {
|
||||
isHelpAvailable: function () {
|
||||
return !!helpUrl;
|
||||
},
|
||||
getDefaultPrinterName: function () {
|
||||
|
|
|
@ -461,7 +461,7 @@ define([
|
|||
url = 'resources/help/' + lang + name;
|
||||
|
||||
if ( Common.Controllers.Desktop.isActive() ) {
|
||||
if ( Common.Controllers.Desktop.helpAvailable() )
|
||||
if ( Common.Controllers.Desktop.isHelpAvailable() )
|
||||
url = Common.Controllers.Desktop.helpUrl() + name;
|
||||
else {
|
||||
const helpCenter = Common.Utils.InternalSettings.get('url-help-center');
|
||||
|
|
Loading…
Reference in a new issue