]> source.dussan.org Git - jquery-ui.git/commitdiff
fixed: select option when tabbing out of opened menu, thx to mjt5v, see https://githu...
authorFelix Nagel <info@felixnagel.com>
Sat, 16 Apr 2011 16:07:45 +0000 (18:07 +0200)
committerFelix Nagel <info@felixnagel.com>
Sat, 16 Apr 2011 16:07:45 +0000 (18:07 +0200)
ui/jquery.ui.selectmenu.js

index 9cd018477b5da7dcc26e4efe7c513c101b389355..a5992b1a40351c9eef1984716ca7ab5bdf397b7a 100644 (file)
@@ -218,6 +218,7 @@ $.widget("ui.selectmenu", {
                                        case $.ui.keyCode.TAB:
                                                ret = true;
                                                self.close(event, true);
+                                               $(event.target).parents('li:eq(0)').trigger('mouseup');
                                                break;  
                                        case $.ui.keyCode.ESCAPE:
                                                self.close(event, true);