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