Commit graph

221 commits

Author SHA1 Message Date
Paul Redmond e85cf8481e Adding CakePHP plugin 2011-12-10 17:44:21 -07:00
Patrick Filler 880a30dcb4 Change deselect icon position on Right-to-left selects.
Fixes #375
2011-12-08 12:26:21 -05:00
Patrick Filler 5808c97172 On container mousedown, make sure to compare the appropriate element.
Fixes #350.
2011-11-15 12:39:16 -05:00
Patrick Filler 31cd33f22b Change display property of groups to list-item when results match. Fixes #344 & Fixes #354. 2011-11-15 11:19:03 -05:00
Patrick Filler 16b6f5047a Use coffeescript existential operator and commit js changes. 2011-11-15 11:01:40 -05:00
Patrick Filler 9dd4fb51a8 Merge branch 'master' of https://github.com/jerrett/chosen into jerrett-master 2011-11-15 10:47:29 -05:00
Jerrett 5d0e5855c7 Revert "not explode on empty selects with allow_single_deselect"
This reverts commit 91502810c9.
2011-11-14 16:19:41 -08:00
Jerrett acf540ff21 changes to .coffee file instead 2011-11-14 16:18:18 -08:00
T.J. Schuck 875c800c7a Update README 2011-11-10 17:10:48 -05:00
Jerrett 91502810c9 not explode on empty selects with allow_single_deselect 2011-11-09 16:49:13 -08:00
Patrick Filler f87575cb75 Remove some old debugging code. 2011-11-04 15:51:16 -04:00
Patrick Filler f0a349d782 Remove condition made unnecessary by poorly written CoffeeScript. The text of an option was never matching this function, so why leave it there? 2011-11-04 15:48:50 -04:00
Patrick Filler 948fbcca11 Merge pull request #338 from grandall/master
JQuery performance improvements for long lists with option groups
2011-11-04 09:16:54 -07:00
Graham Randall 3ba2d65221 Fixed performance issues with large, grouped lists. 2011-11-03 18:21:02 -05:00
Patrick Filler a9d52581a5 Merge pull request #317 from kristerkari/master
Optimized Chosen sprite image 3.998 kb -> 0.396 kb
2011-11-02 12:01:02 -07:00
Patrick Filler 9bc5fdcfe0 Don't rely on jQuery's Attr function for disabled as it changes in 1.6 2011-11-02 12:41:54 -04:00
Patrick Filler 581f2073b5 Merge pull request #331 from Ownatik/master
Fixed disable_search_threshold being ignored when triggering a liszt:updated event
2011-11-02 09:22:55 -07:00
François Bernier 17c1e8e18e Fixed disable_search_threshold being ignored when triggering a liszt:updated event 2011-11-01 19:52:19 -04:00
Krister Kari 71b343ffd5 Optimize Chosen sprite 2011-10-25 00:52:10 +03:00
Patrick Filler 0f89ebef85 Merge branch 'sd-ready-event' of https://github.com/sd/chosen into sd-sd-ready-event
Conflicts:
	chosen/chosen.jquery.min.js
	chosen/chosen.proto.min.js
	coffee/chosen.proto.coffee
2011-10-24 13:36:14 -04:00
Patrick Filler c772be4cc1 Merge branch 'tab-select' of https://github.com/greatbigsolutions/chosen into greatbigsolutions-tab-select
Conflicts:
	chosen/chosen.jquery.min.js
	chosen/chosen.proto.min.js
