diff --git a/docs/api/components_settings_settings.brs.html b/docs/api/components_settings_settings.brs.html
index 10413f123..848773507 100644
--- a/docs/api/components_settings_settings.brs.html
+++ b/docs/api/components_settings_settings.brs.html
@@ -73,7 +73,6 @@
Source: components/settings/settings.brs
class="sunlight-highlight-javascript linenums">import "pkg:/source/utils/config.brs"
import "pkg:/source/utils/misc.brs"
import "pkg:/source/roku_modules/log/LogMixin.brs"
-import "pkg:/source/api/sdk.bs"
sub init()
m.log = log.Logger("Settings")
@@ -274,16 +273,21 @@ Source: components/settings/settings.brs
set_user_setting(selectedSetting.settingName, m.radioSetting.content.getChild(m.radioSetting.checkedItem).id)
end sub
+' Returns true if any of the data entry forms are in focus
+function isFormInFocus() as boolean
+ if isValid(m.settingDetail.focusedChild) or m.radioSetting.hasFocus() or m.boolSetting.hasFocus() or m.integerSetting.hasFocus()
+ return true
+ end if
+ return false
+end function
+
function onKeyEvent(key as string, press as boolean) as boolean
if not press then return false
if (key = "back" or key = "left") and m.settingsMenu.focusedChild <> invalid and m.userLocation.Count() > 1
LoadMenu({})
return true
- else if (key = "back" or key = "left") and m.settingDetail.focusedChild <> invalid
- m.settingsMenu.setFocus(true)
- return true
- else if (key = "back" or key = "left") and m.radioSetting.hasFocus()
+ else if (key = "back" or key = "left") and isFormInFocus()
m.settingsMenu.setFocus(true)
return true
end if
diff --git a/docs/api/module-settings.html b/docs/api/module-settings.html
index cbb9a3cda..171718570 100644
--- a/docs/api/module-settings.html
+++ b/docs/api/module-settings.html
@@ -507,6 +507,114 @@ Returns:
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Returns true if any of the data entry forms are in focus
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ - Source:
+ -
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Returns:
+
+
+
+
+
+ -
+ Type
+
+ -
+
+boolean
+
+
+
+
+
+
+
+
+
+
@@ -638,7 +746,7 @@ Parameters:
diff --git a/docs/api/quicksearch.html b/docs/api/quicksearch.html
index ff782415b..9c9392707 100644
--- a/docs/api/quicksearch.html
+++ b/docs/api/quicksearch.html
@@ -7,7 +7,7 @@