rem: gFilter = window.arguments[0].filter; 
add:  gFilter = window.arguments[0].filter; initializeDialog(gFilter); } else { gFilterList = args.filterList; if (gFilterList) setSearchScope(getScopeFromFilterList(gFilterList));   if ("filterName" in args) { gPreFillName = args.filterName; gFilter = gFilterList.createFilter(gPreFillName); var term = gFilter.createTerm();  term.attrib = Components.interfaces.nsMsgSearchAttrib.Sender; term.op = Components.interfaces.nsMsgSearchOp.Is;  var termValue = term.value; termValue.attrib = term.attrib; termValue.str = gPreFillName;  term.value = termValue;  gFilter.appendTerm(term); gFilter.action = nsMsgFilterAction.MoveToFolder; 
context: function filterEditorOnLoad(){    initializeSearchWidgets();    initializeFilterWidgets();    gFilterBundle = document.getElementById("bundle_filter");    if ("arguments" in window && window.arguments[0]) {        var args = window.arguments[0];        if ("filter" in args) {            gFilter = window.arguments[0].filter;            initializeDialog(gFilter);        } else {            gFilterList = args.filterList;            if (gFilterList)                setSearchScope(getScopeFromFilterList(gFilterList));            // fake the first more button press            onMore(null);        }    }    if (!gFilter)    {      var stub = gFilterBundle.getString("untitledFilterName");      var count = 1;      var name = stub;      // Set the default filter name to be "untitled filter"      while (duplicateFilterNameExists(name))       {        count++;        name = stub + " " + count.toString();      }      gFilterNameElement.value = name;    }    gFilterNameElement.focus();    doSetOKCancel(onOk, null);    moveToAlertPosition();}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/67bc4ca68d6ba1714c556474c3e3d7a083930641/FilterEditor.js/buggy/mailnews/base/search/resources/content/FilterEditor.js