rem: if (targets && targets.length) { 
add: if (targets && targets.length > 0) { 
context: function initializeDialog(filter){    gFilterNameElement.value = filter.filterName;    gActionElement.selectedItem=gActionElement.getElementsByAttribute("data", filter.action)[0];    if (filter.action == nsMsgFilterAction.MoveToFolder) {        // there are multiple sub-items that have given attribute        var targets = gActionTargetElement.getElementsByAttribute("data", filter.actionTargetFolderUri);        if (targets && targets.length) {            var target = targets[0];            if (target.tagName == "menuitem")                gActionTargetElement.selectedItem = target;        }    }            var scope = getScope(filter);    setSearchScope(scope);    initializeSearchRows(scope, filter.searchTerms)}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/f18e2f823073f78ee33041bea9ec015a431e422c/FilterEditor.js/clean/mailnews/base/search/resources/content/FilterEditor.js