safe parsing for input_map_choices in ui

refactor-checkForObjectsInRegions
Moe 2023-02-24 11:27:11 -08:00
parent 1c08c6debe
commit f366f7b0bb
1 changed files with 1 additions and 1 deletions

View File

@ -618,7 +618,7 @@ function importIntoMonitorEditor(options){
input_map_choices = monitorDetails.input_map_choices;
}
$.each(input_map_choices,function(n,v){
$.each(v,function(m,b){
$.each(safeJsonParse(v),function(m,b){
var parent = $('[input-mapping="'+n+'"] .choices')
drawInputMapSelectorHtml(b,parent)
})