fix JSON error in trunk with readonly fileas-type selector (AD)

This commit is contained in:
Ralf Becker 2013-07-11 15:34:30 +00:00
parent 3060d95322
commit dae37d17a8

View File

@ -147,9 +147,9 @@ function check_value(input, own_id)
selbox.options[i].text = data.fileas_options[i];
}
}
else
else if (template && (selbox = template.widgetContainer.getWidgetById('fileas_type')))
{
template.widgetContainer.getWidgetById('fileas_type').set_select_options(data.fileas_sel_options);
selbox.set_select_options(data.fileas_sel_options);
}
}
});