fix submit crash in nsWindow; more form control functionality

git-svn-id: svn://10.0.0.236/trunk@780 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
karnaze
1998-04-28 18:59:38 +00:00
parent 27e88123d1
commit 1096b080eb
12 changed files with 109 additions and 55 deletions

View File

@@ -1125,6 +1125,9 @@ nsresult HTMLContentSink::ProcessINPUTTag(nsIHTMLContent** aInstancePtrResult,
else if (val.EqualsIgnoreCase("select2")) { // TEMP hack
rv = NS_NewHTMLSelect(aInstancePtrResult, atom, mCurrentForm, 2);
}
else if (val.EqualsIgnoreCase("select3")) { // TEMP hack
rv = NS_NewHTMLSelect(aInstancePtrResult, atom, mCurrentForm, 3);
}
else {
rv = NS_NewHTMLInputSubmit(aInstancePtrResult, atom, mCurrentForm);
}