Commit Graph

149 Commits

Author SHA1 Message Date
Felix Nagel
db9a015485 Autocomplete: make categories work again (follow-up) 2012-05-24 19:58:09 +02:00
Scott González
85639bf0fa Autocomplete: Update live region if focus event is canceled. Remove live region on destroy. 2012-05-16 09:43:49 -04:00
Jörn Zaefferer
f4b2d7a411 Autocomplete: ARIA live region as extension, adding a messages option. Fixes #7840 - Autocomplete: popup results not read by screen-readers 2012-05-16 11:55:12 +02:00
Scott González
1b19121189 Autocomplete combobox demo: Add combobox-specific classes for styling. Fixes #8322 - Autocomplete: Combobox demo should not override .ui-button styles. 2012-05-14 21:38:30 -04:00
Scott González
4253c78a46 Autocomplete delete: Adjust styles. 2012-05-08 15:28:47 -04:00
Scott González
c974d0fc69 Autocomplete combobox demo: Define this.wrapper for use inside destroy(). 2012-04-28 16:07:17 -04:00
Jörn Zaefferer
878eb54a14 Fix various issues in our html files, first batch 2012-04-23 18:29:35 +02:00
Scott González
218bd47ecd Autocomplete combobox demo: Fixed styling of button. Fixed #8242 - Autocomplete combobox button has vertical offset relatively to input field (Opera 11.62). Fixed #8243 - Autocomplete combobox button has smaller height than input field (Firefox 11.0). 2012-04-07 20:37:12 -04:00
Scott González
89ff5c5232 Upgrade jQuery to 1.7.2. 2012-03-22 09:45:22 -04:00
Scott González
4f909c50ba Demos, Tests: Remove use 'that' instead of 'self'. Partial fix for #5404 - remove uses of 'var self = this;' 2012-02-12 09:14:36 -05:00
Scott González
54fb1441fe Upgrade jQuery to 1.7.1. 2011-11-22 08:43:09 -05:00
Scott González
50dab05784 Upgrade jQuery to 1.7. 2011-11-09 10:18:33 -05:00
Scott González
efe964d86e Upgraded jQuery to 1.6.4. 2011-10-18 09:38:27 -04:00
Scott González
daadc343be Upgrade jQuery to 1.6.2. 2011-07-25 11:46:45 -04:00
Scott González
8a972f5cce Autocomplete: Whitespace. 2011-05-27 08:35:18 -04:00
Scott González
be7da0239a Autocomplete demos: Coding standards. 2011-05-27 08:32:48 -04:00
Scott González
bd9dfb59e9 Autocomplete scrollable demo: Added missing menu dependency. 2011-05-11 08:24:16 -04:00
Jörn Zaefferer
309ca08f72 Combobox demo: Fix padding on input for alignment with button. Fixes #6729 - Combobox: Incorrect button size 2011-05-10 17:33:32 +02:00
Jörn Zaefferer
fe0d252c07 Combobox demo: Set tooltip class via option 2011-05-10 17:27:55 +02:00
Kato Kazuyoshi
9e26291164 Autocomplete: Validate input when you close by menu by clicking. Fixed #7197 - Combobox: not valid value is set. 2011-05-07 08:40:38 +09:00
Scott González
401c91418c Autocomplete (combobox demo): Blur the button on click to avoid a bug.
Thanks tyron.
2011-04-04 08:54:09 -04:00
Richard Worth
593799d6e3 Switched to latest stable jQuery 1.5.1 2011-03-02 20:49:20 -05:00
jzaefferer
260a6447d3 Autocomplete: Update combobox menu to point out limits and link to
explaining it.
2011-02-25 23:09:58 +01:00
Scott González
723e0d6b6e Autocomplete demo (combobox): Fixed tooltips and clearing of select on invalid entry. 2011-01-10 22:47:30 -05:00
gnarf
51482a9d65 Demos: PHP Strict mode compliance and use parse_json() for JSON encoding. Fixes #5124 - Ensure all PHP scripts for demos/tests properly escape/filter input data. 2011-01-10 20:20:14 -05:00
jzaefferer
74ddb3061e Cleanup bad earlier merge. 2010-12-28 15:31:14 +01:00
jzaefferer
0479ab6af6 Merge remote branch 'origin/tooltip'
Conflicts:
	demos/autocomplete/combobox.html
	demos/index.html
	tests/unit/index.html
