[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-18 13:09:05
Message-ID: 1153228145.080286.15963.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 563767 by carewolf:

Prevent infinite recursing by not calling click from a click-eventhandler.
BUG: 116092


 M  +1 -1      html_formimpl.cpp  


--- branches/KDE/3.5/kdelibs/khtml/html/html_formimpl.cpp #563766:563767
@@ -1915,7 +1915,7 @@
 	    if (formNode) {
 		getDocument()->setFocusNode(formNode);
 		if (formNode->id()==ID_INPUT)
-		    static_cast<DOM::HTMLInputElementImpl*>(formNode)->click();
+		    static_cast<DOM::HTMLInputElementImpl*>(formNode)->defaultEventHandler(evt);
 		evt->setDefaultHandled();
 	    }
 	}
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic