[project @ 2004-06-28 12:26:12 by jmb]

Display action for <input type=image>

svn path=/import/netsurf/; revision=1022
This commit is contained in:
John Mark Bell 2004-06-28 12:26:12 +00:00
parent bc89d52e4c
commit c6dd3cb9ab
1 changed files with 1 additions and 1 deletions

View File

@ -1559,7 +1559,7 @@ void browser_window_follow_link(struct browser_window *bw,
done = 1;
break;
}
else if (click_boxes[i].box->gadget->type == GADGET_SUBMIT) {
else if (click_boxes[i].box->gadget->type == GADGET_SUBMIT || click_boxes[i].box->gadget->type == GADGET_IMAGE) {
struct form *form;
char *url, *href;
form = click_boxes[i].box->gadget->form;