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

This commit is contained in:
ccarlen%netscape.com 2001-04-09 20:24:32 +00:00
Родитель eb9950e993
Коммит 2355a47f27
1 изменённых файлов: 3 добавлений и 1 удалений

Просмотреть файл

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