[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-01-13 10:10:46
Message-ID: 1137147046.993872.13871.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 497603 by carewolf:
Fix OSNews replies
BUG: 116790
M +5 -1 html_formimpl.cpp
--- branches/KDE/3.5/kdelibs/khtml/html/html_formimpl.cpp #497602:497603
@@ -885,7 +885,11 @@
{
if( p->id() == ID_FORM )
return static_cast<HTMLFormElementImpl *>(p);
- p = p->parentNode();
+ NodeImpl *s = p->previousSibling();
+ if (!s)
+ p = p->parentNode();
+ else
+ p = s;
}
#ifdef FORMS_DEBUG
kdDebug( 6030 ) << "couldn't find form!" << endl;
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic