mirror of
https://github.com/hyperion-project/hyperion.ng.git
synced 2025-03-01 10:33:28 +00:00
Improve language selection usability
This commit is contained in:
@@ -178,6 +178,17 @@ function updateHyperionInstanceListing()
|
||||
}
|
||||
}
|
||||
|
||||
function initLanguageSelection()
|
||||
{
|
||||
for (var i = 0; i < availLang.length; i++)
|
||||
{
|
||||
$("#language-select").append('<option value="'+i+'" selected="">'+availLangText[i]+'</option>');
|
||||
}
|
||||
|
||||
$("#language-select").val(availLang.indexOf(storedLang));
|
||||
$("#language-select").selectpicker("refresh");
|
||||
}
|
||||
|
||||
function updateUiOnInstance(inst)
|
||||
{
|
||||
if(inst != 0)
|
||||
|
Reference in New Issue
Block a user