fixed bug in form -- form flag was never being set to true

This commit is contained in:
rickg
1998-05-22 19:31:38 +00:00
parent d73859c308
commit 8953152d44
2 changed files with 4 additions and 0 deletions
+2
View File
@@ -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;
}