mirror of
https://github.com/rkd77/elinks.git
synced 2024-12-04 14:46:47 -05:00
Always do reload after submitting forms.
In fact, it does reload after pressing any button, but it should not hurt. To remember to press 'x' for submitting forms was too hard.
This commit is contained in:
parent
d06cccffd6
commit
3d4fe9c4d2
@ -1010,11 +1010,12 @@ activate_link(struct session *ses, struct document_view *doc_view,
|
||||
struct form *form;
|
||||
|
||||
switch (link->type) {
|
||||
case LINK_BUTTON:
|
||||
do_reload = 1;
|
||||
case LINK_HYPERTEXT:
|
||||
case LINK_MAP:
|
||||
case LINK_FIELD:
|
||||
case LINK_AREA:
|
||||
case LINK_BUTTON:
|
||||
if (goto_link(ses, doc_view, link, do_reload))
|
||||
return FRAME_EVENT_OK;
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user