зеркало из https://github.com/mozilla/gecko-dev.git
Bug 313933, select1 initial size wrong, r=doronr+allan
This commit is contained in:
Родитель
5377c50ef2
Коммит
1a79f4ac5e
|
@ -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;
|
||||
|
|
Загрузка…
Ссылка в новой задаче