зеркало из https://github.com/mozilla/pjs.git
bug=88608 r=dcone sr=attinasi Put in UI for the A3 paper size for printing
This commit is contained in:
Родитель
8c19dfb55f
Коммит
16361e807b
|
@ -53,6 +53,7 @@ function initDialog()
|
|||
dialog.grayRadio = document.getElementById("grayRadio");
|
||||
|
||||
dialog.a4Radio = document.getElementById("a4Radio");
|
||||
dialog.a3Radio = document.getElementById("a3Radio");
|
||||
dialog.letterRadio = document.getElementById("letterRadio");
|
||||
dialog.legalRadio = document.getElementById("legalRadio");
|
||||
dialog.exectiveRadio = document.getElementById("exectiveRadio");
|
||||
|
@ -249,6 +250,8 @@ function loadDialog()
|
|||
dialog.exectiveRadio.checked = true;
|
||||
} else if ( print_paper_size == gPrintOptInterface.kA4PaperSize ) {
|
||||
dialog.a4Radio.checked = true;
|
||||
} else if ( print_paper_size == gPrintOptInterface.kA3PaperSize ) {
|
||||
dialog.a3Radio.checked = true;
|
||||
}
|
||||
|
||||
dialog.allpagesRadio.checked = true;
|
||||
|
@ -352,6 +355,8 @@ function onOK()
|
|||
print_paper_size = gPrintOptInterface.kExecutivePaperSize;
|
||||
} else if (dialog.a4Radio.checked) {
|
||||
print_paper_size = gPrintOptInterface.kA4PaperSize;
|
||||
} else if (dialog.a3Radio.checked) {
|
||||
print_paper_size = gPrintOptInterface.kA3PaperSize;
|
||||
}
|
||||
printService.paperSize = print_paper_size;
|
||||
|
||||
|
|
|
@ -85,6 +85,7 @@ Contributor(s): Masaki Katakai <katakai@japan.sun.com>
|
|||
<radio group = "paperGroup" id = "legalRadio" label = "&legalRadio.label;"/>
|
||||
<radio group = "paperGroup" id = "exectiveRadio" label = "&exectiveRadio.label;"/>
|
||||
<radio group = "paperGroup" id = "a4Radio" label = "&a4Radio.label;" />
|
||||
<radio group = "paperGroup" id = "a3Radio" label = "&a3Radio.label;" />
|
||||
</radiogroup>
|
||||
</row>
|
||||
<row>
|
||||
|
|
Загрузка…
Ссылка в новой задаче