[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: =?utf-8?q?=5Bkdelibs=5D_khtml/html=3A_Fix_cloning_of_checkboxes?=
From: Maks Orlovich <maksim () kde ! org>
Date: 2011-05-17 12:46:31
Message-ID: 20110517124631.3C3D7A60AE () git ! kde ! org
[Download RAW message or body]
Git commit d22393aecc062ef4ab8bc9692911a4ec828f7007 by Maks Orlovich.
Committed on 02/04/2011 at 17:16.
Pushed by orlovich into branch 'master'.
Fix cloning of checkboxes.
... And with it element-cloning method in jQuery 1.5, which was
making us hit IE-specific path due to the bug. Showed up in particular
on Doodle wizard, and kde-look thumbs.
CCBUG:269175
BUG:272208
M +3 -0 khtml/html/html_formimpl.cpp
http://commits.kde.org/kdelibs/d22393aecc062ef4ab8bc9692911a4ec828f7007
diff --git a/khtml/html/html_formimpl.cpp b/khtml/html/html_formimpl.cpp
index 2959286..07cd035 100644
--- a/khtml/html/html_formimpl.cpp
+++ b/khtml/html/html_formimpl.cpp
@@ -1544,6 +1544,9 @@ void HTMLInputElementImpl::copyNonAttributeProperties(const ElementImpl* source)
m_value = e->m_value;
m_checked = e->m_checked;
+ m_defaultChecked = e->m_checked;
+ m_useDefaultChecked = e->m_defaultChecked;
+ m_indeterminate = e->m_indeterminate;
// ### copy more?
HTMLGenericFormElementImpl::copyNonAttributeProperties(source);
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic