mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-17 07:15:46 +00:00
Fix for bug 830342 (Scale combobox is broken in print-preview, after selecting "Custom" and then hitting "Cancel" on its spawned dialog). r=dolske.
--HG-- extra : rebase_source : 6c8804f960ac42e0773d4283637bf4073aeb408c
This commit is contained in:
parent
c1b3c1ac36
commit
a0c91feb8e
@ -294,7 +294,9 @@
|
||||
if (aValue >= 10) {
|
||||
aValue /= 100.0;
|
||||
} else {
|
||||
this.mScaleCombobox.selectedIndex = this.mScaleCombobox.getAttribute('lastValidInx');
|
||||
if (this.mScaleCombobox.hasAttribute('lastValidInx')) {
|
||||
this.mScaleCombobox.selectedIndex = this.mScaleCombobox.getAttribute('lastValidInx');
|
||||
}
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user