fixed bug in form -- form flag was never being set to true
git-svn-id: svn://10.0.0.236/trunk@2204 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -1219,6 +1219,8 @@ PRInt32 nsHTMLParser::OpenForm(const nsIParserNode& aNode){
|
||||
if(mHasOpenForm)
|
||||
CloseForm(aNode);
|
||||
PRInt32 result=mSink->OpenForm(aNode);
|
||||
if(kNoError==result)
|
||||
mHasOpenForm=PR_TRUE;
|
||||
return result;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user