From ef5c516ee372d29ca636fa0f7bd422c312be0acf Mon Sep 17 00:00:00 2001 From: Daniel Silverstone Date: Sun, 5 Jan 2014 17:01:27 +0000 Subject: Restore missing message send --- render/html_interaction.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'render') 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 */ -- cgit v1.2.3