[Libreoffice-commits] .: bug/bug

Loic Dachary loic at kemper.freedesktop.org
Thu Sep 22 07:48:56 PDT 2011


 bug/bug/bug.js |    6 ------
 1 file changed, 6 deletions(-)

New commits:
commit dcd24957f8993ac621a77b08f73e675192e39222
Author: Loic Dachary <loic at 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());
             });


More information about the Libreoffice-commits mailing list