rem: promptService.confirmEx(window, title, message, 
add: return promptService.confirmEx(window, title, message, 
context: function ConfirmWithTitle(title, message, okButtonText, cancelButtonText){  var promptService = Components.classes["@mozilla.org/embedcomp/prompt-service;1"].getService();  promptService = promptService.QueryInterface(Components.interfaces.nsIPromptService);  if (promptService)  {    var result = {value:0};    var okFlag = okButtonText ? promptService.BUTTON_TITLE_IS_STRING : promptService.BUTTON_TITLE_OK;    var cancelFlag = cancelButtonText ? promptService.BUTTON_TITLE_IS_STRING : promptService.BUTTON_TITLE_CANCEL;    promptService.confirmEx(window, title, message,                            (okFlag * promptService.BUTTON_POS_0) +                            (cancelFlag * promptService.BUTTON_POS_1),                            okButtonText, cancelButtonText, null, null, {value:0}, result);    return (result.value == 0);        }  return false;}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/dda079660d01fe165fef424ba0c8f39e18a61722/editorUtilities.js/clean/editor/ui/composer/content/editorUtilities.js