[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    branches/KDE/4.3/kdelibs/khtml/xml
From:       Viacheslav Tokarev <tsjoker () gmail ! com>
Date:       2009-09-30 16:16:44
Message-ID: 1254327404.442857.23100.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 1029735 by vtokarev:

backport r1029732

 M  +1 -1      dom_elementimpl.cpp  


--- branches/KDE/4.3/kdelibs/khtml/xml/dom_elementimpl.cpp #1029734:1029735
@@ -799,7 +799,7 @@
 
 void ElementImpl::defaultEventHandler(EventImpl *e)
 {
-    if (document()->part() && e->id() == EventImpl::KEYPRESS_EVENT && \
e->isKeyRelatedEvent()) { +    if (!e->defaultHandled() && document()->part() && \
e->id() == EventImpl::KEYPRESS_EVENT && e->isKeyRelatedEvent()) {  const KHTMLPart* \
                part = document()->part();
         bool isContentEditableElement = part->isEditable() || (focused() && \
isContentEditable());  if (isContentEditableElement || part->isCaretMode()) {


[prev in list] [next in list] [prev in thread] [next in thread] 

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