diff options
author | Fumitoshi UKAI <ukai@debian.or.jp> | 2001-12-27 18:01:52 +0000 |
---|---|---|
committer | Fumitoshi UKAI <ukai@debian.or.jp> | 2001-12-27 18:01:52 +0000 |
commit | 0fb25226f1c253e6dd1680f598c6b8c6a5306ec4 (patch) | |
tree | 1fbe2e593bbddffe501c7fab79e01b93af43aed6 /main.c | |
parent | [w3m-dev 02769] <form>..</form> as block element (diff) | |
download | w3m-0fb25226f1c253e6dd1680f598c6b8c6a5306ec4.tar.gz w3m-0fb25226f1c253e6dd1680f598c6b8c6a5306ec4.zip |
[w3m-dev 02770] form element outside <form>..</form>
From: Hironori Sakamoto <hsaka@mth.biglobe.ne.jp>
Diffstat (limited to '')
-rw-r--r-- | main.c | 8 |
1 files changed, 5 insertions, 3 deletions
@@ -1,4 +1,4 @@ -/* $Id: main.c,v 1.52 2001/12/27 17:43:24 ukai Exp $ */ +/* $Id: main.c,v 1.53 2001/12/27 18:01:52 ukai Exp $ */ #define MAINPROGRAM #include "fm.h" #include <signal.h> @@ -3020,9 +3020,11 @@ _followForm(int submit) buf->form_submit = save_submit_formlist(fi); } } - else if ((fi->parent->method == FORM_METHOD_INTERNAL && Strcmp_charp(fi->parent->action, "map") == 0) || Currentbuf->bufferprop & BP_INTERNAL) { /* internal */ + else if ((fi->parent->method == FORM_METHOD_INTERNAL && + (!Strcmp_charp(fi->parent->action, "map") || + !Strcmp_charp(fi->parent->action, "none"))) || + Currentbuf->bufferprop & BP_INTERNAL) { /* internal */ do_internal(tmp2->ptr, tmp->ptr); - return; } else { disp_err_message("Can't send form because of illegal method.", |