зеркало из https://github.com/mozilla/pjs.git
Bug 313933, select1 initial size wrong, r=doronr+allan
This commit is contained in:
Родитель
6cd46e9b76
Коммит
000c5a6c2a
|
@ -350,15 +350,6 @@ nsXFormsItemElement::GetLabelText(nsAString& aValue)
|
|||
NS_IMETHODIMP
|
||||
nsXFormsItemElement::LabelRefreshed()
|
||||
{
|
||||
nsCOMPtr<nsIDOMDocument> domDoc;
|
||||
mElement->GetOwnerDocument(getter_AddRefs(domDoc));
|
||||
nsCOMPtr<nsIDocument> doc = do_QueryInterface(domDoc);
|
||||
// This is an optimization. It prevents us doing some of the unnecessary
|
||||
// refreshes.
|
||||
if (doc && doc->GetProperty(nsXFormsAtoms::deferredBindListProperty)) {
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
NS_ENSURE_STATE(mElement);
|
||||
nsCOMPtr<nsIDOMNode> parent, current;
|
||||
current = mElement;
|
||||
|
|
Загрузка…
Ссылка в новой задаче