зеркало из https://github.com/mozilla/pjs.git
Bug 75227 - Unable to confirm profile migration - therefore can't migrate. r=danm, sr=sspitzer
This commit is contained in:
Родитель
eb9950e993
Коммит
2355a47f27
|
@ -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;
|
||||
|
|
Загрузка…
Ссылка в новой задаче