rem: var str = gFilterBundle.getString("cannotEnableFilter"); window.alert(str); 
add: if (gPromptService) gPromptService.alert(window, null, gFilterBundle.getString("cannotEnableFilter")); 
context: function toggleFilter(aFilterURI){    var filterResource = gRDF.GetResource(aFilterURI);    var filter = filterResource.GetDelegate("filter",                                            Components.interfaces.nsIMsgFilter);    if (filter.unparseable)    {      var str = gFilterBundle.getString("cannotEnableFilter");      window.alert(str);      return;    }    filter.enabled = !filter.enabled;    refresh();}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/ec781c1358f10012597ac6487bce38c3d52cec13/FilterListDialog.js/buggy/mailnews/base/search/resources/content/FilterListDialog.js