mirror of
https://github.com/rkd77/elinks.git
synced 2024-09-28 03:06:20 -04:00
Sometimes scripts submit forms using buttons
This commit is contained in:
parent
10589b04eb
commit
6fe1a431f1
@ -982,9 +982,7 @@ get_form_uri(struct session *ses, struct document_view *doc_view,
|
|||||||
if (fc->type == FC_RESET) {
|
if (fc->type == FC_RESET) {
|
||||||
do_reset_form(doc_view, form);
|
do_reset_form(doc_view, form);
|
||||||
return NULL;
|
return NULL;
|
||||||
} else if (fc->type == FC_BUTTON) {
|
}
|
||||||
return NULL;
|
|
||||||
}
|
|
||||||
|
|
||||||
if (!form->action
|
if (!form->action
|
||||||
|| !init_string(&data))
|
|| !init_string(&data))
|
||||||
|
Loading…
Reference in New Issue
Block a user