Skip to content

Commit

Permalink
Fixed issue: HMI Uncaught SyntaxError after processing SetDisplayLayo…
Browse files Browse the repository at this point in the history
…ut(displayLayout = DEFAULT) for media and non-media apps
  • Loading branch information
ValeriiMalkov committed Sep 15, 2021
1 parent 050a565 commit 1897d6c
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion app/model/sdl/Abstract/Model.js
Original file line number Diff line number Diff line change
Expand Up @@ -626,7 +626,6 @@ SDL.SDLModel = Em.Object.extend({
return model.appType.indexOf('WEB_VIEW') >= 0;
}
case 'NON-MEDIA':
case 'DEFAULT':
{
return true;
}
Expand Down
2 changes: 1 addition & 1 deletion app/model/sdl/Abstract/data.js
Original file line number Diff line number Diff line change
Expand Up @@ -1183,7 +1183,7 @@ SDL.SDLModelData = Em.Object.create(
],
"imageTypeSupported": ["STATIC", "DYNAMIC"],
"numCustomPresetsAvailable": 8,
"templatesAvailable": ["MEDIA", "NON-MEDIA", "DEFAULT", "NAV_FULLSCREEN_MAP", 'WEB_VIEW'],
"templatesAvailable": ["MEDIA", "NON-MEDIA", "NAV_FULLSCREEN_MAP", 'WEB_VIEW'],
"buttonCapabilities": [
{
"longPressAvailable": true,
Expand Down
2 changes: 1 addition & 1 deletion ffw/UIRPC.js
Original file line number Diff line number Diff line change
Expand Up @@ -1087,7 +1087,7 @@ FFW.UI = FFW.RPCObserver.create(
],
'graphicSupported': true,
'imageCapabilities': ['DYNAMIC', 'STATIC'],
'templatesAvailable': ["MEDIA", "NON-MEDIA", "DEFAULT", "NAV_FULLSCREEN_MAP", 'WEB_VIEW'],
'templatesAvailable': ["MEDIA", "NON-MEDIA", "NAV_FULLSCREEN_MAP", 'WEB_VIEW'],
'screenParams': {
'resolution': {
'resolutionWidth': 800,
Expand Down

0 comments on commit 1897d6c

Please sign in to comment.