diff options
author | John Mark Bell <jmb@netsurf-browser.org> | 2009-02-20 11:39:25 +0000 |
---|---|---|
committer | John Mark Bell <jmb@netsurf-browser.org> | 2009-02-20 11:39:25 +0000 |
commit | cc1094f0ac62db0d736b6e41e219fe628d22a69e (patch) | |
tree | aaa69ff9929767133acc02c299c1a25c9540cddb /desktop/browser.c | |
parent | 0619131f20ad86fe640ea9a1a45d3ae7bf73c1d8 (diff) | |
download | netsurf-cc1094f0ac62db0d736b6e41e219fe628d22a69e.tar.gz netsurf-cc1094f0ac62db0d736b6e41e219fe628d22a69e.tar.bz2 |
Utilise hubbub's form association callback.
Please can we dispense with the libxml binding? It's causing much #ifdef mess.
Fix encoding of <input type=image> names -- previously were output as raw utf-8, rather than in the submission charset.
Actually bother to destroy forms in a document, and the controls associated with them. We still leak non form-associated controls, but that's too much effort to fix right now.
svn path=/trunk/netsurf/; revision=6573
Diffstat (limited to 'desktop/browser.c')
-rw-r--r-- | desktop/browser.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/desktop/browser.c b/desktop/browser.c index 30d7e3490..f22ac6702 100644 --- a/desktop/browser.c +++ b/desktop/browser.c @@ -1574,6 +1574,9 @@ void browser_window_mouse_action_html(struct browser_window *bw, case GADGET_FILE: status = messages_get("FormFile"); break; + case GADGET_BUTTON: + /* Do nothing, as this gadget cannot be activated */ + break; } } else if (object && (mouse & BROWSER_MOUSE_MOD_2)) { |