shithub: riscv

Download patch

ref: 001ce57253f99e1a988a630ddf6bb05815bace80
parent: 45fb395c2b29a2a0828253b25494368a5c69995d
author: stanley lieber <[email protected]>
date: Sun Oct 2 16:57:32 EDT 2011

mothra: add <input type="search">, fixes wikipedia form submission

--- a/sys/src/cmd/mothra/forms.c
+++ b/sys/src/cmd/mothra/forms.c
@@ -169,6 +169,8 @@
 					f->name=strdup("no-name");
 			}
 		}
+		else if(cistrcmp(s, "search")==0)
+			f->type=TYPEIN;
 		else if(cistrcmp(s, "checkbox")==0)
 			f->type=CHECK;
 		else if(cistrcmp(s, "radio")==0)