2010-12-22 18:58:57 +01:00
jzaefferer
3552947c19 Merge remote branch 'origin/menu'
Conflicts:
	demos/autocomplete/categories.html
	demos/autocomplete/combobox.html
	demos/autocomplete/custom-data.html
	demos/autocomplete/default.html
	demos/autocomplete/folding.html
	demos/autocomplete/multiple-remote.html
	demos/autocomplete/multiple.html
	demos/autocomplete/remote-jsonp.html
	demos/autocomplete/remote-with-cache.html
	demos/autocomplete/remote.html
	demos/autocomplete/xml.html
	demos/button/splitbutton.html
	demos/index.html
	tests/visual/menu/nested.html
	themes/base/jquery.ui.autocomplete.css
	ui/jquery.ui.autocomplete.js
2010-12-22 18:31:27 +01:00
Mario Visic
cf48a3c5c8 Autocomplete (Combobox demo): Set the button type to button to prevent form submission. Fixes #6755 - Autocomplete: The combobox "show all" button submits forms. 2010-12-16 07:59:37 -05:00
Scott González
ddb4694cc1 Autocomplete combobox demo: Reset the internal term property when an invalid selection is made. Fixes #6695 - Autocomplete combobox example does not show suggestion on second try. 2010-11-30 17:55:29 -05:00
Scott González
d97add11b0 Combobox: Added a destroy method. Fixes #6685 - Combobox: Doesn't handle destroy. 2010-11-23 08:22:40 -05:00
Scott González
ddf59462af Autocomplete: Use the text of the option, not the value when checking for valid values. Fixes #6673 - Autocomplete combobox is not working in IE if value and name is different. 2010-11-19 16:28:02 -05:00
Scott González
4637695894 Autocomplete multiple demos: Don't leave the field when tabbing while the menu is open. Fixes #6661 - Autocomplete: Tab on multiple Autocomplete should not change focus after selecting. 2010-11-19 16:17:52 -05:00
Phillip Barnes
ff4154bb5d Lossless compression of all non-theme images using ImageOptim 2010-11-19 14:27:18 -05:00
Scott González
fce1f97f76 Upgraded jQuery to 1.4.4. 2010-11-12 09:19:26 -05:00
Scott González
53215ded4a Autocomplete (maxheight demo): Add padding to account for vertical scrollbar. Fixes #6250 - Autocomplete: horizontal scrollbar on IE7. 2010-11-04 08:36:09 -04:00
Scott González
5431a4553a Autocomplete: Prevent horizontal scrollbars in maxheight demo. Fixes #6250 - Autocomplete: horizontal scrollbar on IE7. 2010-11-02 13:51:29 -04:00
Scott González
19f9c3a559 Upgraded jQuery to 1.4.3. 2010-10-21 22:29:28 -04:00
Scott González
eba3067479 Demos: Cleanup. 2010-09-09 22:33:28 -04:00
Scott González
df932bbba3 Autocomplete demos: Coding standards. 2010-09-09 22:33:28 -04:00
jzaefferer
1b4019a233 Autocomplete: Combobox demo cleanup 2010-08-29 11:31:03 +02:00
Scott González
4400632f53 Autocomplete: Improved cache demo. 2010-08-27 12:47:19 -04:00
Scott González
860635fd17 Autocomplete: Removed selection handling in IE. No longer needed now that autocomplete ensures that the cursor is placed at the end of the field on select. 2010-07-22 14:55:41 -04:00
Scott González
123467af8e Autocomplete (combobox demo): Set intial value of text field based on value of select element. Partial fix for #5757 - Autocomplete combobox issues. 2010-07-20 14:49:14 -04:00
Scott González
5d1e297640 Autocomplete (combobox demo): Detect valid entries when typed, but not selected from menu. Fixes #5605 - Autocomplete combobox demo does not accept valid values. 2010-07-20 14:35:54 -04:00
Scott González
ba091650ff Autcomplete: Refactored combobox demo. 2010-07-20 14:20:46 -04:00
Scott González
c2c09e8953 Autocomplete: Clear selectedItem property whenever the user types something. Also updated combobox to clear the select element when clearing the text element. Fixes #5453 - Autocomplete: combobox demo doesn't remove invalid values. 2010-07-20 13:24:53 -04:00
Scott González
5debdb08d7 Autocomplete: Added link to accent folding demo. Fixes #5219 - Autocomplete: Support for accent-folding. 2010-07-19 21:53:19 -04:00
Scott González
1f2cfb942f Autocomplete: Render items as text, not HTML. Fixes #5275 - suggestions are not html-encoded.
As noted in the ticket, it's probably better to default to unstyled items to prevent problems. Users can still implement their own rendering method as shown in the custom data and display demo.
2010-07-19 15:45:30 -04:00
Scott González
7deb873c51 Autocompelte demos: Renamed the scrollable demo so the title fits on one line in the sidebar. 2010-07-19 15:35:47 -04:00
Scott González
5e3755af8a Autocomplete: Added demo of scrollable results. Fixes #5815 - Autocomplete: document and demo a scrolling menu. 2010-07-19 14:17:44 -04:00
Scott González
44daca1cfa Autocomplete demos: Added more programming languages and alphabetized. 2010-07-19 14:10:37 -04:00
Scott González
44d1a38a19 Autocomplete: Moved all demo images into /demos/autocomplete/images. 2010-07-19 10:06:07 -04:00
Scott González
fe71d5d0a0 Autocomplete: Removed styling for .ui-autocomplete-loading from the theme - added to individual demos. Fixes #5385 - Autocomplete: Inconsistent default styling while loading results.
We will need to undo this change when ThemeRoller supports generating loading images.
2010-07-19 09:41:21 -04:00
jzaefferer
965dddd981 Autocomplete: Update cursor position in multiple demos in IE. Fixes #5761 - Autocomplete: multiple demos need extra IE handling for cursor position 2010-06-23 16:44:11 +02:00
Scott González
e087e7dee0 Autocomplete: Changed cache demo to cache all results.
Fixes #5398 - Remote-with-cache demo does not break if (cache.term == request.term) but executes another request.
2010-04-23 12:19:06 -04:00
jzaefferer
17f8079bc2 Menu: Extracted menu code from autocomplete, updated all dependencies 2010-04-21 21:01:08 +02:00
jzaefferer
cfa185d962 Merge commit '1.8.1' into tooltip 2010-04-21 20:06:56 +02:00
Scott González
6a59746d1d Autocomplete: Added demo for accent folding.
Proof of concept for #5219 - Autocomplete: Support for accent-folding.
2010-04-21 10:02:53 -04:00
Scott González
32bcf56584 Autocomplete: Added custom rendering for custom data demo. 2010-04-21 09:57:35 -04:00
jzaefferer
d1033cc2b7 Autocomplete: Fixed href to multiple-remote dmeo in index 2010-04-16 11:09:28 +02:00
jzaefferer
dbc9addfae Autocomplete: Refactored code for array filtering into $.ui.autocomplete.filter, used by remote-with-cache and modified multiple-demo (now with local data); added multiple-remote to also show multiple with remote data 2010-04-16 11:05:35 +02:00
jzaefferer
cddf2a45da Autocomplete: code improvements for multiple demo 2010-04-15 15:31:49 +02:00
jzaefferer
5c55462a90 Autocomplete: multiple demo added 2010-04-15 10:43:47 +02:00
jzaefferer
e7882fa393 Use tooltip to display hint when combobox input doesn't match anything 2010-04-08 23:41:49 +02:00
jzaefferer
ffc29bba05 Autocomplete: Combobox demo update, fixed mustMatch with corrected change event, also added button for toggling the hidden select and an empty-value option. Fixes #5453 2010-04-08 12:07:45 +02:00
unknown
34a71eab7b Autocomplete: Change demo title in index.file to fit it in one line 2010-04-06 22:42:14 +02:00
Jörn Zaefferer
1c3ea9b911 Added link to categories-demo to autocomplete demos index. Still need to move the menu-overrides from that demo back to menu (is there a ticket?). 2010-04-05 11:07:55 -07:00
jzaefferer
56a3d4cbff Autocomplete: Use $.ui.autocomplete.escapeRegex in combobox demo; Fixes #5436 Autocomplete: use $.ui.autocomplete.escapeRegex in combox demo 2010-03-26 10:59:34 -04:00
Scott González
b4729e5512 Autocomplete demo: Removed todo (already captured in trac). 2010-03-24 13:24:19 -04:00
jzaefferer
678844ed8c Combobox demo: Improved styling and added a title to the button, to avoid having   in the tooltip 2010-03-20 22:04:35 +01:00
Scott González
1899cca942 Autocomplete: Combobox demo - don't use position plugin to place the button next to the text field.
Fixes #5338 - autocomplete combobox look weird in opera 10.50.
2010-03-20 16:57:37 -04:00
Scott González
22ba931c39 Menu: skip over elements that aren't menu items.
Fixes #5188 - Refactor menu rendering for more customizing.
2010-03-20 14:37:25 -04:00
Richard Worth
aeec6b3100 demos: html validation 2010-03-18 10:31:17 +00:00
Richard Worth
8d87d06758 eol-style and mime-type 2010-03-17 23:42:32 +00:00
Richard Worth
2a7fc816ee autocomplete: combobox demo: tweaked padding to be more consistent across browsers 2010-03-15 20:32:02 +00:00
Richard Worth
01ac417875 autocomplete demo: corrected spelling of perl 2010-03-15 19:35:05 +00:00
Richard Worth
bfc180b1ba html pages: added HTML5 meta charset UTF-8 tag, changed DOCTYPE to uppercase 2010-03-12 03:18:34 +00:00
Jörn Zaefferer
b53bf774ce partial for #5126 - less rows in remote demo to avoid scrolling 2010-02-20 17:46:19 +00:00
Jörn Zaefferer
012ed1a194 partial for #5126 - improved custom data demo 2010-02-20 17:39:57 +00:00
Jörn Zaefferer
d2903141e0 partial for #5126 - extra classes for combobox input 2010-02-20 17:36:07 +00:00
Jörn Zaefferer
1dd12faf42 partial for #5126 - less rows in remote jsonp demo to avoid scrolling 2010-02-20 17:34:37 +00:00
Jörn Zaefferer
b9882e903a no delay need for local data 2010-02-17 09:24:01 +00:00
Scott González
f52018a344 Autocomplete categories demo: Simplified styling. 2010-02-17 03:40:01 +00:00
Scott González
1342b2a867 Autocomplete categories demo: Removed custom jQuery methods and tweaked the category styling. 2010-02-17 03:28:18 +00:00
Scott González
d3141b84cb Autocomplete demo: Added styling to the categories. 2010-02-17 02:08:43 +00:00
Scott González
5aaae1d695 Working categorized autocomplete demo. 2010-02-17 01:56:01 +00:00
Jörn Zaefferer
4f4715017d Fix for #5188 along with a half-functional demo (buggy keyboard navigation) 2010-02-16 16:20:05 +00:00
Richard Worth
0798b10717 Fixed #5182 - Update to jQuery 1.4.2 2010-02-16 02:39:57 +00:00
Richard Worth
828bcdd2f0 fixed #5163 - themes: css files need to be renamed to be consistent with js file renames in 1.8a1 2010-02-16 01:38:23 +00:00
Jörn Zaefferer
b72caa0f3d autocomplete: back to custom json encoding (for compat with older PHP implementations, fixed the double quotes 2010-01-28 13:29:20 +00:00
Jörn Zaefferer
de8ed36df1 autocomplete: back to custom json encoding (for compat with older PHP implementations, fixed the double quotes 2010-01-28 13:27:32 +00:00
Jörn Zaefferer
961238a50b autocomplete: use json_encode in PHP to produce valid JSON 2010-01-28 13:22:52 +00:00
Richard Worth
79bd955054 switched to jQuery 1.4.1 2010-01-27 12:29:43 +00:00
Jörn Zaefferer
1382af8af0 autocomplete: added xml-parsing demo 2010-01-26 20:52:21 +00:00
Richard Worth
eecbde22a6 eol-style and mime-type 2010-01-20 14:00:14 +00:00
Richard Worth
a1e069759d switched to jQuery 1.4 2010-01-20 13:52:38 +00:00
Scott González
7d96a0d096 Widget factory: Changed _create to _init.
Partial fix for #5064 - Widget: make multiple instantiation more useful.
2010-01-15 18:58:20 +00:00
Scott González
6024fdf256 Copied autocomplete from dev branch. 2010-01-14 17:23:11 +00:00