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
Adam Ford
4b9a5c68a5
Fixed jQuery check for IE6 and 7.
2011-09-02 13:09:32 -06:00
Matthew Beale
4e463669d2
Introduce abstract-chosen, try to start sharing more code between platforms
2011-08-19 12:23:03 -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
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
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
Allen Bargi
84452143ff
added autocomplete='off' to input fields. closes #127
2011-08-01 19:42:36 +02: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
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
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
1e9ec6e936
Took the wrong changes when fixing merge conflicts. Try again!
2011-07-29 11:23:57 -04:00
Patrick Filler
fc5965ec70
Merge branch 'master' into aziz-master
...
Conflicts:
chosen/chosen.css
2011-07-29 11:20:26 -04:00
Matthew Beale
b793dd3a61
Use root for globals, not this
2011-07-29 10:49:25 +02:00
Matthew Beale
6f0f0bd4c3
Use npm modules for the build chain so we can concat multiple files for dependencies. Break SelectParser into it's own file. Commit updates to the actual Javascripts to reflect the new builds.
2011-07-29 10:42:34 +02:00
Matthew Beale
3f29e01972
Add a semicolon, fixes #105
2011-07-29 09:26:10 +03:00
Allen Bargi
0bd9115580
- smaller sprite and crunched the new png file
...
- better looking search icon
- fixed the position of search icon, using 97% the icon is not gonna be fixed position (vary depending on width), now it's 100% but the icon has fixed spacing from the sprite border
- fixed the padding of search input so that text does not go over the search icon
2011-07-29 00:06:21 +02:00
Allen Bargi
2a8bd04b93
using data-placeholder instead of title attribute
2011-07-28 22:33:24 +02:00
Patrick Filler
f5e508d862
Merge pull request #83 from aziz/master
...
closes issue #80 : removed unnecessary z-index declarations in chosen.css file
2011-07-28 09:08:20 -07:00
Patrick Filler
d1c139fb6c
Update minified version with XSS protection.
2011-07-28 11:43:40 -04:00
Matthew Beale
aed8ba82bd
Update jQuery version for escaping
2011-07-27 12:24:30 -04:00
Matthew Beale
2013c524ca
Should have been escape, no unescape
2011-07-27 12:11:24 -04:00
Matthew Beale
b23391b66d
Search using escaped html, show that when no results are found
2011-07-27 12:09:41 -04:00
Matthew Beale
6f1d74de8a
Use innerhtml instead of text for definitive text
2011-07-27 10:42:03 -04:00
Allen Bargi
b712f6bf24
closes issue #80 : removed unnecessary z-index declarations in chosen.css file
2011-07-27 11:08:24 +02:00
pfiller
cabd7eb618
Use safer variable names and update minified version.
2011-07-26 15:17:40 -04:00
pfiller
d399196f52
Fix issue with dotted ids.
...
Closes Gh-54
2011-07-26 15:10:16 -04:00
pfiller
2f95023612
If no id is present, generate a random.
2011-07-26 15:03:13 -04:00
pfiller
49c7d2e0f6
Replace a reference to @container.id with @container_id
2011-07-26 14:27:44 -04:00
pfiller
2e7348d412
Prototype version no longer requires ID
2011-07-26 14:22:51 -04:00
brennanmceachran
5aa5c79d77
I'm not a microsoft fan, but we might as well let the ie users have some fun.
2011-07-25 06:28:05 -07:00
Chris Lee
110466a38f
Ctrl/command-click to select without closing list. Related to #23
2011-07-22 17:27:08 -07:00
Danillo Nunes
9222590a25
Add gradient support for Opera 11.10+
2011-07-21 15:19:54 -03:00
Allen Bargi
b1a0c7857f
replaced href='#' with href='javascript:void(0)' which does not cause a jump on click
2011-07-21 16:55:39 +02:00
Allen Bargi
c2af84b5a9
fixed a border radius type
2011-07-21 07:11:38 -07:00
Patrick Filler
5ac72e2b4e
Updating minified versions with all latest bug fixes.
2011-07-20 12:44:35 -04:00
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
d0ef447dce
Update minified versions with latest code.
2011-07-18 18:51:44 -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
137afacfd1
Update minified version of prototype chosen and add jquery version.
2011-07-15 18:13:58 -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
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
Patrick Filler
95a993ba8e
Updating minified version to latest.
2011-07-08 16:54:34 -04:00
Patrick Filler
a723721b65
Fix focus issues caused by bad indenting.
2011-07-08 16:52:18 -04:00
Patrick Filler
fecd7e24a5
Re-factor Chosen into Coffescript
2011-07-08 16:30:32 -04:00
Patrick Filler
2e42e3e95d
Small clean-ups: Missing Semicolon, nonsense comment.
2011-07-05 14:58:13 -04:00
Patrick Filler
d9196c71c4
Include search field border / padding when calculating desired width.
2011-06-28 18:15:59 -04:00
Patrick Filler
c8b92c1769
Updating chosen minified to latest version of chosen.
2011-06-28 16:21:32 -04:00
Patrick Filler
a9552631b5
Updating search width for single chosen (should expand entire width of container).
2011-06-28 16:02:21 -04:00
Patrick Filler
3d1a885257
Make sure all images come from the sprite.
2011-06-28 15:52:28 -04:00
Matthew Lettini
8869568150
blue chosen
2011-06-28 13:30:04 -04:00
Matthew Lettini
f1513180d0
padding on multi
2011-06-27 18:32:13 -04:00
Matthew Lettini
9f6aa3b183
added some styles, made everything neutral gray (for now)
2011-06-27 18:30:10 -04:00
Patrick Filler
4f6db53bfa
Handle some issues with updating a single select after initial build.
2011-06-27 13:57:00 -04:00
Patrick Filler
5621686072
Updating minified format to latest version.
2011-06-23 17:42:25 -04:00
Patrick Filler
133ac115a3
Don't winnow results after shift key press (especially nice for shift + tabbing through a form).
2011-06-23 17:37:50 -04:00
Patrick Filler
a0193b8f09
Better tab handling.
2011-06-23 17:35:53 -04:00
Patrick Filler
82d607da45
Attempt to fix single select click issue.
2011-06-23 15:19:08 -04:00
Patrick Filler
9b52ef5ad5
Update to latest version of Chosen.
2011-06-23 12:46:22 -04:00
Patrick Filler
0beb74439e
Remove some logging code.
2011-06-23 12:42:18 -04:00
Patrick Filler
55644cc96a
Adding a minified version.
2011-06-23 12:18:36 -04:00
Patrick Filler
adef3c6202
Cleaning up repository for showtime.
2011-06-22 18:12:06 -04:00