rem: var name = e.target.options[e.target.selectedIndex].text; 
add: var name = e.target.text; 
context: function onListClick (e){    var name = e.target.options[e.target.selectedIndex].text;    var ary = name.match(/\[.*\] (.*)/);    var name = (ary) ? ary[1] : name;    var btn = document.getElementById ("btnCommand");    switch (client.lastListType)    {        case "networks":            setCurrentNetwork (name);            break;        case "users":            setCurrentUser (name);            break;                    case "channels":            setCurrentChannel (name);            break;        case "chan-users":            setCurrentCUser (name);            break;        default:            break;                }    }
meta: 5872	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/fdc1c3ab4dcabea4d2316cc19c9e51dc782a64d0/test1-handlers.js/buggy/extensions/irc/xul/tests/test1-handlers.js