From 2355a47f2793a3d25307ffdeb5b327edaea8b91b Mon Sep 17 00:00:00 2001 From: "ccarlen%netscape.com" Date: Mon, 9 Apr 2001 20:24:32 +0000 Subject: [PATCH] Bug 75227 - Unable to confirm profile migration - therefore can't migrate. r=danm, sr=sspitzer --- profile/resources/content/profileSelection.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/profile/resources/content/profileSelection.js b/profile/resources/content/profileSelection.js index 4986b37833d..40250c205be 100644 --- a/profile/resources/content/profileSelection.js +++ b/profile/resources/content/profileSelection.js @@ -172,7 +172,9 @@ function onStart() gBrandBundle.getString("brandShortName")); var title = gProfileManagerBundle.getString("migratetitle"); - if (promptService.Confirm(window, title, lString)) + var promptService = Components.classes["@mozilla.org/embedcomp/prompt-service;1"].getService(); + promptService = promptService.QueryInterface(Components.interfaces.nsIPromptService); + if (promptService.confirm(window, title, lString)) profile.migrateProfile( profilename, true ); else return false;