diff options
author | stanley lieber <stanley.lieber@gmail.com> | 2011-10-02 20:57:32 -0500 |
---|---|---|
committer | stanley lieber <stanley.lieber@gmail.com> | 2011-10-02 20:57:32 -0500 |
commit | 001ce57253f99e1a988a630ddf6bb05815bace80 (patch) | |
tree | 65abeef6fa3db1235cca8b11059bb556fde76a1a | |
parent | 45fb395c2b29a2a0828253b25494368a5c69995d (diff) | |
download | plan9front-001ce57253f99e1a988a630ddf6bb05815bace80.tar.xz |
mothra: add <input type="search">, fixes wikipedia form submission
-rw-r--r-- | sys/src/cmd/mothra/forms.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/src/cmd/mothra/forms.c b/sys/src/cmd/mothra/forms.c index a68b972eb..9c68b94ae 100644 --- a/sys/src/cmd/mothra/forms.c +++ b/sys/src/cmd/mothra/forms.c @@ -169,6 +169,8 @@ void rdform(Hglob *g){ 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) |