From konq-bugs Sun Jul 30 15:04:11 2006 From: Allan Sandfeld Date: Sun, 30 Jul 2006 15:04:11 +0000 To: konq-bugs Subject: [Bug 59489] Implement label form focus in khtml Message-Id: <20060730150411.18732.qmail () ktown ! kde ! org> X-MARC-Message: https://marc.info/?l=konq-bugs&m=115427186226487 ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. http://bugs.kde.org/show_bug.cgi?id=59489 kde carewolf com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |RESOLVED Resolution| |FIXED ------- Additional Comments From kde carewolf com 2006-07-30 17:04 ------- 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(formNode)->defaultEventHandler(evt); + static_cast(formNode)->click(); evt->setDefaultHandled(); } } _______________________________________________ Konq-bugs mailing list Konq-bugs@mail.kde.org https://mail.kde.org/mailman/listinfo/konq-bugs