Bug 303998 - home page location(s) input field scroll doesn't work properly on long URLs. r=mconnor.

This commit is contained in:
mozilla.mano%sent.com 2005-09-15 21:56:30 +00:00
Родитель e6daaf090b
Коммит df1935666b
1 изменённых файлов: 5 добавлений и 1 удалений

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

@ -354,8 +354,12 @@
setValue(aElement, "checked", val);
else if (aElement.localName == "colorpicker")
setValue(aElement, "color", val);
else
else if (this.getElementValue(aElement) != val) {
// XXXmano Bug 303998: Avoid a caret placement issue if either the
// preference observer or its setter calls updateElements as a result
// of the input event handler.
setValue(aElement, "value", val);
}
]]>
</body>
</method>