Bug 860513 - QI fallback service to nsIPromptFactory in getPrompt. r=mfinkle

This commit is contained in:
Nick Alexander 2013-04-11 11:01:52 -07:00
parent 207aeb91a2
commit 6690b3d833

View File

@ -38,7 +38,7 @@ PromptService.prototype = {
let doc = this.getDocument();
if (!doc) {
let fallback = this._getFallbackService();
return fallback.getPrompt(domWin, iid);
return fallback.QueryInterface(Ci.nsIPromptFactory).getPrompt(domWin, iid);
}
let p = new Prompt(domWin, doc);