* Addressbook: fixed error in extended search

This commit is contained in:
Ralf Becker 2012-10-24 09:53:46 +00:00
parent 797c28e008
commit 30d1c07e83

View File

@ -126,9 +126,12 @@ function check_value(input, own_id)
if (typeof data.fileas_options == 'object')
{
var selbox = document.getElementById("exec[fileas_type]");
for (var i=0; i < data.fileas_options.length; i++)
if (selbox)
{
selbox.options[i].text = data.fileas_options[i];
for (var i=0; i < data.fileas_options.length; i++)
{
selbox.options[i].text = data.fileas_options[i];
}
}
}
});