Scott González [Fri, 27 Aug 2010 22:02:11 +0000 (18:02 -0400)]
Dialog: When using the title attribute, update the title option. Fixes #5877 - Dialog: when using the title attribute, the title option should be updated.
Scott González [Fri, 27 Aug 2010 17:34:14 +0000 (13:34 -0400)]
Position: Handle $(document) and $(window) for the of option. Fixes #5963 - Position: option 'of' accepts jQuery object unless it wraps document. Fixes #5655 - (Possible) Typo in jquery.ui.position 1.8.1.
Scott González [Fri, 27 Aug 2010 17:19:51 +0000 (13:19 -0400)]
Position: Created center variable for better minification. Fixes #5964 - Combine horizontalDefault and verticalDefault to one variable - possibly named center.
Autocomplete: changed menu activated function to check if the offset is greater than or equal the height. Fixed #5923 - autocomplete: Scrolling with the keyboard sometimes does not show the item (Chrome)
Autocomplete: changed the search function to always store the last term that was entered by the user. Fixed #5922 - autocomplete: Search not triggered if the first letter is the same as the first letter of a previous erased content
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