Commit graph

75 commits

Author SHA1 Message Date
Patrick Filler db9fd24889 In standard dropdowns, you can hit Escape (on your keyboard) to cancel form entry and close the dropdown.
Gh-16
2011-07-20 12:38:34 -04:00
Patrick Filler 1dd5100122 Prevent duplicate jQuery Chosen calls. 2011-07-20 11:29:23 -04:00
Patrick Filler cb7bf985a0 Fix a reported issue with search field scale.
Closes gh-14
2011-07-20 11:17:47 -04:00
Patrick Filler d3b14656ea Use coffeesript's built-in function binding on setTimeouts 2011-07-20 11:06:59 -04:00
Patrick Filler 1ddf68baf0 Merge pull request #13 from adamkittelson/master
Error in Safari when using chosen.jquery
2011-07-20 07:59:49 -07:00
Patrick Filler e4a8f08843 Change a couple of prototype-style references into jQuery references. Fixes group display on search and deselect issues. 2011-07-20 10:44:23 -04:00
Patrick Filler a3c9ea9a29 Cache the $(this.form_field) call for better performance. Thanks, pomeh. 2011-07-20 10:41:07 -04:00
Patrick Filler e9e4b488cd Scale search field after building results. 2011-07-19 17:33:46 -04:00
Patrick Filler 5a1232532d Fix test for disabled elements. 2011-07-19 17:01:41 -04:00
Adam Kittelson e8ac2bb71b use a closure to bind a function to this, Prototype function.bind doesn't work in jQuery, was causing an error when blurring a select in Safari 2011-07-19 13:45:58 -07:00
Patrick Filler 6247674d71 Don't allow group name clicks in jQuery version. 2011-07-19 15:59:08 -04:00
Patrick Filler f5967bd265 Update to use latest version of Select Parser (https://github.com/pfiller/Select-Parser). This fixes issues with group positioning. 2011-07-19 15:46:40 -04:00
Patrick Filler ed9e82a816 Yes! A second click on the dropdown arrow _should_ collapse the dropdown box.
Closes gh-1
2011-07-18 18:47:40 -04:00
Patrick Filler 15a5366aad Fix some issues with parsing blank options. 2011-07-15 18:04:37 -04:00
Patrick Filler 7778ef0cb2 Update License Info 2011-07-13 15:42:57 -04:00
Patrick Filler 2f25f9e849 Prevent default link behavior on @selected_item 2011-07-13 15:37:41 -04:00
Patrick Filler d5b62668ca Fix position issue when using up and down arrows to navigate the results. 2011-07-13 15:33:10 -04:00
Patrick Filler ea87ad4df3 Make sure jquery version's update / change events are firing. 2011-07-13 15:09:29 -04:00
Patrick Filler e54e4730cd Remove unnecessary debug code. 2011-07-13 15:02:51 -04:00
Patrick Filler 2587c9c985 Fix some tabbing issues and unexpected fall through on keydown_checker 2011-07-13 15:01:53 -04:00
Patrick Filler 56dbefa500 Use jquery Val method and not .value 2011-07-13 14:31:59 -04:00
Patrick Filler 465eb61eb6 Fix arrow up/down behavior without relying on buggy intersect method. 2011-07-13 12:37:37 -04:00
Patrick Filler d16cf5f3da Clear highlight on backspace. 2011-07-13 12:11:44 -04:00
Patrick Filler b46227fc5f jQuery bug fixes 2011-07-13 12:07:26 -04:00
Patrick Filler 7f6874bfd0 Initial version of jQuery Chosen. Plenty of bugs at this point! 2011-07-12 19:11:54 -04:00