rem: if (valuerev != null) 
add: if (useOptions) 
context: DWRUtil.addOptions = function(ele, data, valuerev, textprop){    var orig = ele;    ele = $(ele);    if (ele == null)    {        alert("fillList() can't find an element with id: " + orig + ".");        return;    }    if (!DWRUtil._isHTMLElement(ele, "select"))    {        alert("fillList() can only be used with select elements. Attempt to use: " + DWRUtil._detailedTypeOf(ele));        return;    }    // Bail if we have no data    if (data == null)    {        return;    }    var text;    var value;    if (DWRUtil._isArray(data))    {        // Loop through the data that we do have        for (var i = 0; i < data.length; i++)        {            if (valuerev != null)            {                if (textprop != null)                {                    text = data[i][textprop];                    value = data[i][valuerev];                }                else                {                    value = data[i][valuerev];                    text = value;                }            }            else            {                if (textprop != null)                {                    text = data[i][textprop];                    value = text;                }                else                {                    text = "" + data[i];                    value = text;                }            }            var opt = new Option(text, value);            ele.options[ele.options.length] = opt;        }    }    else    {        for (var prop in data)        {            if (valuerev)            {                text = prop;                value = data[prop];            }            else            {                text = data[prop];                value = prop;            }            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/8828b7c0ab7fb248f54763f46ea484b24532c33e/util.js/clean/java/uk/ltd/getahead/dwr/util.js