Bug 143248 r=dcone,conrad sr=attinasi
This commit is contained in:
rods%netscape.com 2006-07-29 05:35:02 +00:00
Родитель 2cb08f78cb
Коммит 14ff8277df
1 изменённых файлов: 3 добавлений и 3 удалений

Просмотреть файл

@ -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;