Scott González [Thu, 5 Aug 2010 12:51:54 +0000 (08:51 -0400)]
Autocomplete: Handle clicks outside the autocomplete after scrolling the results (which causes the body to gain focus). Fixes #5903 - Autocomplete doesn't close after scrolling.
Scott González [Wed, 4 Aug 2010 17:26:42 +0000 (13:26 -0400)]
Autocomplete: Don't reset text field value on blur unless it will actually change the value. Fixes #5900 - Autocomplete: mousing over menu option replaces text box contents, moves caret.
Datepicker: use a setTimeout 0 so the same code can run in IE (as other browsers) to set focus back to the datepicker text input if a month or year drop-down is clicked closed. Fixes #5897 - Datepicker: inconsistent behavior in IE when click to close month and year drop-downs
Scott González [Fri, 30 Jul 2010 00:56:28 +0000 (20:56 -0400)]
Dialog: Wrap buttons in a div so we can float the div instead of the individual buttons. Fixes #4529 - dialog buttons are accessed in wrong order using tab.
Scott González [Thu, 22 Jul 2010 18:55:41 +0000 (14:55 -0400)]
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.
Scott González [Thu, 22 Jul 2010 02:10:16 +0000 (22:10 -0400)]
Core: Fixed :focusable and :tabbable selectors for to work with :hidden and :visibile selectors in jQuery 1.3.2+. Still need to handle areas properly. Partial fix for #4488 - :focusable and :tabbable are broken with jQuery 1.3.2.
Scott González [Wed, 21 Jul 2010 12:01:06 +0000 (08:01 -0400)]
Revert "Dialog: Don't set specific dimensions on the overlay - let it expand based on 100% dimensions. Fixes #3623 - Opening a Modal Dialog shows a horizontal scroll bar."
Scott González [Wed, 21 Jul 2010 02:05:05 +0000 (22:05 -0400)]
Dialog: Don't set specific dimensions on the overlay - let it expand based on 100% dimensions. Fixes #3623 - Opening a Modal Dialog shows a horizontal scroll bar.
Scott González [Tue, 20 Jul 2010 20:13:44 +0000 (16:13 -0400)]
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.
Scott González [Tue, 20 Jul 2010 19:13:54 +0000 (15:13 -0400)]
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.
Scott González [Tue, 20 Jul 2010 18:35:54 +0000 (14:35 -0400)]
Autocomplete (combobox demo): Detect valid entries when typed, but not selected from menu. Fixes #5605 - Autocomplete combobox demo does not accept valid values.
Scott González [Tue, 20 Jul 2010 17:24:53 +0000 (13:24 -0400)]
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.
Scott González [Tue, 20 Jul 2010 15:47:34 +0000 (11:47 -0400)]
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.
Scott González [Mon, 19 Jul 2010 19:45:30 +0000 (15:45 -0400)]
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.
Scott González [Mon, 19 Jul 2010 15:51:05 +0000 (11:51 -0400)]
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.
Scott González [Mon, 19 Jul 2010 13:41:21 +0000 (09:41 -0400)]
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.
Scott González [Fri, 16 Jul 2010 20:57:04 +0000 (16:57 -0400)]
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.
Sortable: Return an empty URL param for empty sortable lists. Fixed #5794 - sortable("serialize", {key: "foo[]"}) returns an empty string for an empty list
kobrigo [Wed, 16 Jun 2010 11:38:19 +0000 (04:38 -0700)]
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
Use .children() instead of .find() to manipulate accordion icons. Fixes #4645 - Accordion should only manipulate Icons that are children of ui-accordion-header
Scott González [Wed, 14 Jul 2010 19:28:01 +0000 (15:28 -0400)]
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.