mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-27 12:15:33 +00:00
fix for #80499. sr=bienvenu
This commit is contained in:
parent
4f53297cd6
commit
3bf9df3490
@ -856,8 +856,8 @@ function MsgToggleWorkOffline()
|
||||
switch(prefSendUnsentMessages)
|
||||
{
|
||||
case 0:
|
||||
window.openDialog("chrome://messenger/content/sendMsgs.xul", "Send Unsent Messages",
|
||||
"chrome,modal,titlebar,resizable=no", args);
|
||||
window.openDialog("chrome://messenger/content/sendMsgs.xul", "sendUnsentMessages",
|
||||
"centerscreen,chrome,modal,titlebar,resizable=no", args);
|
||||
if(args.result == 1) {
|
||||
ioService.offline = !ioService.offline;
|
||||
broadcaster.removeAttribute("offline");
|
||||
@ -908,8 +908,8 @@ function MsgToggleWorkOffline()
|
||||
switch(prefDownloadMessages)
|
||||
{
|
||||
case 0:
|
||||
window.openDialog("chrome://messenger/content/downloadMsgs.xul", "Download Messages",
|
||||
"chrome,modal,titlebar,resizable=no", args);
|
||||
window.openDialog("chrome://messenger/content/downloadMsgs.xul", "downloadMessages",
|
||||
"centerscreen,chrome,modal,titlebar,resizable=no", args);
|
||||
if(args.result == 1) {
|
||||
ioService.offline = !ioService.offline;
|
||||
broadcaster.setAttribute("offline", "true");
|
||||
|
Loading…
Reference in New Issue
Block a user