aboutsummaryrefslogtreecommitdiffstats
path: root/file.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--file.c17
1 files changed, 16 insertions, 1 deletions
diff --git a/file.c b/file.c
index 0ec6756..9710d14 100644
--- a/file.c
+++ b/file.c
@@ -1,4 +1,4 @@
-/* $Id: file.c,v 1.38 2001/12/27 17:56:03 ukai Exp $ */
+/* $Id: file.c,v 1.39 2001/12/27 18:01:52 ukai Exp $ */
#include "fm.h"
#include <sys/types.h>
#include "myctype.h"
@@ -2406,6 +2406,11 @@ process_input(struct parsed_tag *tag)
char *qq = "";
int qlen = 0;
+ if (cur_form_id < 0) {
+ char *s = "<form_int method=internal action=none>";
+ process_form(parse_tag(&s, TRUE));
+ }
+
p = "text";
parsedtag_get_value(tag, ATTR_TYPE, &p);
q = NULL;
@@ -2578,6 +2583,11 @@ process_select(struct parsed_tag *tag)
{
char *p;
+ if (cur_form_id < 0) {
+ char *s = "<form_int method=internal action=none>";
+ process_form(parse_tag(&s, TRUE));
+ }
+
p = "";
parsedtag_get_value(tag, ATTR_NAME, &p);
cur_select = Strnew_charp(p);
@@ -2742,6 +2752,11 @@ process_textarea(struct parsed_tag *tag, int width)
{
char *p;
+ if (cur_form_id < 0) {
+ char *s = "<form_int method=internal action=none>";
+ process_form(parse_tag(&s, TRUE));
+ }
+
p = "";
parsedtag_get_value(tag, ATTR_NAME, &p);
cur_textarea = Strnew_charp(p);