2011-10-24 12:21:20 -04:00
Patrick Filler 84ee71187d Merge pull request #314 from seutje/patch-1
Changed Drupal module link to the more up-to-date one on drupal.org
2011-10-24 08:10:12 -07:00
Steve De Jonghe b3ff621d85 Changed Drupal module link to the more up-to-date one on drupal.org and adding main contributors to the list 2011-10-24 18:07:59 +03:00
Patrick Filler f09c117224 Remove duplicate CSS declaration. Fixes #307. 2011-10-24 11:05:37 -04:00
Patrick Filler 35e0680e75 Silly typo. 2011-10-24 11:02:26 -04:00
Patrick Filler 20a588d5b1 Remove duplicate line of CSS. Fixes #303 2011-10-20 13:54:35 -04:00
Patrick Filler fa35528d15 Make sure we have only one deselect control at a time.
Fixes #286 and #296
2011-10-17 12:30:54 -04:00
Patrick Filler 499c35b62d Merge pull request #290 from Carpe-Hora/jqueryui_dialog_compatibility
Fix: the search field did not work when in a jQueryUI modal dialog
2011-10-12 15:20:26 -07:00
Kévin Gomez Pinto a53b58f15a Fix: the search field did not work when in a jQueryUI modal dialog ; fixes #18 & #95
See https://github.com/harvesthq/chosen/issues/18#issuecomment-2311377 for more
details.

	modified:   chosen/chosen.css
2011-10-07 15:41:53 +02:00
Patrick Filler f618c69d54 Merge branch 'fix-old-ie-jquery-check' of https://github.com/greatbigsolutions/chosen into greatbigsolutions-fix-old-ie-jquery-check
Conflicts:
	chosen/chosen.jquery.js
	chosen/chosen.jquery.min.js
	coffee/chosen.jquery.coffee
2011-10-04 17:29:11 -04:00
Patrick Filler 4a48fbcd11 Merge pull request #199 from harvesthq/abstract-chosen
Introduce abstract-chosen, try to start sharing more code between platforms
2011-09-30 14:53:56 -07:00
Matthew Beale 47b7b4d6bc Merge master into abstract-chosen 2011-09-30 17:39:03 -04:00
Patrick Filler 1e49c19d20 Up version number to 0.9.5
- Allow disabling of Search on single select boxes with <= N options (#45).
- Retain original option styles
- Retain original option classes (#30)
- Fix show results bug when clicking close icon (#277)
2011-09-30 12:21:05 -04:00
Patrick Filler 1e9b4ddbe9 Single selects now allow disabled search below a certain option threshold. 2011-09-30 12:14:02 -04:00
Patrick Filler d87310ee5d Keep select option's original style, too. 2011-09-29 18:19:21 -04:00
Patrick Filler 7dd29088e8 Apply original option classes to Chosen's search results. 2011-09-29 17:32:58 -04:00
Patrick Filler cde5fc8e69 Don't show/hide results when deselecting option in single Chosen. 2011-09-29 16:48:12 -04:00
Patrick Filler 785020b189 Update chosen to 0.9.4
- Speed improvements
- Allow deselect on single select
- Support for disabled form field
- Make sure only active results get highlighted
2011-09-29 15:56:45 -04:00
Patrick Filler 6e10084329 PNG update (x icon bleeding into magnifying glass space) 2011-09-29 15:54:03 -04:00
Patrick Filler d4c7005b5c Using class-based show/hide instead of the jquery/prototype methods results in significant speed improvements for very, very large select boxes. (at least in modern web browsers) 2011-09-29 15:39:45 -04:00
Patrick Filler 953d3baa4f Fire the change event when deselecting a value. 2011-09-28 13:40:18 -04:00
Patrick Filler b7a9b218fb Insert deselect UI on initial load if a value is selected. 2011-09-28 13:30:39 -04:00
Patrick Filler fec3d3aafb Add deselect examples. 2011-09-28 13:29:00 -04:00
Patrick Filler 763eecf39f Merge pull request #274 from harvesthq/allow_deselect
Add allow deselect option
2011-09-28 09:23:02 -07:00
Patrick Filler eb2636838e When using allow_single_deselect, first element must have blank text. 2011-09-28 11:46:36 -04:00
Patrick Filler 5a783bbb96 Test for presence of event before using its target! 2011-09-28 11:31:10 -04:00
Patrick Filler 66e5da9dec Re-center deselect close icon. 2011-09-28 11:15:37 -04:00
Patrick Filler ed69a328c2 Larger delete/deselect targets for happier clicking. 2011-09-28 11:10:34 -04:00
Patrick Filler 81c084ec99 If deselecting when Chosen is open, close it up. 2011-09-27 16:57:51 -04:00
Patrick Filler 3b11f2e2d1 Create option to allow deselect on Chosen single selects. 2011-09-27 16:51:29 -04:00