Index: html_formimpl.cpp
===================================================================
RCS file: /home/kde/kdelibs/khtml/html/html_formimpl.cpp,v
retrieving revision 1.272
diff -u -p -b -B -w -r1.272 html_formimpl.cpp
--- html_formimpl.cpp 2002/05/22 12:53:00 1.272
+++ html_formimpl.cpp 2002/06/02 07:45:47
@@ -999,6 +999,10 @@ void HTMLInputElementImpl::init()
case IMAGE:
break;
};
+
+ if (m_type == FILE)
+ setAttribute(ATTR_VALUE, QString::null);
+
m_value = getAttribute(ATTR_VALUE);
if ((uint) m_type <= ISINDEX && !m_value.isEmpty()) {
QString value = m_value.string();