[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: branches/KDE/3.5/kdelibs/khtml/html
From: Allan Sandfeld Jensen <kde () carewolf ! com>
Date: 2006-07-30 14:54:31
Message-ID: 1154271271.712063.27708.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 567892 by carewolf:
Correct the patch for #166092 so it doesn't regress #59489
CCBUG:116092
BUG:59489
M +2 -2 html_formimpl.cpp
--- branches/KDE/3.5/kdelibs/khtml/html/html_formimpl.cpp #567891:567892
@@ -1917,10 +1917,10 @@
if (act) {
NodeImpl* const formNode=getFormElement();
- if (formNode) {
+ if (formNode && evt->target() != formNode) {
getDocument()->setFocusNode(formNode);
if (formNode->id()==ID_INPUT)
- static_cast<DOM::HTMLInputElementImpl*>(formNode)->defaultEventHandler(evt);
+ static_cast<DOM::HTMLInputElementImpl*>(formNode)->click();
evt->setDefaultHandled();
}
}
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic