bug/bug/bug.js | 6 ------ 1 file changed, 6 deletions(-) New commits: commit dcd24957f8993ac621a77b08f73e675192e39222 Author: Loic Dachary <l...@dachary.org> Date: Thu Sep 22 16:48:36 2011 +0200
Do not handle focus : it won't happen again because the field is large enough. diff --git a/bug/bug/bug.js b/bug/bug/bug.js index c540157..c116a3c 100644 --- a/bug/bug/bug.js +++ b/bug/bug/bug.js @@ -229,12 +229,6 @@ show(); }}); - // some browsers allow the input field to get focus, presumably to - // type the filename. launch the browser instead. - $("input[type='file']", element).focus(function() { - $(this).click(); - $(this).blur(); // loose focus so that no caret is shown even when in caret browsing - }); $("input[type='file']", element).change(function() { $("input[type='text']", element).val($(this).val()); }); _______________________________________________ Libreoffice-commits mailing list Libreoffice-commits@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits