Commit Graph

3047 Commits

Author SHA1 Message Date
Scott González
8fa9ed7cbc Tabs: Added tests for select event. 2010-07-20 20:51:09 -04:00
Scott González
f99068bb4f Accordion: Use this.headers instead of parsing the DOM to find headers when determining which panel is active. Fixes #5841 - Accordion active property inaccurate if nested accordion is present. 2010-07-20 16:13:44 -04:00
Scott González
e85615fc6b Autocomplete: Prevent the default behavior of pressing enter when the menu is open, even if no item is active. Partial fix for #5757 - Autocomplete combobox issues. 2010-07-20 15:13:54 -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
e4273ff621 Autocomplet: refactored handling of menu's selected event. 2010-07-20 12:10:58 -04:00
Scott González
2ed96cb0b8 Autocompelte: Only run a search if the value has changed; switching from a blacklist of keys to ignore. Fixes #5716 - autocomplete triggered when field copied with ctrl-c. 2010-07-20 11:48:53 -04:00
jzaefferer
88ec776178 Merge remote branch 'origin/master' 2010-07-20 13:58:10 +02: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
53489b502d Autocomplete: Don't update the value of the text field until after setting focus. Fixes #5639 - Cursor jumps to beginning on select. 2010-07-19 14:36:40 -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
5311fe22f3 Menu: Only look for .ui-menu-item elements to determine if a menu item is the first or last element in the menu. Fixes #5528 - Autocomplete: Issue when try to navigate using up key by keyboard in IE6. 2010-07-19 11:51:05 -04:00
Scott González
a090faa833 Menu: float .ui-menu since all .ui-menu-item elements are floated. Fixes #5691 - wrong menu size calculation in webkit browsers (Autocomplete). 2010-07-19 11:22:32 -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
Scott González
612838a151 Autocomplete: Added position option. Fixes #5153 - Autocomplete position option. 2010-07-19 09:28:04 -04:00
Scott González
5435c50765 Tabs: Fixed select method handling for index of -1. 2010-07-17 18:50:47 -04:00
Scott González
7e03d4ea9d Tabs: Updated tests. 2010-07-16 20:20:28 -04:00
Tiago Freire
eaddfedd66 Tabs: Fixed a broken commit for #3171. 2010-07-16 17:40:41 -04:00
Scott González
64d90b4a71 Dialog: Adjusted logic for finding the first tabbable element. Fixes #5767 - On open, the first tabbable element inside the dialog was never being focused in favor of the dialog container. 2010-07-16 16:57:46 -04:00
Holger Rüprich
9d01ab5645 Sortable: Return an empty URL param for empty sortable lists. Fixed #5794 - sortable("serialize", {key: "foo[]"}) returns an empty string for an empty list 2010-07-17 03:06:04 +08:00
Scott González
325a262b14 Autocomplete: Use .outerWidth() for determining the size of the menu. Fixes #5832 - Autocomplete: menu has incorrect width. 2010-07-16 14:12:06 -04:00
Diego
ba749ba683 Datepicker: Fixed pt-BR translation. Fixes #5363 - Error in datepicker translation for pt-BR. 2010-07-16 13:56:03 -04:00
Scott González
369474f315 Button performance test: Don't use alert(). 2010-07-16 10:45:26 -07:00
Scott González
f448c79c01 Accordion: Use .addClass() instead of .toggleClass() during init so the classes can be added by the user. 2010-07-16 13:40:11 -04:00
Tiago Freire
fde8c64fd3 Tabs: Added ability to reference tabs by href. Fixes #3171 - have option to remove tab by href content, not just by index. 2010-07-16 13:08:09 -04:00
Scott González
b368491f70 Button performance test: Added alert for time to initialize. 2010-07-16 11:53:37 -04:00
Scott González
70481d9feb Button: Restrict DOM querying to labels. Fixes #5810 - Buttonset and applet error. 2010-07-16 11:48:40 -04:00
Scott González
60dc67400e Dialog: Removed CSS rules for button styling - let the button plugin handling that. Fixes #5779 - Themeroller - size inconsistency with button widgets and dialog box buttons. 2010-07-16 11:20:40 -04:00
kobrigo
4be0942af0 argument shifting is not done correctly when the options argument is not supplied. the result is that the callback is not called. this fixes Ticket #5731 foooo 2010-07-16 16:09:23 +02:00
kobrigo
141748788b Fixed argument shifting for effects. Fixes #5731 - hide and show called with ommiting the options in parameters does not call the callback. 2010-07-16 10:02:06 -04:00
Scott González
bf947d1756 Class animation demos: Don't chain id and class selectors together in CSS since IE6 doesn't understand chained rules. 2010-07-16 09:37:31 -04:00
Scott González
4ad7154bee Dialog: Fixed whitespace. 2010-07-16 08:55:03 -04:00
Scott González
2366a81740 Dialog: Fixed tests for position option. 2010-07-16 08:55:03 -04:00
JustinMacCarthy
05368115bb added empty test for containment by array option 2010-07-16 02:44:08 +08:00
Scott González
f24bc0fb1f Widget: Deep extend options when creating a new plugin. Fixes #5830 - Widget: Using inheritance overwrites the base classes options. 2010-07-15 10:27:21 -04:00
jzaefferer
06f721b74f Use .children() instead of .find() to manipulate accordion icons. Fixes #4645 - Accordion should only manipulate Icons that are children of ui-accordion-header 2010-07-15 09:51:20 +02:00
jzaefferer
56aecac811 Updated test for default position option: Reference using-implementation, as QUnit compares functions only by reference 2010-07-15 09:31:36 +02:00
Scott González
6b36499c71 Merge branch 'master' of github.com:jquery/jquery-ui
Conflicts:
	tests/unit/dialog/dialog_defaults.js
2010-07-14 16:45:54 -04:00
Scott González
96e78a2cb7 Dialog: Updated test for default position option. QUnit still fails the test though. 2010-07-14 16:40:43 -04:00
Scott González
83910b6bd3 Dialog: Updated test for default position option. QUnit still fails the test though. 2010-07-14 16:38:16 -04:00
Ben Hollis
6de9a5368c Dialog: allow setting position with ui.position arguments. Fixes #5459 - Dialog: expose .position() API 2010-07-14 16:29:28 -04:00
Scott González
d8caa61be6 All CSS: Added header comments. Fixes #5825 - Add header info to all CSS files. 2010-07-14 15:55:54 -04:00
Scott González
8a5d4ca321 All: Added http://jqueryui.com/about to header comments. 2010-07-14 15:45:45 -04:00
Scott González
2c7a9e9ff3 Dialog: Verify that we get a string back from .attr( "title" ) before using the return value. Fixes #5742 - Form field with name="title" moved to title area. 2010-07-14 15:28:01 -04:00