rem: if (duplicateFilterNameExists(gFilterNameElement.value)) { if (gPromptService) gPromptService.alert(window, gFilterBundle.getString("cannotHaveDuplicateFilterTitle"), gFilterBundle.getString("cannotHaveDuplicateFilterMessage") ); return false; }  
context: function onAccept(){    if (duplicateFilterNameExists(gFilterNameElement.value))    {        if (gPromptService)          gPromptService.alert(window,            gFilterBundle.getString("cannotHaveDuplicateFilterTitle"),            gFilterBundle.getString("cannotHaveDuplicateFilterMessage")          );        return false;    }    if (!saveFilter()) return false;    // parent should refresh filter list..    // this should REALLY only happen when some criteria changes that    // are displayed in the filter dialog, like the filter name    window.arguments[0].refresh = true;    return true;}
meta: 5459	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5459/82820f30a5302b64f66bb075fdd9e8140a1ae230/FilterEditor.js/clean/mailnews/base/search/resources/content/FilterEditor.js