зеркало из https://github.com/mozilla/gecko-dev.git
bug 11803 Need new event for text value changing
r=hyatt@netscape.com not dogfood approved, but the fix has been sitting in my tree for 2 weeks
This commit is contained in:
Родитель
102c1fb55e
Коммит
9c89a6b52d
|
@ -661,6 +661,8 @@ nsGenericHTMLElement::SetAttribute(PRInt32 aNameSpaceID,
|
|||
AddScriptEventListener(aAttribute, aValue, kIDOMFormListenerIID);
|
||||
else if (nsHTMLAtoms::onpaint == aAttribute)
|
||||
AddScriptEventListener(aAttribute, aValue, kIDOMPaintListenerIID);
|
||||
else if (nsHTMLAtoms::oninput == aAttribute)
|
||||
AddScriptEventListener(aAttribute, aValue, kIDOMFormListenerIID);
|
||||
}
|
||||
|
||||
nsHTMLValue val;
|
||||
|
|
|
@ -661,6 +661,8 @@ nsGenericHTMLElement::SetAttribute(PRInt32 aNameSpaceID,
|
|||
AddScriptEventListener(aAttribute, aValue, kIDOMFormListenerIID);
|
||||
else if (nsHTMLAtoms::onpaint == aAttribute)
|
||||
AddScriptEventListener(aAttribute, aValue, kIDOMPaintListenerIID);
|
||||
else if (nsHTMLAtoms::oninput == aAttribute)
|
||||
AddScriptEventListener(aAttribute, aValue, kIDOMFormListenerIID);
|
||||
}
|
||||
|
||||
nsHTMLValue val;
|
||||
|
|
Загрузка…
Ссылка в новой задаче