зеркало из https://github.com/mozilla/pjs.git
Fix for printing window being on the screen - r: putterman
This commit is contained in:
Родитель
e8b7ae6f1b
Коммит
76d7f7da19
|
@ -87,7 +87,10 @@ function StopUrls()
|
||||||
|
|
||||||
function PrintEnginePrint()
|
function PrintEnginePrint()
|
||||||
{
|
{
|
||||||
|
var left = screen.width + 50;
|
||||||
|
var top = screen.height + 50;
|
||||||
printEngineWindow = window.openDialog("chrome://messenger/content/msgPrintEngine.xul",
|
printEngineWindow = window.openDialog("chrome://messenger/content/msgPrintEngine.xul",
|
||||||
"",
|
"",
|
||||||
"chrome,dialog=no,all");
|
"chrome,dialog=no,all",
|
||||||
|
"left="+left+",top="+top+")");
|
||||||
}
|
}
|
||||||
|
|
Загрузка…
Ссылка в новой задаче