зеркало из https://github.com/mozilla/pjs.git
Missed these from checkin for
Bug 143248 r=dcone,conrad sr=attinasi
This commit is contained in:
Родитель
2cb08f78cb
Коммит
14ff8277df
|
@ -327,7 +327,7 @@
|
|||
if (aValue == "ShrinkToFit") {
|
||||
if (!settings.shrinkToFit) {
|
||||
settings.shrinkToFit = true;
|
||||
print.printPreview(settings);
|
||||
print.printPreview(settings, null);
|
||||
this.mScaleCombobox.setAttribute('lastValidInx', this.mScaleCombobox.selectedIndex);
|
||||
// update total number of pages since this could have changed
|
||||
this.mTotalPages.value = print.printPreviewNumPages;
|
||||
|
@ -353,7 +353,7 @@
|
|||
|
||||
settings.shrinkToFit = false;
|
||||
settings.scaling = aValue;
|
||||
print.printPreview(settings);
|
||||
print.printPreview(settings, null);
|
||||
// update total number of pages since this could have changed
|
||||
this.mTotalPages.value = print.printPreviewNumPages;
|
||||
]]>
|
||||
|
@ -384,7 +384,7 @@
|
|||
var print = this._getWebBrowserPrint();
|
||||
var settings = print.currentPrintSettings;
|
||||
settings.orientation = orientValue;
|
||||
print.printPreview(settings);
|
||||
print.printPreview(settings, null);
|
||||
|
||||
// update total number of pages since this could have changed
|
||||
this.mTotalPages.value = print.printPreviewNumPages;
|
||||
|
|
Загрузка…
Ссылка в новой задаче