diff options
Diffstat (limited to 'render')
-rw-r--r-- | render/html_interaction.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/render/html_interaction.c b/render/html_interaction.c index f18daebd4..b04d42586 100644 --- a/render/html_interaction.c +++ b/render/html_interaction.c @@ -685,6 +685,10 @@ void html_mouse_action(struct content *c, struct browser_window *bw, break; case GADGET_FILE: status = messages_get("FormFile"); + if (mouse & BROWSER_MOUSE_CLICK_1) { + msg_data.gadget_click.gadget = gadget; + content_broadcast(c, CONTENT_MSG_GADGETCLICK, msg_data); + } break; case GADGET_BUTTON: /* This gadget cannot be activated */ |