зеркало из https://github.com/mozilla/pjs.git
don't pass the exception back in the alert dialog.
that's not useful to the user.
This commit is contained in:
Родитель
4e39fe98d8
Коммит
d5c0d20e01
|
@ -1550,7 +1550,7 @@ function ComposeLoad()
|
||||||
catch (ex) {
|
catch (ex) {
|
||||||
var errorTitle = sComposeMsgsBundle.getString("initErrorDlogTitle");
|
var errorTitle = sComposeMsgsBundle.getString("initErrorDlogTitle");
|
||||||
var errorMsg = sComposeMsgsBundle.getFormattedString("initErrorDlogMessage",
|
var errorMsg = sComposeMsgsBundle.getFormattedString("initErrorDlogMessage",
|
||||||
[ex]);
|
[""]);
|
||||||
if (gPromptService)
|
if (gPromptService)
|
||||||
gPromptService.alert(window, errorTitle, errorMsg);
|
gPromptService.alert(window, errorTitle, errorMsg);
|
||||||
else
|
else
|
||||||
|
|
Загрузка…
Ссылка в новой задаче