Commit Graph

3476 Commits

Author SHA1 Message Date
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
Scott González
cdd6161419 Dialog: Add positioning for content div. Fixes #4319 - Accordion overflow breaks when displayed inside a dialog on Internet Explorer. 2010-07-14 13:47:06 -04:00
jzaefferer
a3ab2b223b Add support for multiple events, along with hoverintent demo. Fixes #3614 - Accordion: support multiple events being set at the same time 2010-07-14 19:39:50 +02:00
Scott González
66659a1240 Accordion: Remove zoom on anchors. Fixes #4662 - Accordion: Long links create line breaks in IE. 2010-07-14 13:23:54 -04:00
Scott González
c71e63cb69 Accordion: Add disabled class to headers and panels to fix styling in IE. Fixes #5332 - Accordion: Disabled accordion doesn't look disabled in IE. 2010-07-14 11:00:28 -04:00
Scott González
936a9a6d9c Accordion: Default accordion to 100% width. Fixes #4615 - Accordion display problems in IE6/7 on panel close. 2010-07-14 09:19:32 -04:00
Scott González
e895d860a5 Accordion: Animate padding when only showing/hiding a single panel. Fixes #5540 - Accordion: Jumpy animation when opening a panel after closing all. 2010-07-14 08:29:58 -04:00
Scott González
21aad10e6a All: Define a local undefined variable inside the main closure. 2010-07-13 09:57:58 -04:00
Scott González
ba387ce1c5 Accordion: Fixed resize method for autoHeight. Fixes #5406 - autoHeight resize not working. 2010-07-13 09:40:46 -04:00
Scott González
551bf6e1e7 Accordion: Don't handle hover/focus when disabled. Fixes #5330 - Accordion headers still show rollover when disabled. 2010-07-13 09:10:43 -04:00
Scott González
2bf91e8e28 Accordion: Prevent the navigation filter from finding multiple elements. Fixes #4889 - Navigation parameter can open multiple sections. 2010-07-13 08:51:37 -04:00
Jon Palmer
f560862666 Dialog: add resize call when changing button options for correct height adjustment. Fixes remaining issues in #4846 - Setting Dialog height shorter after init hides button pane 2010-07-11 06:42:46 +08:00