Bug 75227 - Unable to confirm profile migration - therefore can't migrate. r=danm, sr=sspitzer

git-svn-id: svn://10.0.0.236/trunk@91767 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
ccarlen%netscape.com 2001-04-09 20:24:32 +00:00
parent 14b1dbb9be
commit d2513c7c92

View File

@ -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;