Commit graph

214 commits

Author SHA1 Message Date
Adam Ford 208370bd0d Hitting Tab selects current highlighted option
While navigating through native selects using the keyboard, one can start
typing the text of the desired option to select it, then hit the Tab key
to move to the next element with the desired option remaining selected.
This doesn't work with Chosen currently (the correct option is highlighted,
but it is not selected once the Tab key is hit.)

Now the current highlighted option in a non-multiple Chosen select is
selected when the Tab key is hit.

Resolves #104.
2011-09-20 10:56:04 -06:00
Patrick Filler 91734e94ee Complied JS differs between coffescript versions. 2011-09-19 15:13:34 -05:00
Patrick Filler 6571967085 Merge branch 'highlight_active' of https://github.com/Nagyman/chosen into Nagyman-highlight_active
Conflicts:
	chosen/chosen.jquery.min.js
	chosen/chosen.proto.min.js
2011-09-19 15:10:09 -05:00
Patrick Filler b51d4a798f Merge pull request #258 from Nagyman/8922e6e85425bb48e09429a9c85b503088fbc9be
Use @ shortcut for constructor arguments
2011-09-19 13:05:17 -07:00
Nagyman 93dbe8efec Highlight the selected result only if it's active (matches the current search) 2011-09-17 07:56:53 -04:00
Nagyman 8922e6e854 Use @ shortcut for constructor arguments 2011-09-17 05:14:15 -04:00
Patrick Filler ada808db43 Make options default use the coffeescript way™ 2011-09-12 18:34:13 -04:00
Patrick Filler 8fdb2a9c1d Update example files with No Results Text details 2011-09-12 18:02:18 -04:00
Patrick Filler d9ae47eda4 Update version number to 0.9.3
- Calculate initial width based on OuterWidth, not Width (jQuery version)
- Options array implemented for jQuery / Prototype version
- Added 'no_results_text' option to override default "No Matches" text
- prototype version not created on initial load to more closely resemble jQuery version
2011-09-12 17:56:54 -04:00
Patrick Filler 2df646eaf0 Update example file to jQuery 1.6.3 2011-09-12 17:55:34 -04:00
Patrick Filler a7a8ad54e2 Make the prototype version more like the jQuery version (doesn't sniff for a class any longer) 2011-09-12 17:48:38 -04:00
Patrick Filler 800e3d5502 Add options object for both prototype and jquery version. 2011-09-12 17:31:10 -04:00
Patrick Filler 718f500c9a Merge branch 'master' of https://github.com/h3adache/chosen into h3adache-master
Conflicts:
	chosen/chosen.jquery.js
	chosen/chosen.jquery.min.js
	coffee/chosen.jquery.coffee
	example.jquery.html
2011-09-12 17:21:49 -04:00
Patrick Filler 15b9b5136f Chosen jQuery version uses outerWidth on initial load. 2011-09-12 16:03:29 -04:00
Patrick Filler eb8ee7366d Update version number in JS files, too 2011-09-12 16:02:39 -04:00
Patrick Filler 91763c7d79 Up version number:
- Display Chosen on MouseDown / Selections on MouseUp (not click)
- Don't apply Chosen to IE 7 and below
- Don't hide select fields with chzn-select class by default.
2011-09-12 15:46:40 -04:00
Adam Ford 4b9a5c68a5 Fixed jQuery check for IE6 and 7. 2011-09-02 13:09:32 -06:00
Patrick Filler 6193bd54de Merge pull request #217 from nikosd/patch-2
Fixed legend error in example (copy/paste error).
2011-08-25 08:07:33 -07:00
Nikos Dimitrakopoulos 38c32e5be9 Fixed legend error in example (copy/paste error). 2011-08-25 22:59:18 +03:00
Patrick Filler ea46e5d324 Merge pull request #216 from nikosd/patch-1
Fixed example legend (copy/paste error).
2011-08-25 08:07:12 -07:00
Nikos Dimitrakopoulos b0bc56c8ac Fixed example legend (copy/paste error). 2011-08-25 22:57:36 +03:00
Matthew Beale 4e463669d2 Introduce abstract-chosen, try to start sharing more code between platforms 2011-08-19 12:23:03 -04:00
Matthew Beale df6345465a Better report compilation errors during build 2011-08-19 11:41:59 -04:00
Patrick Filler 1d6df98c4e Fix merge conflicts caused by min version 2011-08-16 15:12:10 -04:00
Patrick Filler 57fcc576c3 Merge changes from #149 2011-08-16 14:52:18 -04:00
Patrick Filler 528d77bc04 No ctrl/command click when for single selects. 2011-08-08 11:37:56 -04:00
Patrick Filler d6137ad5be Merge branch 'master' of https://github.com/cleercode/chosen into cleercode-master 2011-08-08 11:16:12 -04:00
Patrick Filler 12a7a11720 Fix Typo in example 2011-08-05 15:16:57 -04:00
Sebastian Delmont 3bf68f6aef fire a liszt:ready event when Chosen is done generating the HTML, thus providing a hook for further customization 2011-08-05 12:25:33 -04:00
Tim Chen f9674e7db2 Make options an optional parameter 2011-08-04 09:18:40 -05:00
Patrick Filler b7a531f211 Merge pull request #141 from aziz/master
closes #139 and #140
2011-08-03 09:00:40 -07:00
Allen Bargi 8b223ec328 closes #139 and #140 2011-08-03 07:32:14 +02:00
Tim Chen 90ca300921 remove unused data constructor variable, make use of options 2011-08-02 15:16:14 -05:00
Patrick Filler 0812bc3d64 Highlight selected option in a single select on initial load.
Closes Gh-103
2011-08-01 16:14:13 -04:00
Patrick Filler c41e05e824 Version Number increment due to autocomplete/off on input fields. 2011-08-01 15:22:30 -04:00
Allen Bargi 84452143ff added autocomplete='off' to input fields. closes #127 2011-08-01 19:42:36 +02:00
Matthew Beale 7b641d2c17 Don't update VERSION, please. 2011-07-31 22:54:53 +03:00
Patrick Filler 776006b503 Upated readme file with build info. 2011-07-31 14:05:56 -04:00
Patrick Filler dd04343481 Merge pull request #108 from harvesthq/build_system
Build system
2011-07-31 10:34:41 -07:00
Patrick Filler 387177aec3 Update title / copyright details. 2011-07-31 13:24:28 -04:00
Patrick Filler 75b7546420 Move the location of select parser and update the build file. Move it below the Chosen JS in output. 2011-07-31 13:14:54 -04:00
Patrick Filler a8ae212634 Merge branch 'master' into build_system 2011-07-31 12:28:08 -04:00
Patrick Filler e10951b7a4 Fix issue caused by select IDs containing colons. 2011-07-31 12:08:34 -04:00
Patrick Filler 055f43b026 Merge pull request #122 from aziz/master
Right to left support + cleaner CSS
2011-07-31 08:12:40 -07:00
Allen Bargi 6ddac1217e hiding the select to avoid sudden changes on the page and making sure we do not cause any vertical jump 2011-07-31 13:43:17 +02:00
Allen Bargi ed1f354854 added right to left documentations 2011-07-31 13:30:46 +02:00
Allen Bargi bd5daff469 rtl support for prototype based chosen 2011-07-31 13:12:29 +02:00
Allen Bargi f5ac459d7c * dded right to left support
* cleaned up css file and removed a bunch of unused and redundant rule sets (even less warning with csslint)
* also closes #118 using display inline-block
Please enter the commit message for your changes. Lines starting
2011-07-31 12:46:01 +02:00
Patrick Filler cd3a70e551 Updating docs to show blank option requirement in single selects. 2011-07-29 11:30:47 -04:00
Patrick Filler 1e9ec6e936 Took the wrong changes when fixing merge conflicts. Try again! 2011-07-29 11:23:57 -04:00