rem: if (!isHTMLSelectElement(ele)) 
add: if (!DWRUtil.isHTMLSelectElement(ele)) 
context: function fillList(id, data, valueprop, textprop){    var ele = document.getElementById(id);    if (ele == null)    {        alert("Element id: "+id+" not found.");        throw id;    }    if (!isHTMLSelectElement(ele))    {        alert("fillList() can only be used with select elements. Attempt to use: " + detailedTypeOf(ele));        throw ele;    }    // Empty the list    ele.options.length = 0;    // Bail if we have no data    if (data == null)    {        return;    }    // Loop through the data that we do have    for (var i = 0; i < data.length; i++)    {        var text;        var value;        if (valueprop != null)        {            if (textprop != null)            {                text = data[i][textprop];                value = data[i][valueprop];            }            else            {                value = data[i][valueprop];                text = value;            }        }        else        {            if (textprop != null)            {                text = data[i][textprop];                value = text;            }            else            {                text = toDescriptiveString(data[i]);                value = text;            }        }        var opt = new Option(text, value);        ele.options[ele.options.length] = opt;    }}
meta: 266	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/266/1c2e43c84790bfe925e41713280232cd61fc9288/util.js/clean/java/uk/ltd/getahead/dwr/util.js