Bug 292319, Set trust for XForms events. r=doron+aaronr, a=mkaply, NPOTB
git-svn-id: svn://10.0.0.236/trunk@173003 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -78,8 +78,7 @@ NS_IMETHODIMP nsXFormsActionModuleBase::OnDestroyed()
|
||||
NS_IMETHODIMP
|
||||
nsXFormsActionModuleBase::HandleEvent(nsIDOMEvent* aEvent)
|
||||
{
|
||||
if (!aEvent)
|
||||
return NS_ERROR_INVALID_ARG;
|
||||
return HandleAction(aEvent, nsnull);
|
||||
return nsXFormsUtils::EventHandlingAllowed(aEvent, mElement) ?
|
||||
HandleAction(aEvent, nsnull) : NS_OK;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user