fixing small optimization oversight. based on pixleys code that was beta2+. optimization is not valid in this case. r=churchill
git-svn-id: svn://10.0.0.236/trunk@71214 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
e0e6694c78
commit
5fd3bcf324
@ -106,14 +106,14 @@ nsresult nsJSEventListener::HandleEvent(nsIDOMEvent* aEvent)
|
||||
//JS can't handle this event yet or can't handle it at all
|
||||
return NS_OK;
|
||||
}
|
||||
if (mReturnResult == nsReturnResult_eNotSet) {
|
||||
//if (mReturnResult == nsReturnResult_eNotSet) {
|
||||
if (eventString.EqualsWithConversion("error") || eventString.EqualsWithConversion("mouseover")) {
|
||||
mReturnResult = nsReturnResult_eReverseReturnResult;
|
||||
}
|
||||
else {
|
||||
mReturnResult = nsReturnResult_eDoNotReverseReturnResult;
|
||||
}
|
||||
}
|
||||
//}
|
||||
eventString.InsertWithConversion("on", 0, 2);
|
||||
}
|
||||
else {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user