mirror of
https://github.com/netsurf-browser/netsurf
synced 2024-12-28 06:49:41 +03:00
[project @ 2005-08-31 20:29:11 by bursa]
Fix submitting of forms with more than one image button. svn path=/import/netsurf/; revision=1856
This commit is contained in:
parent
005c5f32a8
commit
1481f4b7f0
@ -299,6 +299,11 @@ bool form_successful_controls(struct form *form,
|
||||
|
||||
case GADGET_IMAGE: {
|
||||
/* image */
|
||||
if (control != submit_button)
|
||||
/* only the activated submit button
|
||||
* is successful */
|
||||
continue;
|
||||
|
||||
const size_t len = strlen(control->name) + 3;
|
||||
|
||||
/* x */
|
||||
|
Loading…
Reference in New Issue
Block a user