Commit Graph

2284 Commits

Author SHA1 Message Date
jzaefferer
f7d8a1ba57 Porting old spinner implementation to 1.8, dropping some baggage. 2010-10-22 06:16:12 +02:00
Scott González
32264f7ad1 Position: Handle sub-pixel offsets better in Firefox. Fixes #6000 - Position: Sometimes positioning is off by 1px in Firefox. 2010-10-21 23:25:42 -04:00
Scott González
a0c856467d Autocomplete: Split menu resizing logic into its own method to create a more logical method to proxy for custom sizing. 2010-10-21 22:15:13 -04:00
jzaefferer
732a485676 Tooltip: Adding another ajax example to visual testcase. Fixing async response handling (taking IE cached response quirk into account) and simplifying fade animations a ton. 2010-10-21 21:03:48 +02:00
Scott González
6ba75aa698 Widget: Don't throw errors for invalid method calls (wait till 1.9 to add this back). Reverts fix for #5972 - Widget: Throw error for non-existent method calls. 2010-10-21 09:52:27 -04:00
Scott González
eab0a6dac1 Position: Use a better check for determining if an object is a window. Fixes #6201 - Autocomplete: Broken menu in IE8 Standards Mode when including prototype framework. 2010-10-20 23:47:17 -04:00
Scott González
c74f53898e Widget: Fixed reference to element in _getCreateOptions(). 2010-10-19 23:19:53 -04:00
Scott González
72985fbbec Core: Don't use $.style since it doesn't exist in jQuery 1.3.2. Fixes #6196 - outerWidth() setter broken with jQuery 1.3.2. 2010-10-19 22:45:56 -04:00
Richard D. Worth
ec73a59c77 Mouse: better check for not IE9 or greater in case mode was set by X-UA-Compatible. See http://msdn.microsoft.com/en-us/library/cc196988%28VS.85%29.aspx for more info. Fixes #5370 - All drag & drop events fail in IE9. Thanks xirzec. 2010-10-15 01:04:39 -07:00
Richard D. Worth
7eaedaad29 changed jQuery to $ in last commit for consistency 2010-10-14 02:55:40 -07:00
Richard D. Worth
8fcf58e29e Mouse: Limit mouseup out of window check to only versions of IE earlier than 9 as IE9 has this fixed. Fixes #5370 - All drag & drop events fail in IE9. 2010-10-14 02:53:20 -07:00
Scott González
a829697d0c Mouse: Always call event.preventDefault() in _mouseDown if we've met the starting conditions. Fixes #6174 - Mouse: 1.4.3rc2 breaks interactions on anchors. 2010-10-13 13:30:50 -04:00
Scott González
3e225de13c Core: Minor cleanup. 2010-10-12 09:20:04 -04:00
Scott González
450d0306dd Autocomplete: Don't react to key events on readonly inputs. Fixes #6170 - autocomplete pops up on readOnly inputs. 2010-10-11 17:23:50 -04:00
Scott González
da13ea26fe Autocomplete: Pass along some more original events. 2010-10-11 08:51:54 -04:00
=
03efae2887 Button: removed explicit call to _init() from _create(). Fixes #6165 - buttonset: refresh() fires twice on create 2010-10-09 02:24:56 +08:00
Scott González
09073f042e Effects: Added borderColor to color animation list. Fixes #6164 - Effectts: Allow borderColor to be animated. 2010-10-08 08:07:54 -04:00
Scott González
62799d9122 Widget: Simplified _getCreateOptions(). 2010-10-07 09:06:28 -04:00
Scott González
512825d358 Widget: Added ability to define how to find options on init. Fixes #6158 - Widget: Ability to define new methods for gathering options on init. 2010-10-06 15:11:49 -04:00
Dmitry Petrov
c3b282fceb Autocomplete: Prevent keypress events caused by enter key when selecting an item. Fixes #6055 - Autocomplete: Selecting an item by pressing enter submits the form in Opera. 2010-10-06 10:24:03 -04:00
m157y
66346d04bf Datepicker: fixed problem on ids with. Fixed #6154 – Datepicker brokes handler ids with dashes 2010-10-06 08:37:25 -04:00
m157y
7da662410b Datepicker: fixed typo in russian localization. Fixed #6100 – Datepicker: Incorrect weekHeader for Russian localization 2010-10-06 08:34:40 -04:00
Scott González
302728bd87 Dialog: Fixed logic for mimicking minHeight. Fixes #6150 - Dialog height:auto does not work in IE6. 2010-10-05 16:20:43 -04:00
Scott González
a5c119558b Autocomplete: Make sure we have a response before trying to check the length. Fixes #6147 - Autocomplete: Errors on empty responses. 2010-10-05 11:09:39 -04:00
Scott González
3b38025ced Effects: Jump to final state and execute callbacks when $.fx.off is set to true. Fixes #6131 - Dialog breaks when $.fx.off. Partial fix for #5512 - jQuery.fx.off and effect on jQuery UI Effects. 2010-10-04 14:52:06 -04:00
jenters
c3145b691b Tab: modified init to display correct content of misordered div when hash present in url. Fixed #6125 - Incorrect selection of tab on init with hash in url and misordered divs 2010-10-04 10:40:27 -04:00
John Firebaugh
e66cdfcf59 Dialog: Don't change DOM position on open. Fixes #6137 - dialog('open') causes form elements to reset on IE7. 2010-10-04 09:18:46 -04:00
Scott González
c090802cc1 Revert "Dialog: Don't change DOM position on open. Fixes #6137 - dialog('open') causes form elements to reset on IE7."
This reverts commit 67b1db14c9.

Reverting so I can commit again with the proper author.
2010-10-04 09:18:21 -04:00
Scott González
67b1db14c9 Dialog: Don't change DOM position on open. Fixes #6137 - dialog('open') causes form elements to reset on IE7. 2010-10-04 09:15:40 -04:00
Scott González
d7670b9407 Dialog: Don't pass props to jQuery when creating buttons.
Thanks jitter.
2010-10-01 11:19:24 -04:00
Scott González
cd7f10d480 Dialog: Set the type on buttons. Fixes #6128 - Dialog: Buttons are not type="button". 2010-09-30 10:17:52 -07:00
Scott González
a2ddfd5107 Widget: Added create event. Fixes #6126 - Widget: Add create event. 2010-09-29 17:36:45 -07:00
Scott González
e8e3168a39 Dialog: Batch size-related option settings. 2010-09-27 15:15:20 -04:00
Scott González
9d88b565d6 Widget: Added _setOptions method for handling normalized options setting. Fixes #6114 - Widget: Add _setOptions() method. 2010-09-27 11:21:09 -04:00
Scott González
0b6710aed7 Progressbar: Added a complete event. Fixes #3500 - Progressbar callback at the end. 2010-09-27 10:44:04 -04:00
Scott González
adcafce7a2 Autocomplete: Only prevent the default action for enter when a menu item is active. Fixes #6038 - Autocomplete: Allow default behaviour on enter when menu is open but inactive.
Thanks Ján Suchal.
2010-09-27 10:10:00 -04:00
Scott González
dda7bcb638 Autocomplete (Menu): Only traverse through .ui-menu-item elements for paging. Fixes #6029 - Autocomplete: Custom item can be activated (and result in error) on PageUp/PageDown key click. 2010-09-27 09:10:18 -04:00
Scott González
0ccc78698b Autocomplete: Handle IE firing focus events asynchronously. Fixes #6109 - Autocomplete Change event does not fire in IE. 2010-09-24 16:49:10 -04:00
Scott González
23b569f46e Datepicker: Added Portuguese localization. Fixes #6102 - Datepicker: Add Portuguese localization. 2010-09-24 08:58:18 -04:00
Daniel Steigerwald
3f9b953117 Widget: Use charAt instead of substring for private method check. 2010-09-20 15:03:42 -04:00
Scott González
9e19747209 Accordion: Don't pass multiple classes to .toggleClass(). Fixes #6084 - Accordion: 1.8.5 not fully compatible with core 1.3.2. 2010-09-20 14:56:17 -04:00
Scott González
47e312b238 Core: Only use mousedown to prevent text selection in browsers that don't support selectstart. Fixes #6080 - Core: disableSelection() disables select elements in Chrome. 2010-09-20 11:53:51 -04:00
Jorge Barreiro
f04a25f9bf Datepicker: Added galician localization. Fixes #6079 - Datepicker: Add Galician localization. 2010-09-20 10:59:01 -04:00
Scott González
ce08df3bdc Effects: Fixed .show(), .hide(), .toggle() to accept a hash of options again. Fixes #6078 - Effects: Passing an object for parameters no longer works. Fixes #6067 - Dialog show/hide animations do not work. 2010-09-20 10:07:45 -04:00
Lim Chee Aun
a936eb3c09 Datepicker: Hightlight the curerent date, not the selected date. Fixes #5984 - Datepicker showing multiple months highlights selected day in all of them 2010-09-20 09:49:11 -04:00
Scott González
d380099116 Autocomplete: Properly handle non-item clicks inside the suggestion list. Fixes #6052 - Autocomplete suggestion list does not close properly. 2010-09-20 09:27:32 -04:00
Scott González
98a98a05d1 Dialog: Don't call draggable.destroy if we're not currently draggable. Fixes #6069 - DIALOG windows 1.8.5 draggapble problem. 2010-09-20 09:16:29 -04:00
AndrewNewcomb
590e03cc32 datepicker: changed parseDate to be case insensitive. Fixed #6036 - datepicker: parseDate is case sensitive. 2010-09-09 21:54:24 +08:00
Scott González
9a2dafa948 Core: Avoid layout bug in IE with minHeight support test. 2010-09-07 14:06:07 -04:00
Christopher McCulloh
8f22b2b6b3 Tabs: Prevent opening a tab while panels are being animated. Fixes #4771 - Tabs: Occassionally displays multiple tabs when clicked with rotate control using opacity toggle fx. 2010-09-07 13:20:41 -04:00
Scott González
409f5d1ba0 Core: Improvements to minHeight support test. Thanks jdalton. 2010-09-07 12:15:34 -04:00
Scott González
52e543a637 Dialog: If the browser doesn't support minHeight, use height to set the minHeight. Fixes #6027 - Dialog: minHeight isn't properly handled on init in IE6. 2010-09-07 09:33:09 -04:00
Scott González
99694e6fec Core: Added $.support.minHeight. Fixes #6026 - Core: Add jQuery.support.minHeight. 2010-09-07 09:28:22 -04:00
Scott González
1b31765655 Tabs: Handle empty hrefs for IE6/7 as invalid. Fixes #5755 - Tabs: tabs with an empty href are enabled in IE6/7. 2010-09-03 13:35:05 -04:00
Scott González
78540e2c0c Tabs: Allow non-latin characters for ids. Fixes #4581 - title attribute for remote tabs does not support foreign languages. 2010-09-03 11:35:10 -04:00
Ben Hollis
4b9d5d1b5b Position: Take margin into account when performing collisions. Fixes #5766 - position: collision should take margin into account. 2010-09-03 10:38:44 -04:00
Scott González
0a0a39f896 Widget: Hook into jQuery.cleanData to auto-destroy widgets. Fixes #6008 - Widget: auto-destroy is broken in jQuery 1.4. 2010-09-03 09:49:29 -04:00
Scott González
de02aa34a8 Dialog: Set the _isOpen flag before triggering the open event. Fixes #6012 - Dialog: _isOpen flag should be set before triggering open event. 2010-09-02 08:35:40 -04:00
Scott González
5de8ced5d9 Core: Refactored .disableSelection() and .enableSelection(). 2010-09-01 09:49:18 -04:00
Scott González
95a34593f9 Dialog: Added additional syntax for creating buttons. Fixes #4344 - Dialog: Enhanced Button Option. 2010-08-31 10:17:53 -04:00
jzaefferer
dea2f8a7fc Autocomplete: Store term when selecting an item to prevent another search triggered before blur. Fixes #5591 - Home and End keys trigger search 2010-08-31 14:20:56 +02:00
Scott González
79ee6f0d7b Dialog: When using the title attribute, update the title option. Fixes #5877 - Dialog: when using the title attribute, the title option should be updated. 2010-08-27 18:02:11 -04:00
Scott González
af9864dcc4 Dialog: Don't return true when we don't want to cancel events. Fixes #3523 - Dialog: onclick return value ignored. 2010-08-27 16:49:07 -04:00
Scott González
1e28040cf3 Widget: Throw errors when calling non-existent methods or methods on uninistantiated widgets. Fixes #5972 - Widget: Throw error for non-existent method calls. 2010-08-27 14:48:17 -04:00
Scott González
52a052be79 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. 2010-08-27 13:34:14 -04:00
Scott González
2acfde9e5e Position: Created center variable for better minification. Fixes #5964 - Combine horizontalDefault and verticalDefault to one variable - possibly named center. 2010-08-27 13:19:51 -04:00
Scott González
16e93d5189 Core: Fixed .disableSelect() and .enableSelect() in all browsers. Fixes #5723 - disableSelection() doesn't work cross-browser. 2010-08-27 12:00:59 -04:00
Scott González
a3d9a91661 Core: Re-ordered functions. 2010-08-27 11:52:03 -04:00
Scott González
da2be6a2af Autocomplete: Abort existing ajax requests when running new searches. 2010-08-24 21:41:34 -04:00
Scott González
f115b48d2b Autocomplete: Don't handle remote data if it's not the most recent request. Fixes #5982 - Autocomplete: Race condition causes incorrect suggestions. 2010-08-24 09:14:44 -04:00
Scott González
1cca969c3c Widget: Refactored code for re-initialization to reduce file size. 2010-08-23 15:35:49 -04:00
Scott González
2838c11ea8 Button: Read disabled attribute from original element if disabled option is null. Fixes #5252 -Button: read disabled option from input elements. 2010-08-18 14:51:30 -04:00
Scott González
9060bf3d09 Buttonset: Ignore hidden buttons. Fixes #5946 - buttonset should ignore buttons that are not :visible. 2010-08-18 10:13:57 -04:00
Ben Hollis
7692b6e65f Position: Fix flip collision. Fixes #5932 - Position: flip collision handling is wrong in some cases. 2010-08-11 23:33:49 -04:00
ph-ausseil
03eea0e39d Tabs: Ignore sublists. Fixes #5893 - Tabs: ability to contain sublists. 2010-08-11 23:06:41 -04:00
Scott González
2398f6d23a Datepicker: Added Kazakhstan localization. Fixes #5924 - Kazakhstan localization for ui.datepicker. 2010-08-11 08:33:46 -04:00
Robson Braga Araujo
3af1f6c1ce 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) 2010-08-11 08:21:09 +08:00
Robson Braga Araujo
9a4eecdf85 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 2010-08-11 08:21:08 +08:00
Scott González
04347e5a0d Fixed broken whitespace characters and missing semicolon. Fixes #3921 - Problem with JavaScriptPacker. 2010-08-10 18:16:44 -04:00
malsup
2b9d684d1a Effects: Fix show/hide/toggle test for using core functions. Fixed: #5456 - show() function broken with "normal" speed 2010-08-09 06:13:11 +08:00
Scott González
de266a1275 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. 2010-08-05 08:51:54 -04:00
Scott González
ed07f0a056 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. 2010-08-04 13:26:42 -04:00
Richard D. Worth
85b8816fa9 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 2010-08-04 02:39:54 -07:00
Ziling Zhao
c5770c0e84 Dialog: modified so that minWidth is respected. Fixes #5531 - dialog width should be at least minWidth on creation. 2010-07-30 15:14:48 -04:00
Scott González
90caa93a9b Autocomplete: Respect the disabled option. Fixes #5619 - Autocomplete widget keeps looking for remote data even when it's disabled. 2010-07-30 12:59:33 -04:00
Scott González
58ae7ce2fd Revert "Use pushStack in widget method. Fixes #5732 - make the widget method maintain the stack"
This reverts commit ea58cd5ac0.
2010-07-30 12:38:18 -04:00
jzaefferer
96977edecc Use pushStack in tooltip's widget method. See #5732 2010-07-30 14:30:43 +02:00
jzaefferer
ea58cd5ac0 Use pushStack in widget method. Fixes #5732 - make the widget method maintain the stack 2010-07-30 14:26:58 +02:00
jzaefferer
b3940d2f78 Replace element.data(...) with $.data(element, ...). Fixes #5756 - Widget: Use $.data instead of .data for performance reasons 2010-07-30 14:04:11 +02:00
Scott González
61e0aeac7e 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. 2010-07-29 20:56:28 -04:00
Scott González
f00c03139b Progressbar: cleanup. 2010-07-29 05:38:24 -04:00
Scott González
5a8c7e86e1 Tabs: coding standards. 2010-07-28 11:28:14 -04:00
Scott González
bccfb535c3 Accordion: minor cleanup. 2010-07-27 17:23:00 -04:00
Scott González
27095ef8e1 Core: Coding standards. 2010-07-22 19:26:37 -04:00
Scott González
59c9f75951 Accordion: Coding standards. 2010-07-22 19:10:14 -04:00
Scott González
fe13fbadd4 Core: Better support for areas in :focusable and :tabbable selectors. Partial fix for #4488 - :focusable and :tabbable are broken with jQuery 1.3.2. 2010-07-22 10:33:42 -04:00
Scott González
4deb824699 Core: Added .outerWidth(), .outerHeight(), .innerWidth(), .innerHeight(). Fixes #5850 - .outerWidth(), .outerHeight(), .innerWidth(), .innerHeight() setters. 2010-07-21 22:17:52 -04:00
Scott González
3f070bdc62 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. 2010-07-21 22:10:16 -04:00
Scott González
4c55071976 Autocomplete: Fixed bad reference to ownerDocument. 2010-07-21 14:56:15 -04:00
Scott González
74e0d4f473 Autocomplete: Added appendTo option. Fixes #5836 - Autocomplete: add appendTo option. 2010-07-21 14:54:20 -04:00
Scott González
70c4857cc5 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."
This reverts commit b548d34e14.
2010-07-21 08:01:06 -04:00
Scott González
b548d34e14 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. 2010-07-20 22:05:05 -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
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
52c31650b0 Tooltip: Updated positioning - let user also customize of-property 2010-07-20 14:00:43 +02: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
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
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
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
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
70481d9feb Button: Restrict DOM querying to labels. Fixes #5810 - Buttonset and applet error. 2010-07-16 11:48:40 -04: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
4ad7154bee Dialog: Fixed whitespace. 2010-07-16 08:55:03 -04: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
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
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
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
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
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
jzaefferer
9b9b66d6ad Updated copyright headers to make it clear that you can choose between MIT and GPLv2. Also added a link to http://jquery.org/license. 2010-07-09 15:36:06 +02:00
jzaefferer
0746f99115 Updated copyright headers to make it clear that you can choose between MIT and GPLv2. Also added a link to http://jquery.org/license. 2010-07-09 15:32:54 +02:00
Scott González
ca42e114c3 Merge branch 'master' of github.com:jquery/jquery-ui 2010-07-09 09:02:03 -04:00
Scott González
536ae6189b Updated copyright headers to make it clear that you can choose between MIT and GPLv2. Also added a link to http://jquery.org/license. 2010-07-09 09:01:04 -04:00
Samuel Cormier-Iijima
89c0961c38 Core (widget): don't pass DOM objects to $.fn.add. Fixes #5743 ($.fn.remove does not trigger remove event for <select>s) 2010-07-09 00:11:06 +08:00
Scott González
7750bd0304 Whitespace 2010-07-07 09:56:18 -04:00
Scott González
3c18cf3b97 Whitespace 2010-07-07 09:51:42 -04:00
Scott González
3f3f357171 Droppable: Adjust fit tolerance to allow dropping an element exactly the same size as the droppable area. Fixed #5689 - Droppable tolerance fit feature. 2010-07-06 12:15:47 -04:00
tzkuei
92b7722fff Slider: Removed redundant call _normValueFromMouse. Fixed #5796 - Slider: Redundant call to _normValueFromMouse 2010-07-06 20:17:31 +08:00
jzaefferer
0bbbe5f5b1 Autocomplete: Updated escapeRegex utility based on http://xregexp.com/xregexp.js 2010-07-05 10:06:16 +02:00
eXtreme
7d24c1a57f Resizable: Adding missing variable initialization. Fixes #5694 - Invalid reference in UI Resizable hack for Opera. 2010-06-28 10:35:58 +08:00
jzaefferer
bf977a6770 Menu: Improve first and last methods to take non-menuitem items into account 2010-06-19 17:16:15 +02:00
jzaefferer
d5df3a5a56 Menu: make the move method private 2010-06-19 17:03:08 +02:00
jzaefferer
2360af22a8 Menu: make the hasScroll method private 2010-06-19 16:59:27 +02:00
jzaefferer
9ac357813f Menu: Fixes for destroy method completeness 2010-06-18 11:16:10 +02:00
jzaefferer
b376fa8dda Menu: Implemented destroy method and disabled option, modified test to pass html-compare-destroy test and extended default visual test for testing destroy and disabled features 2010-06-18 10:57:20 +02:00
Alberto Fernández Capel
eb13c01722 Changed comparison to highlight selected date, fixes #5676 (DatePicker Dialog defaultDate incorrect behaviour) 2010-06-14 16:46:04 +08:00
Kevin Dalman
aa416fcfd9 Resizable: Add missing var declaration to new _reset function/subroutine. 2010-06-10 09:33:01 +08:00
ALLPRO
a78d5ee4c8 Resizable: Patched the alsoResize plugin to fix 2 critical bugs. Fixes #5694 - Invalid reference in UI Resizable hack for Opera. Fixes #5662/5695/3842 - When resizing from top or left edge, Dialog adds top/left CSS values to content element. Enhances Dialog - Allows dialog-content to have position:relative to 'contain' floated and positioned elements. Bug Demo for #5662 - http://layout.jquery-dev.net/samples/ui_dialog_bug.html 2010-06-10 09:33:00 +08:00
Richard D. Worth
a90e195489 Selectable: moved position absolute and z-index to css. Fixed #4475 - Selectable helper has z-index hard coded 2010-05-26 18:42:24 -04:00
Richard D. Worth
202ddd0c58 Button: Removed ui-button-text-icon class. Added ui-button-text-icon-primary and ui-button-text-icon-secondary classes. Fixed #5382 - Button: specifying only a secondary icon for the button widget locates the icon on the left 2010-05-26 15:08:37 -04:00
Scott González
afaa03575f Core: Better detection of when core is loaded twice. Fixes #5636 - Load ui.position before ui.core couse ui.core not execute. 2010-05-19 20:33:23 -04:00
jzaefferer
18a526ad78 Show tooltip before positioning it to fix scrolling issue, then hide again before animation 2010-05-19 18:51:38 +02:00
jzaefferer
fc093e9feb Prevent autocomplete-menu from closing when clicking 'slowly', eg. a long mousedown. Fix for #5405 - Autocomplete: select event not triggered when mousedown duration > blur timeout 2010-05-18 14:57:02 +02:00
Scott González
fcbf4c0872 Tabs: Removed instances of " .. + (++ .." to avoid a minification bug in closure compiler. Fixes #5576 - invalid increment operand. 2010-05-17 20:48:07 -04:00
adam j. sontag
0460b46c1c Selectable: Creation of helper must conform with style guide. 2010-05-13 22:51:28 +08:00
adam j. sontag
05725e25ae Selectable: Add default CSS for ui-selectable-helper to CSS framework to allow user override. Fixes #5607 - Selectable has helper css hardcoded in JS 2010-05-13 22:35:40 +08:00
Paul Irish
dc646c01fe Datepicker: cleaning up the datepicker open transition. fixed #5609 - Datepicker: change default opening animation to fadeIn 2010-05-13 01:18:55 +08:00
Jack Hsu
e780583694 Selectable: modified _mouseStart function to unselect event.target if the
Ctrl/Cmd key is pressed, and target is selected. Fixed #4293 - Ctrl + Click on 
selected list item does not deselect
2010-05-12 23:49:25 +08:00
Jack Hsu
5b4c04acb5 Selectable: modified _mouseStart function to unselect event.target if the Ctrl/Cmd key is pressed, and target is selected. Fixed #4293 - Ctrl + Click on selected list item does not deselect 2010-05-12 23:49:15 +08:00
Richard D. Worth
114c001aba Slider: trim to max and min on UP DOWN LEFT RIGHT. Fixed #5591 - Slider: can go outside min and max with keyboard 2010-05-11 08:36:56 -04:00
Richard D. Worth
5fd158053f Datepicker: i18n Polish changed yy-mm-dd to dd.mm.yy. Fixed #5522 - Wrong date format for polish regional 2010-05-11 08:30:22 -04:00
Richard D. Worth
34912bc933 Slider: fixed step alignment to handle negative fractional values. Fixed #5583 - Slider displays negative fractional values incorrectly. Thanks for the patch watanabe. 2010-05-11 08:17:18 -04:00
Richard D. Worth
b7c0823da6 Slider: trim value to min and max when page_up or page_down is pressed. Fixed #5591 - Slider: can go below its defined minimum with PageDown 2010-05-11 07:31:48 -04:00
Richard D. Worth
b53b48b618 Datepicker: i18n SK changed firstDay to 1 instead of 0. Fixed #5600 - Datepicker localization SK. Thanks borsuk 2010-05-11 05:23:38 -04:00
ornicar
a4488aff7c Fix 'this.options is undefined' in sortable by using this instead of self 2010-05-05 19:14:55 +08:00
Richard D. Worth
0ad5ac7382 Datepicker: avoid ambiguous + ++ in min file. Partial fix for #5576 - invalid increment operand 2010-05-04 23:11:06 -04:00
jzaefferer
adf19a1849 Renamed menu event selected to select to be consistent with naming conventions, already updated spec on wiki 2010-04-30 13:18:34 +02:00
jzaefferer
abfdb2a8b6 First attempt at integrating key handling into menu 2010-04-30 13:04:09 +02:00
jzaefferer
c7edd586d4 Placeholder for destroy method in menu 2010-04-30 10:21:40 +02:00
jzaefferer
f0d1262d47 Actually removed the menu code from the autocomplete file 2010-04-30 10:19:36 +02:00
Scott González
01ad6ce83e Remove previous text/icon classes when updating buttons.
Fixes #5567 - button text, hide then show again.
2010-04-29 21:38:23 -04:00
Scott González
0aa4c7f9b6 Removed case-sensitive .nodeName check.
Fixes #5557 - Comparing element.nodeName directly against upper case tag names can cause problems.
2010-04-27 19:41:10 -07:00
Richard D. Worth
670ab819a9 Revert "Draggable: Don't use computed style for top and left of position:relative elements. Fixes #5537 - Draggable: position relative draggable jumps on first drag in Opera"
This reverts commit dc94bbf536.
2010-04-23 16:13:06 -04:00
Scott González
cb7eb69973 Autocomplete: Ignore command (left and right/menu/windows), insert, caps lock, home, end keys.
Fixes #5415 - Catch all common keys while typing a word.
2010-04-23 13:00:54 -04:00
Scott González
3570c1f768 Core: Added COMMAND/COMMAND_LEFT/WINDOWS, COMMAND_RIGHT/MENU key codes.
Fixes #5542 - Add keyCodes for command buttons.
2010-04-23 12:56:52 -04:00
Scott González
02c32959d9 Button: Added missing semicolon.
Fixes #5536 - Mission semicolon on line 5368.
2010-04-23 12:08:55 -04:00
jzaefferer
99900d57ce Tooltip: Improve fadeout animation to handle case where tooltip overlays the element, causing it to hide instantly and never appearing again 2010-04-23 09:41:19 +02:00
Richard D. Worth
dc94bbf536 Draggable: Don't use computed style for top and left of position:relative elements. Fixes #5537 - Draggable: position relative draggable jumps on first drag in Opera 2010-04-22 09:56:35 -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
Richard D. Worth
6e77ee19bc Fixed #5532 - Datepicker i18n: Encoding error in Swiss-French (fr-CH) file 2010-04-21 05:00:33 -04: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
84e0ce168f Tooltip: Unit tests for tooltip and a fix to pass through event objects to triggered events 2010-04-15 09:45:35 +02:00
Richard D. Worth
3291d3951a sortable: don't call the base widget _setOption for disabled to avoid the ui-state-disabled class being added. Fixes #5501 - sortable: disabled should not have the ui-state-disabled class 2010-04-09 14:43:44 -04:00
jzaefferer
6204e1a3c4 The accidental merge of tooltip into master was reverted in master, that revert got merged back into tooltip; now reverting that revert to get the tooltip stuff back, should then make it easy to merge into master once tooltip is done 2010-04-08 23:21:47 +02:00
jzaefferer
c01b3baef9 Autocomplete: Track input changes and fire change-event on blur, along with selected item, if available. Fix for #5490 2010-04-08 12:05:52 +02:00
Jörn Zaefferer
5ade79a380 Fixed spelling of Poniedziałek - Fix for #5487 - Datepicker localization: Spelling of dayname wrong 2010-04-06 06:49:53 -07:00
jzaefferer
cae15a4d37 Accordion: Fixed case for tabIndex (was tabindex), fixes failing destroy-test in IE6 2010-04-03 17:14:01 +02:00
Richard D. Worth
87ba795467 slider: jslint cleanup (thanks for the start zhaoz) and style changes to meet http://docs.jquery.com/JQuery_Core_Style_Guidelines 2010-04-02 23:16:46 -04:00
Richard D. Worth
d38e20a0d3 ui core: enableSelection, disableSelection: Removed selectstart event filters from enableDisable and disableSelection as these are general utility convenience methods intended to prevent native browser text selection not jQuery UI Selectable selection. Fixes #5477 - core: enableSelection and disableSelection should only prevent native browser text selection 2010-04-02 17:09:37 -04:00
Richard D. Worth
51b72a502f slider: corrected a regression introduced by commit 5ffd3ab 2010-04-02 10:32:33 -04:00
Richard D. Worth
354682e3eb Slider: added support for canceling start event. Fixes #5472 - slider: event start not cancelable 2010-04-01 15:08:20 -04:00
Richard D. Worth
5ffd3ab36a Align slider value to step. Fixes #5471 - value not aligned to step when set programatically 2010-04-01 15:00:45 -04:00
jzaefferer
00fdd8bcd9 Revert accidental "Merge branch 'tooltip' of github.com:jquery/jquery-ui"
This reverts commit df31e22b95, reversing
changes made to ab8d155217.

Need to revert this revert later on when actually merging the tooltip branch into master.
2010-04-01 09:33:25 +02:00
jzaefferer
df31e22b95 Merge branch 'tooltip' of github.com:jquery/jquery-ui 2010-04-01 09:25:21 +02:00
unknown
ebac9717fd Tooltip: Renamed show to open and open to _show (based on spec), changed trigger(show) to trigger(open) and added trigger(close); always use element as target, enabling programmatic opening and closing 2010-03-31 20:17:45 +02:00
Richard D. Worth
4657bd85bc Changed widget factory to keep generic css framework class -state-disabled in ui namespace instead of custom widget namespace. Fixes #5443 - $.Widget uses [namespace]-state-disabled, must be ui-state-disabled to be useful 2010-03-29 10:00:26 -04:00
jzaefferer
a009595bd3 Merge branch 'master' into tooltip 2010-03-27 11:06:31 +01:00
jzaefferer
c49be0be1a Merge branch 'master' of github.com:jquery/jquery-ui 2010-03-27 10:57:33 +01:00
jzaefferer
551fa98ae4 Accordion: Moving IE layout fix (via zoom: 1) from js to css - fixes the destroy-method test in IEs (zoom style wasn't cleaned up on destroy) and should perform slightly faster, too 2010-03-27 08:03:48 +01:00
jzaefferer
49411982c2 Slider: Refactoring _trimValue method to use more sane programming logic 2010-03-27 01:52:44 +01:00
jzaefferer
b96ff11e3b Slider: Refactoring _valueMin and _valueMax methods, removing useless temporary variables 2010-03-27 01:49:56 +01:00
jzaefferer
3922996231 Slider: Inlining _step method, was used only once 2010-03-27 01:47:42 +01:00
Scott González
9541bd0bf2 Position: Use parseInt() to prevent fractional pixel values.
Fixes #5280 - ui.position generates different position in static context.
2010-03-26 19:53:43 -04:00
jzaefferer
f1933142e4 Merge branch 'master' into tooltip 2010-03-26 12:45:32 -04:00
jzaefferer
6d9caf1e23 Autocomplete: Only remove classes actually added by the widget, ui-widget etc. aren't added, so don't remove them 2010-03-26 12:42:03 -04:00
jzaefferer
40e3637117 Added $.ui.keyCode.ALT to complete list of metakeys, used in autocomplete 2010-03-26 12:40:46 -04:00
Scott González
b297b3fa6a Fixed size calculations for dialogs.
Fixes #5392 - Dialog explicit height doesn't match given value from set option.
2010-03-25 21:58:08 -04:00
jzaefferer
a3286b12be Tooltip: Added comment about asny response handling 2010-03-25 15:28:34 -04:00
jzaefferer
3bd4de2a87 Tooltip: Add role='application' to body when there is no role attribute; required for screenreaders to interpret aria attributes correctly 2010-03-25 15:23:02 -04:00
jzaefferer
32e9d58963 Tooltip: Fix positioning 2010-03-25 15:22:19 -04:00
jzaefferer
e285e43d2b Tooltip: Replacing mouseover/out with mouseenter/leave, dropping (for now) support for event delegation 2010-03-25 14:46:42 -04:00
Scott González
f2873b6ebf Menu: Ignore clicks that don't occur on the anchor tag within a valid menu item.
Fixes #5376 - Menu plugin fires select when border is clicked.
2010-03-24 07:15:30 -07:00
Scott González
596d1ef581 Dialog: Use .height(0) instead of .hide(0) when determining the size of the non-content area of a dialog.
Partial fix for #5392 - Dialog explicit height doesn't match given value from set option.
2010-03-22 07:53:34 -04:00
jzaefferer
7dbf7ecfc1 Copying files from old Googlecode dev branch for tooltip 2010-03-21 22:28:32 +01:00
Scott González
1ddd4f5d3f Menu: pass the original event to the select callback.
Fixes #5343 - Add option to allow form submission when option is chosen.
2010-03-20 16:17:56 -04:00
Scott González
c61bd8ec67 Menu: Don't trigger select if a click occurs outside of a menu item.
Fixes #5376 - Menu plugin fires select when border is clicked.
2010-03-20 15:09:46 -04:00
Scott González
e70743cdcb Autocomplete: Don't trigger a search when the left or right arrow keys are used.
Fixes #5289 - Autocomplete: ignore cursor left/right.
2010-03-20 14:58:38 -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
Jörn Zaefferer
65d8fa2b0c autocomplete: pass through mouse and key events to menu methods in order to differentiate between key and mouse events in autocomplete 2010-03-20 14:57:06 +00:00
Richard Worth
796177c610 eol-style and mime-type 2010-03-17 23:50:13 +00:00
Richard Worth
f2438fe7eb fixed #5368 - Autocomplete: aria role for menu should be listbox instead of menu 2010-03-17 23:22:02 +00:00
Richard Worth
0604e11052 Slider: fixed change event to be triggered by keyup and value and values option setters. Fixes #5367 - slider change event not triggered by keypress 2010-03-17 17:39:29 +00:00
Richard Worth
92fe5e9225 Fixed #5362 - Buttonset class should be ui-buttonset because buttonset is one word 2010-03-17 13:16:40 +00:00
Richard Worth
2a8271c701 Button: Added refresh method to buttonset, futher fixes #5278 - ui.buttons doesn't visually reset on form "reset" event or input "change" event 2010-03-17 13:07:46 +00:00
Richard Worth
124f84635f Buttonset - remove corner classes from button widgets instead of button elements on destroy. Fixes #5361 - buttonset method destroy doesn't remove corner classes from label elements 2010-03-17 13:03:23 +00:00
Richard Worth
08a750a58f button: whitespace and quotes. See http://docs.jquery.com/JQuery_Core_Style_Guidelines 2010-03-17 12:56:15 +00:00
Richard Worth
a202248780 Remove ui-helper-hidden-accessible from correct element. See r3880 and r3892 2010-03-17 12:49:27 +00:00
Scott González
e02b6a58d6 Button: spacing. 2010-03-16 04:07:23 +00:00
Scott González
3c31d720ce Sortable: Fixed a bug with over/out events and connected draggables.
Fixes #5346 - over and out events not triggered when draggable connected with single (non-nested) sortable.
2010-03-16 01:15:57 +00:00
Scott González
03adce34dd Menu: Don't pass empty values to ._trigger(). 2010-03-16 00:26:06 +00:00
Richard Worth
d2272f86bc Autocomplete: fixed #5349 - Autocomplete: mouseover of menu item causes data loss 2010-03-15 21:24:42 +00:00
Richard Worth
2be46581da Autocomplete: fixed #5349 - Autocomplete: mouseover of menu item causes data loss 2010-03-15 21:11:21 +00:00
Richard Worth
e6c30b0d97 Autocomplete: Fixed #5348 - Autocomplete: menu item should not remain selected when mouse off menu 2010-03-15 20:57:02 +00:00
Richard Worth
9aa56386a3 Autocomplete: fixed #5347 - Autocomplete: each successive item hover makes item above shrink a bit in IE 2010-03-15 20:40:20 +00:00
Richard Worth
1489d7380d Button: fixed #5324 - button disabled state doesn't get refreshed when disabled set on original element 2010-03-15 14:13:17 +00:00
Richard Worth
e3096c7abb Button: remove disabled attribute from original element when option set to false 2010-03-15 14:07:00 +00:00
Richard Worth
a842215fdb button: fixed #5328 - button disabled only visually when disabled option set, still functional 2010-03-15 14:00:53 +00:00
Scott González
385269e3ea Button: Don't react to keydown when disabled.
Partial fix for #5328 - button disabled only visually when disabled option set, still functional.
2010-03-14 17:53:18 +00:00
Richard Worth
aa6fb14854 Dialog: quiet JSLint 2010-03-12 01:10:57 +00:00
Richard Worth
8360141375 Position: quiet JSLint 2010-03-11 22:16:00 +00:00
Richard Worth
a48466b194 Autocomplete: quiet jslint 2010-03-11 22:06:29 +00:00
Richard Worth
ddd1026d20 Button: quiet jslint 2010-03-11 21:17:28 +00:00
Richard Worth
7898303437 dialog: corrected typo in ui.position property for drag events. Updated unit tests tracking fix of #5291 2010-03-11 20:48:21 +00:00
Scott González
89f10420cf Button: No need to check the button type before removing the hidden class. 2010-03-11 20:21:38 +00:00
Scott González
057e156e62 Button: Conform to coding standards. 2010-03-11 20:10:43 +00:00
Richard Worth
e0faff7e11 reverted r3888 un-fixing #5322 for now as trunk is in release candidate state - only criticals and blockers should be fixed until 1.8 is final 2010-03-11 16:57:10 +00:00
Paul Bakaus
1a487a18b7 sortable: fixed #5322 (helper position weird when axis was used, fixes sortable tabs demo) 2010-03-11 16:35:20 +00:00
Richard Worth
7799b4ecf9 Fixed #5278 - ui.buttons doesn't visually reset on form "reset" event or input "change" event 2010-03-11 06:31:16 +00:00
Scott González
c2ed8ffc07 Autocomplete: Resize menu on every suggestion. 2010-03-11 04:37:21 +00:00
Scott González
fe6bef16e4 Button: Support elements that are disconnected from the DOM.
Fixes #5246 - _determineButtonType does not work if a label for checkbox/radiobutton is not yet attached to the document.
2010-03-11 03:50:20 +00:00
Scott González
5f213572d6 Autocomplete: Append menu to body and reset z-index on every suggestion.
Fixes #5271.
2010-03-11 03:28:00 +00:00
Richard Worth
8cd7129f0c button: remove ui-helper-hidden-accessible instead of .show() on destroy. Fixes #5261 - button change events don't fire in IE 7/8 2010-03-11 02:13:28 +00:00
Richard Worth
cef16fdf78 Checkbox must not be all the way hidden for change to fire in IE. Switched out .hide() for ui-helper-hidden-accessible class instead. Fixes #5261 - button change events don't fire in IE 7/8 2010-03-11 02:09:45 +00:00
Richard Worth
caa1786c61 Fixed #5305 - Autocomplete: open event should trigger after the menu is opened since the name is not 'beforeopen' 2010-03-08 16:35:24 +00:00
Jörn Zaefferer
d3a8c96428 Filter properties to forward to dialog events on resize and drag etc. - fix for #5291 2010-03-05 17:56:34 +00:00
Jörn Zaefferer
eaeb580d82 Pass through resizable and draggable ui objects in dialog - partial fix for #5291 2010-03-05 17:47:06 +00:00
Scott González
0de9895595 Tabs: Fixed id generation for cookies.
Fixes #5264 - cookie name is: "ui-tabs-[object Object]".
2010-03-04 02:36:43 +00:00
Scott González
b636ad6997 Button: quote the value when searching for attributes.
Fixes #5262 - Buttonset not working on inputs with Arrays in name Attribute.

Thanks Zidane.
2010-03-04 02:00:32 +00:00
Scott González
301eb30ac1 Effects: Proper argument shuffling when calling show/hide/toggle without a speed.
Fixes #5269 - Show and hide effects errantly require "duration" option to fire callback.
2010-03-04 01:31:17 +00:00
Jörn Zaefferer
868732edac Remove isFF2 flag in ui.core - should have been dropped together with the FF2 aria code 2010-03-03 08:57:59 +00:00
Scott González
eb93c743de Dialog: Fixed modal overlay instance tracking.
Fixes #5228 - $.inArray's parameter.
Fixes #5263 - Dialog Close Then Destroy Destroys Overlay Twice, Causes Exceptions Later.
2010-03-03 02:11:37 +00:00
Scott González
c91e1cc86a Datepicker: Handle empty string for animation duration.
Fixes #5259 - DatePicker will not ever close.
2010-03-03 01:31:04 +00:00
Keith Wood
b2ef0fcc9e Datepicker: Tamil localisation 2010-03-02 08:27:46 +00:00
Scott González
64811c10ec Button: Add disabled class on init if the disabled option is set to true.
Fixes #5250 - Button: initializing with disabled = true isn't visually disabled.
2010-03-02 05:29:35 +00:00
Scott González
001a22a9d6 Buttonset: Use :data(button) instead of .ui-button to find buttons that have already been instantiated. This prevents us from finding elements that are proxying buttons, e.g., a radio's label.
Fixes #5242 - radio buttonset with icons does not maintain state.
2010-03-02 02:58:52 +00:00
Scott González
602576707e Autocomplete: search against label instead of value when both are provided.
Fixes #5237 - Array matching behaviour of autocomplete should match on label before value.

Thanks Simon Cusack.
2010-02-27 19:57:34 +00:00
Keith Wood
d6fd76c0c1 Datepicker: Add Faroese localisation 2010-02-26 08:09:58 +00:00
Jörn Zaefferer
a5eab4cc38 Fix for #4451 - ajax tabs error handling 2010-02-24 18:43:33 +00:00
Scott González
c27bc6b035 Accordion: Fixed oldContent and newContent for events.
Fixes #4469 - Accordion: newContent/oldContent misbehaving.
2010-02-24 17:25:54 +00:00
Scott González
83b16f528f Dialog: Use .height() to calculate height of dialog before drag.
Fixes #5221 - Buttons disappear after dragging dialog.
2010-02-24 17:16:02 +00:00
Scott González
aa8f6c5fc1 Autocomplete: Fixed class removal in .destroy(). 2010-02-23 02:59:05 +00:00
Scott González
b26336f2d2 Autocomplete: Reposition menu every time it opens.
Fixes #5217 - Autocomplete in Dialog is posiitoned incorrectly in 1.8 RC2.
2010-02-23 02:57:33 +00:00
Brant Burnett
350853179f Dialog: ESC key event was not being canceled after it was handled (Fixed #4922 window.location.reload() doesn't work in dialog's close callback when it's triggered by ESC in Firefox) 2010-02-22 18:39:12 +00:00
Brant Burnett
e2202847c6 Dialog: Changed height measurement to hide content because IE quirks mode ignores height: 0 (Fixed #4350 No Scrollbars in IE in Quirksmode) 2010-02-22 17:37:08 +00:00
Keith Wood
a8747488d0 Datepicker: Fixed #5156 Added Chinese Hong Kong localisation
That makes 50!
2010-02-22 08:43:38 +00:00
Scott González
009378cadc Sortable: Only trigger over event when changing the current container.
Fixes #5111 - 1.8rc1 sortable#over method bugged -- called along with #sort instead of on mouseover.
2010-02-20 02:31:49 +00:00
Scott González
8185ba0207 Autocomplete: Added a "ui-autocomplete-input" class to the text field.
Fixes #5198 - Autocomplete: class needed on input element.
2010-02-20 01:38:30 +00:00
Scott González
0292c347bb Autocomplete: Deactivate menu on close.
Fixes #5205 - Autocomplete: blur causes last active menu item to be selected.
2010-02-20 01:32:55 +00:00
Scott González
74120e0df1 Draggable: Don't try to stack if there are no elements in the stacking group.
Fixes #5191 - Draggable: stack option can throw error.
2010-02-18 04:46:59 +00:00
Scott González
6d7196f803 Effects: Properly normalizing arguments for named speeds.
Fixes #5192 - 1.8rc2 Toggle speed issue.
2010-02-18 04:40:39 +00:00
Scott González
9cabe8403e Buttons: Removed the logic for triggering click events on checkboxes and radio buttons. This logic was actually causing the opposite functionality from what we wanted.
Fixes #5195 - .buttonset() prevents change event from being catchable.
2010-02-18 02:43:23 +00:00
Scott González
b848e37f28 Button: Added missing semicolons; 2010-02-18 01:45:23 +00:00
Scott González
071dc670b7 Autocomplete: Fixed bug with bgiframe usage.
Fixes #5196 - Autocomplete: "menu is not defined" error when using with bgiframe.

Thanks Demphest
2010-02-18 01:23:45 +00:00
Brant Burnett
53ab4fb5de Dialog: Overlays are now cached for reuse with subsequent dialogs (Fixed #5185: .ui-widget-overlay CSS selector causes consistent large memory leak in IE) 2010-02-17 16:22:19 +00:00
Jörn Zaefferer
8c1f4da31a Another partial fix for #5188 - add ui-menu-item class only to list items with anchor-children 2010-02-16 16:34:06 +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
Scott González
c9f30818af Dialog: Update the internal flag for whether or not the dialog is open before triggering the close event.
Fixes #5184 - isOpen in dialogclose event is true.
2010-02-16 02:13:38 +00:00
Richard Worth
d4154562ea Fixed #5178 - Slider's change event fires on slide 2010-02-15 14:34:42 +00:00
Scott González
c9177acec1 Position: Conform to coding standards. 2010-02-14 18:15:32 +00:00
Scott González
f88677bfd6 Draggable: Don't recalculate the relative offset during drag. I couldn't reproduce the issues described in the comments for this code.
Fixes #4824 - draggable broken on inline elements in webkit browsers
2010-02-14 05:09:29 +00:00
Scott González
0f3def0d84 Fixed missing variable in menu's refresh method. 2010-02-12 21:17:00 +00:00
Jörn Zaefferer
84f7c90fc8 Autocomplete: Fix for #5154 - cleanup 2010-02-10 15:09:19 +00:00
Jörn Zaefferer
4cea3290a1 Autocomplete: Fix for #5154 2010-02-10 15:08:27 +00:00
Jörn Zaefferer
3875cd33b7 Autocomplete: Fix for #5154 2010-02-10 15:05:35 +00:00
Ca-Phun Ung
5eeaa658ba datepicker: fixes #4443: Datepicker's vertical position in thickbox. This also fixes the virtual position when the datepicker is close but not right at the bottom of the page. 2010-02-09 04:09:26 +00:00
Scott González
925bf9ec35 Autocomplete: Split out logic for rendering individual items. 2010-02-08 01:31:10 +00:00
Scott González
1402650134 Autocomplete: Fixed a few places that got missed during the change to always keep the menu element around.
Fixes a bug where opening the menu using the arrow keys would cycle through the options, but not show the menu. There's now a bug where you have to arrow too many times to get into the menu when showing the menu by using the arrow keys.
2010-02-08 01:17:04 +00:00
Scott González
f349f9080b Progressbar: Conform to coding standards. 2010-02-07 03:40:13 +00:00
Keith Wood
573a402d05 Datepicker: Separate month and year unless both are drop-downs 2010-02-06 23:14:40 +00:00
Keith Wood
c16ed70b68 Datepicker: Fixed #5128 Datepicker opens when setDate called 2010-02-06 23:07:00 +00:00
Scott González
f09dbcc2a7 Tabs: Fixed selected tab detection.
Fixes #5122 - Bug in ui.tabs.

Thanks th3br41n.
2010-02-06 03:27:09 +00:00
Scott González
f775b00cfa Widget: Fixed a problem with the .remove() proxy.
Fixes #5143 - .remove() proxy doesn't work properly.
2010-02-06 02:12:41 +00:00
Scott González
f2a9deb611 Dialog: Prevent the titlebar from displaying above the top of the document.
Fixes #5141 - Position of Dialog is off the page when viewport is smaller then dialog.
2010-02-06 02:02:03 +00:00
Scott González
267e9780c3 Slider: added missing comma. 2010-02-05 14:19:19 +00:00
Scott González
9e02f80176 Fixed event prefix in all plugins that don't use the default prefix.
Fixes #5134 - Events not being triggered for drag and drop.
2010-02-05 03:03:50 +00:00
Scott González
ee2c8c0439 Draggable: Don't adjust offsets for fixed position elements in Safari 4.
Fixes #4631 - Draggable: Fixed positions include wrong scroll offset in Safari 4.
2010-02-04 21:52:20 +00:00
Jörn Zaefferer
7321aa017d cleaning up dependency listings 2010-02-03 23:30:37 +00:00
Jörn Zaefferer
288f3a6bef cleaning up dependency listings 2010-02-03 23:19:48 +00:00
Richard Worth
ec5e7ad95b resizable method destroy: put unwrapped original element in wrapper's place instead of at the end of wrapper's parent. Fixes #4940 - resizable('destroy') moves images to end of parent element 2010-02-03 01:22:02 +00:00
Jörn Zaefferer
30578eb028 create-html-elements convention 2010-02-02 14:22:04 +00:00
Jörn Zaefferer
df391a998f Fix for #5120 - create menu only once and return that element from the widget method, put ui-autocomplete class on menu 2010-02-02 14:04:50 +00:00
Brant Burnett
d549ba6d43 Datepicker: No longer dependent on dialog in order to close datepicker when dialog is closed (Refixed #4453 UI Datepicker inside UI Dialog Issue) 2010-02-01 20:59:24 +00:00
Brant Burnett
bae22fb74a Datepicker: Now uses zIndex() to determine zIndex for dpDiv on show (Fixed #4580 Datepicker appears underneath other widgets) 2010-02-01 20:12:54 +00:00
Brant Burnett
5b61537e6e Datepicker: Fixed #4453 UI Datepicker inside UI Dialog Issue 2010-02-01 16:10:41 +00:00
Scott González
a4daa10f53 Autocomplete: Turned off collision detection.
Fixes #5114 - Autocomplete: Turn off collision detection for menu.
2010-01-30 16:38:51 +00:00
Brant Burnett
58a3a99e1e Dialog: Changed overlay to use zIndex() to test which events to cancel (fixed #4363 Datepicker Month/Year Dropdowns Not Working In Safari In A Dialog) 2010-01-29 21:18:57 +00:00
Brant Burnett
b91ecde0a7 'Changed 2010-01-29 18:38:21 +00:00
Keith Wood
f214b70889 Datepicker: Fixed conflict between beforeShowDay and getDate
http://forum.jquery.com/topic/several-breaking-changes-in-jquery-ui-1-8rc1
2010-01-29 08:09:03 +00:00
Paul Bakaus
5ef97d7a13 effects: fixed #4097 - bind/fold didnt work 2010-01-28 17:31:02 +00:00
Paul Bakaus
9617d15054 draggable: implemented #4145 - start,drag and stop events should be preventable 2010-01-28 16:35:59 +00:00
Scott González
c802347799 Autocomplete: Removed CSS framework classes from text field. We can add them back in when we have full support for form elements. 2010-01-28 04:25:30 +00:00
Scott González
65b063b039 Prevent the default styles for resizable elements from totally killing dialog positioning (finally).
Fixes #5084 - 2 dialogs pos false on close.
2010-01-28 03:06:43 +00:00
Scott González
dd92e16081 $.ui.ddmanager.drop() now works properly for nested droppables.
Fixes #5095 - Droppable body let revert a div on a valid drop.
2010-01-28 02:24:42 +00:00
Jörn Zaefferer
0923066abb removing Firefox 2 AIRA extras, FF2 isn't usable in that regard anyway 2010-01-27 18:11:57 +00:00
Richard Worth
3eaf9daaca Deprecated beforeclose option instead of removing it for now, fixes reopened #4669 - Dialog: beforeclose option should be beforeClose. 2010-01-27 10:31:17 +00:00
Keith Wood
c3dd4ac373 Datepicker: Fixed #5052 Set focus error in IE8 for disabled and hidden elements 2010-01-25 08:20:28 +00:00
Keith Wood
505af6a0e9 Datepicker: Fixed #5088 Date picker localization in RO 2010-01-25 08:07:20 +00:00
Richard Worth
f7c75d900f fixed #5094 - selectable: destroy method doesn't clean up selectees 2010-01-24 20:47:06 +00:00
Jörn Zaefferer
aa63c4b959 button: handle space "click" 2010-01-22 22:52:31 +00:00
Jörn Zaefferer
967454c434 button: add ui-state-active on keydown, further improving keyboard navigation - doesn't yet work properly for anchors and radio/checkbox buttons 2010-01-22 22:46:32 +00:00
Jörn Zaefferer
cc77201c8e dropping intial code for #4957 - too many open issues to get this into 1.8 2010-01-22 13:18:11 +00:00
Keith Wood
4e81523227 Datepicker: Fixed #5085 bug in findPos for RTL languages 2010-01-22 10:10:17 +00:00
Scott González
ee87defcca Datepicker: Use null instead of empty string when showing/hiding without a duration.
Fixes #5086 - no animation still animates.
2010-01-22 04:13:36 +00:00
Jörn Zaefferer
f37da0e6ce base implementation for #4957 - still need to port users of $.ui.element 2010-01-20 18:10:07 +00:00
Jörn Zaefferer
dab6e943b3 button: add ui-state-focus on focus, making keyboard navigation possible, and button like 200% more accessible 2010-01-20 17:44:54 +00:00
Richard Worth
074153407d Happy New Year 2010-01-20 14:04:26 +00:00
Richard Worth
eecbde22a6 eol-style and mime-type 2010-01-20 14:00:14 +00:00
Scott González
b0195091a6 Accordion: Check for division by zero error during animation.
Fixes #4382 - Accordion does not function in IE7/WinXP.
2010-01-20 03:26:39 +00:00
Scott González
010385b2fa Dialog, position: Removed bgiframe option; always use bgiframe when available.
Fixes #5071 - Remove bgiframe option from all plugins.
2010-01-19 23:25:38 +00:00
Scott González
ebf5160587 Widget: removed console.log call. 2010-01-19 13:53:32 +00:00
Scott González
c476541251 Widget: Only trigger remove event if keepData is not set to true.
Fixes #5076 - Using effects kills widget instances with jQuery 1.4.
2010-01-19 04:11:33 +00:00
Scott González
0ec857a5bd Button: conform to coding standards. 2010-01-18 01:58:15 +00:00
Scott González
b3e5f8453c Autocomplete: conform to coding standards. 2010-01-17 18:51:11 +00:00
Scott González
94085e0b4c Autocomplete: Use bgiframe on the menu if it's available. 2010-01-17 18:41:14 +00:00
Scott González
f49d91289d Autocomplete: Set the z-index of the menu to be above the text field. 2010-01-17 18:35:54 +00:00
Scott González
415141fe89 Dialog: Added button to the list of dependencies. 2010-01-17 18:26:43 +00:00
Scott González
dc17d50a42 Widget: _create() doesn't actually take any arguments. 2010-01-17 17:36:56 +00:00
Scott González
296deed1c2 Dialog: Moved autoOpen detection to the new _init() method. 2010-01-15 22:17:34 +00:00
Scott González
20360688a0 Widget: conform to coding standards. 2010-01-15 22:15:18 +00:00
Scott González
9247295098 Widget factory: Removed support for old usage; it doesn't make sense to keep partial support around since we can't get full backward-compatibility. 2010-01-15 22:06:15 +00:00
Scott González
988cdd5dbc Widget: Make subsequent "init" calls useful by delegating to the option and _init methods.
Fixes #5064 - Widget: make multiple instantiation more useful.
2010-01-15 21:09:32 +00:00
Scott González
003cb9d008 Widget: conform to coding standards. 2010-01-15 20:47:41 +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
c313289d00 Dialog: workaround for positioning bug. 2010-01-15 02:16:21 +00:00
Scott González
1c31a26b56 Replaced stackfix with bgiframe.
Fixes #5061 - Remove stackfix.
2010-01-14 18:09:07 +00:00
Scott González
6024fdf256 Copied autocomplete from dev branch. 2010-01-14 17:23:11 +00:00
Keith Wood
7f5fe2f2f1 Datepicker: Fixed #5026 Comparison between 2 date 2010-01-13 08:42:53 +00:00
Keith Wood
07a4a228c0 Datepicker: Fixed #4869 Datepicker undesired today date on field & appendText 2010-01-13 08:26:46 +00:00
Keith Wood
c14e958966 Datepicker: Fixed #4804 onChangeMonthYear fires at first run 2010-01-10 04:54:12 +00:00
Keith Wood
6047f99ec4 Datepicker: Fixed #5022 numberOfMonths with one column multiple rows doesn't display the next button 2010-01-10 04:45:03 +00:00
Scott González
fb577af2a2 Dialog: force the dialog to be visible before trying to position it so we can get the current offset (required for using .offset() as a setter). 2010-01-07 04:49:25 +00:00
Scott González
b413302c00 2010-01-07 04:47:17 +00:00
Scott González
90fb45dffa Merged in /branches/dev r3251:3620 (excluding autocomplete, modal, tooltip, menu; including menu static tests). 2010-01-07 03:19:50 +00:00
Richard Worth
41749bf122 Fixed #4960 - Tabs: wrong selected tab index 2009-12-31 13:43:54 +00:00
Scott González
eb15a50a72 Mouse: Don't prevent text selection in IE.
Fixes #4773 - Enable text selection in Internet Explorer.

Patch provided by stakach.
2009-12-29 01:32:44 +00:00
Scott González
9a786e03a1 Tabs: fixed to work with empty nav list again.
Fixes #4997 - No longer possible to start with empty tab then add() elements dynamically.
2009-12-25 18:25:46 +00:00
Scott González
1d9c22a652 Position: Fixed window detection. 2009-12-24 02:35:19 +00:00
Scott González
06e29401b8 Split mouse into its own file and udpdated dependency lists.
Fixes #5023 - Split mouse code into its own file.
2009-12-22 19:51:24 +00:00
Jörn Zaefferer
b6d17b24d4 extracting widget factory into jquery.ui.widget.js 2009-12-16 22:20:18 +00:00
Keith Wood
7c9b782ee1 Datepicker: Corrected automatic parsing of date on keystrokes 2009-12-15 04:00:17 +00:00
Keith Wood
0a8392186b Datepicker: Fixed #4917 Enter key press on popup fails if _dayOverClass td is after _currentClass td 2009-12-15 03:42:40 +00:00
Keith Wood
6230804514 Datepicker - #4895 Corrected English/UK localisation 2009-12-15 03:32:25 +00:00
Keith Wood
ef0e88c8a1 Datepicker - Fixed #4949 - Double click on next/previous button closes the datepicker 2009-12-08 04:54:04 +00:00
Keith Wood
a53da5ab89 Datepicker - Fixed #4987 - Add bosnian language to DatePicker 2009-12-08 00:02:19 +00:00
Scott González
cc9c8a3464 Datepicker: Fixed display of month and year dropdowns when showing month after year.
Fixes #4420 - showMonthAfterYear make calendar disorder.

Thanks bhornseth for the patch.
2009-12-04 04:02:55 +00:00
Keith Wood
707539f3cf Datepicker - Fixed #4704 - Datepicker global variable isn't unique 2009-12-02 00:33:56 +00:00
Keith Wood
d33c2de502 Datepicker - Fixed #4870 - yearRange doesn't work as expected 2009-12-01 01:27:25 +00:00
Keith Wood
f07293942f Datepicker - Fixed #4885 - Tab key should not have default behaviour prevented by datepicker 2009-11-30 00:03:36 +00:00
Keith Wood
378260f132 Datepicker - Fixed #4787 - Datepicker: fix animation control 2009-11-29 22:56:30 +00:00
Keith Wood
2b12ea0308 Datepicker - Fixed #4956 - undefined variable: lookAhead() 2009-11-27 06:17:41 +00:00
Keith Wood
bfdf9df0ca Datepicker - Fixed #4969 - Datepicker cannot change values of fields named with special characters 2009-11-27 06:08:13 +00:00
Andrew Powell
0225029288 ui.dialog: replaced &nbsp; with &#160; for xhtml compliance (fixes #4970 -XHTML Compliance : &nbsp; should be &#160;) 2009-11-21 16:59:08 +00:00
Scott González
3cc921dd3d Position: Changed document/window detection to be consistent with jQuery core.
Fixes a bug in IE7/8 where window == document.
2009-11-19 16:37:05 +00:00
Jörn Zaefferer
17829ce546 Fix for #4930 2009-11-16 20:20:47 +00:00
Scott González
730f6d0823 class animation: added scrollbar property filtering back in to prevent an error in IE. 2009-11-16 03:06:13 +00:00
Scott González
31a5ee94a9 Pulsate: Rewrote pulsate effect.
Fixes #4718 - pulsate pulses one extra time.
2009-11-16 02:49:36 +00:00
Scott González
6fdc4b5d32 class animations: Commented out browser-specific style checks. 2009-11-15 23:53:40 +00:00
Scott González
24ff738601 Class Animation: Don't animate shorthand styles.
Color Animation: Removed borderColor since we no longer animate shorthand styles.
2009-11-15 01:30:38 +00:00
Scott González
73191c2bea Tabs: Removed deprecated deselctable option (use collapsible instead).
Fixes #4031 - Tabs: Remove deselectable option
2009-11-13 18:29:08 +00:00
Scott González
bddf0fdb77 Effects: Added fade effect. Needs documentation.
Fixes #4416 - Add fade effect.
2009-11-13 04:35:47 +00:00
Scott González
c252e44a1f Core: Preserve header in minified file. 2009-11-13 04:00:12 +00:00
Scott González
18e256849c Tabs: Never remove the ui-state-default class when switching tabs.
Fixes #4815 - Tabs: each tab needs to have state ui-state-default.
2009-11-13 03:18:55 +00:00
Scott González
ef02b168ef Effects: Cleaned up createWrapper(). 2009-11-10 16:35:55 +00:00
Scott González
cbbac604ff Effects: Added support for effects on elements with right and/or bottom style settings.
Fixes #4540 - Fix bug effect for IE7. In create wrapper function.
2009-11-10 16:16:52 +00:00
Scott González
16c5c3a9cb Effects core: Reorganized code, no actual changes. 2009-11-10 15:55:41 +00:00
Scott González
56c6def926 Slider: Added paging - page up/down jumps by 1/5 the size of the range.
Fixes #3096 - Add a paging option for slider
2009-11-09 03:10:57 +00:00
Scott González
bff49fac18 Tabs: Made detection of navigation more flexible - now the first descendant list (ul or ol) found will be used instead of forcing it to be the first child ul.
Fixes #4501 - Tabs should work with ordered lists (<ol>) in addition to unordered (<ul>)
Fixes #4506 - tabs(): allow more flexibility in specifying what list is used
2009-11-09 02:36:32 +00:00
Scott González
b0733bbe59 Effects: Fixed a bug when animating classes and nothing should happen, e.g., calling .removeClass('foo') when the element doesn't have the class foo. 2009-11-06 14:15:53 +00:00
Scott González
ad2e514b07 Effects: Added support for animating borderColor (previously only supported individual borders, e.g., borderLeftColor). Fixes #4807 - $('').switchClass throwing error in IE8 if the switched class contains color property. 2009-11-06 01:46:49 +00:00
Scott González
23c87aaf43 Effects: Force a non-empty hash of properties for class animations to ensure the callback is always executed. Fixes #4396 - animateClass does nothing if there are no styles changes. See jQuery core bug #5459 for the cause. 2009-11-06 01:12:09 +00:00
Keith Wood
b0f59eebdb Datepicker: Added Afrikaans and English/UK localisations 2009-10-22 09:49:19 +00:00
Richard Worth
7f3e20b2b2 Tabs: fixed to use a counter for unique ids instead of relying on $.data(elem), which in 1.4 won't return an id. Thanks Mark Gibson. 2009-10-17 01:27:02 +00:00
Richard Worth
59c77d3b7e Slider: Fixed values getter to be trimmed by min and max as value method is. Added an overload to the values method for passing in an array of new values. Fixes #4522 2009-10-12 14:32:31 +00:00
Richard Worth
2c5d327deb slider: Removed undocumented noPropagation last arg from values method as per http://groups.google.com/group/jquery-ui-dev/browse_thread/thread/a350889a377c59b8 2009-10-12 11:23:59 +00:00
Richard Worth
3af7fa81f4 slider: use internal methods _valueMin() and _valueMax() 2009-10-12 11:06:57 +00:00
Richard Worth
b7bf4b4527 Slider: Fixed animation to respond to keypress as well as mouse click, animation still does not occur at init or during mouse drag slide, both by design. Animation now occurs, if animate is on, when using the value method, but not when using the value option. This allows for animated and non-animated programmatic setting of values without changing the animate option.
Fixes #4432 - Allow animation when programmatically changing slider value
Fixes #4659 - Allow slider to animate if slider value is set programatically
2009-10-12 10:50:38 +00:00
Richard Worth
299f20b299 slider: fixed two failing unit tests
'value method set respects min'
'value method set respects max'
2009-10-12 09:27:23 +00:00
Scott González
fd976793a9 Dialog: Fixed position parsing. 2009-09-30 02:48:09 +00:00
Chi Cheng
5084445afc Sortable: add missed self. in uiHash. 2009-09-27 16:07:19 +00:00
Chi Cheng
21051b35c1 Dialog: fixes a typo. 2009-09-27 16:01:44 +00:00
Scott González
217266fb62 Fixed the initialization of color animations for cases where the first step of the animation doesn't happen in the same millisecond as the call to animate. Fixes #4251 - NaN in color animation (Firefox 3). 2009-09-20 21:07:38 +00:00
Richard Worth
f164edbdd9 slider: fixed disabled on init, methods enable and disable 2009-09-19 15:19:42 +00:00
Jörn Zaefferer
122a6cdd5f dialog: fixed _position regression; wrote a test for the default positon, which still needs some tuning 2009-09-19 14:03:53 +00:00
Richard Worth
af178c00f1 dialog: fixed enable and disable methods 2009-09-19 09:35:53 +00:00
Scott González
6f1b0d80be Rewrote animateClass to work in webkit. Fixes #3112 - SwitchClass doesn't have any effect in Safari 3.1.1.
Based on trunk and effects dev branch implementations.
2009-09-18 13:15:57 +00:00
Jörn Zaefferer
20201c2854 dialog: filter invalid option-position values, convert title argument to string (ala closeText) 2009-09-17 14:56:03 +00:00
Richard Worth
e2d873e6f0 renamed all ui.*.js files to jquery.ui.*.js, all effects.*.js files to jquery.effects.*.js per announcement and discussion here http://groups.google.com/group/jquery-ui-dev/msg/d565a0c56e0cb935 2009-09-17 10:39:12 +00:00
Ca-Phun Ung
0508fd0e04 dialog: Fixes #4826 - Setting resizable false toggles resizable on dialog 2009-09-15 16:53:39 +00:00
Jörn Zaefferer
7f2683aa81 dialog: always convert value for closeText option to a string (fixes options-tests) 2009-09-15 08:40:17 +00:00
Jörn Zaefferer
4f69883996 progressbar: option-test fails for non-numeric values, so anything non-numeric is now normalized to 0 2009-09-15 08:38:11 +00:00
Jörn Zaefferer
b9b604936e accordion: remove deprecated alwaysOpen option (collapsible was introduced in last stable release); fixed collapsible-false accordion in combination with activate method (with fasly-argument to close all); changed activate-option default to 0 (which was the "computed" default anyway); lots of fixes for the testsuite, while removing some of the "missing" tests: header accepts only a selector (updated spec to make that more clear), while testing animations in unit tests is rather pointless 2009-09-15 08:33:28 +00:00
Jörn Zaefferer
1252150c76 resizable: make global _store variable local 2009-09-15 08:21:20 +00:00
Jörn Zaefferer
e6efe11ac4 datepicker: fixed two global variables 2009-09-15 08:14:11 +00:00
Scott González
25d97c7760 Widget factory: Namespace the remove event handler. 2009-09-06 16:19:30 +00:00
Scott González
bba67df747 Widget factory: Added support for deep extending multiple option hashes on init. 2009-08-28 00:39:43 +00:00
Scott González
6c6218fa12 Widget factory: Support passing multiple option hashes on init. Fixes #4784. 2009-08-26 02:06:19 +00:00
Scott González
99d09ecfaf Dialog: Moved positioning and overflow to CSS. Fixes #2848 - Fixed positioning for dialogs. 2009-08-26 01:40:01 +00:00
Paul Bakaus
fd618d042f draggable, sortable: include originalPosition in ui hash, implements #3782 2009-08-23 17:40:44 +00:00
Paul Bakaus
d2e43a07c0 sortable: removed deprecated ui.absolutePosition from ui hash, fixes #3991 2009-08-22 13:58:36 +00:00
Paul Bakaus
957774c685 sortable: toArray/serialize should not include the placeholder, fixes #4138 2009-08-22 13:48:04 +00:00
Paul Bakaus
d28166805f droppable: greedy childs that dont accept the draggable dont block propagation anymore, fixes #4570 2009-08-22 12:25:50 +00:00
Paul Bakaus
fefa5bd342 draggable: scope option failed when no droppables within that scope exist, fixes #4289 2009-08-22 11:48:48 +00:00
Paul Bakaus
14922e41da draggable: position and offset were undefined in start callback, fixes #4380 2009-08-22 08:10:19 +00:00
Paul Bakaus
2189deaa2c draggable: made stack accept a selector instead of a complex hash, min value is autodetermined now, implements #4365 2009-08-22 07:59:09 +00:00
Paul Bakaus
374f2cbb55 draggable: direct removal of draggable element on drop event doesnt make used plugins fire an error anymore, fixes #4550 2009-08-21 14:13:47 +00:00
Chi Cheng
5293096526 Datepicker: Add yearSuffix value for Chinese/Korean. fixes #4793 2009-08-19 16:33:32 +00:00
Jörn Zaefferer
6681e7ba98 accordion: Fix for #4695, refactored 2009-08-11 19:08:23 +00:00
Jörn Zaefferer
417d5b29b4 accordion: Fix for #4695 2009-08-11 18:58:03 +00:00
Jörn Zaefferer
e132c1b363 accordion: fix for #4436 2009-08-11 18:46:00 +00:00
Richard Worth
7b506cf2ae Fixed accordion option active getter and setter. Normalized getter to number, 0-based index. 2009-08-11 00:45:01 +00:00
Jörn Zaefferer
425e76355a accordion: fix for #4754; related tests were failing before, fixed them, too (checked to correct sizes in Firebug) 2009-08-06 18:44:36 +00:00
Jörn Zaefferer
f3444e81f5 draggable: inline comment to clarify some odd check 2009-08-06 18:10:10 +00:00
Jörn Zaefferer
a3b405d635 datepicker i18n: missing comma (syntax checking editors are great) 2009-08-06 17:32:55 +00:00
Scott González
5e89481ab8 Added zIndex method. Fixes #4709 - Add zIndex setter/getter method. 2009-08-05 13:30:55 +00:00
Scott González
1a28670720 Slider: Create a copy of the options.values array for the return value of _value(). Fixes #4751 - Dragging slider modifies values, even if callback returns false.
Thanks bkrausz.
2009-08-04 23:35:08 +00:00
Scott González
aacecd6450 Resizable: Don't allow resizing when disabled. Fixes #4743 - Disable Resize. 2009-08-04 02:02:57 +00:00
Scott González
d6385b039b Dialog: Support hash, array, string for cursorAt option. Use position plugin. Partial fix for #2525 - Standardised way to pass coordinates to plugins. 2009-08-03 14:28:54 +00:00
Scott González
52ca525112 Position: fixed comment wording. 2009-08-03 13:17:56 +00:00
Scott González
61e06a0e13 Sortable: Support hash, array, string for cursorAt option. Partial fix for #2525 - Standardised way to pass coordinates to plugins. 2009-08-03 13:17:00 +00:00
Scott González
ec4d469a36 Draggable: Support hash, array, string for cursorAt option. Partial fix for #2525 - Standardised way to pass coordinates to plugins. 2009-08-03 13:13:13 +00:00
Chi Cheng
a962d52902 Position: set "at" option while align to cursor, fixes collision:flip not work with default value 2009-08-02 16:17:07 +00:00
Chi Cheng
abeb13af40 Position: set "at" option while align to cursor, fixes collision:flip not work with default value 2009-08-02 14:02:32 +00:00
Scott González
4f03ac24fd Accordion: Don't stop propagation when clicking in headers. Fixes #4732 - accordion steals header clicks. 2009-07-31 00:23:41 +00:00
Scott González
c0ba6ccda7 Position: Removed default options hash. 2009-07-31 00:15:36 +00:00
Chi Cheng
ff4064916e Position: Allow without "at" option passed. (Not need it when align to cursor.) 2009-07-30 14:06:31 +00:00
Chi Cheng
175f36076b Position: Allow without "at" option passed. (Not need it when align to cursor.) 2009-07-30 13:21:21 +00:00
Keith Wood
20e13a4d77 Datepicker: Fixed #4131 Could week numbers [be] added to the Datepicker 2009-07-29 08:33:33 +00:00
Keith Wood
e84694a0c4 Datepicker: Default duration changed 2009-07-29 08:27:31 +00:00
Paul Bakaus
0bbf926015 sortable: fixed issues with nested containers (fixes #4703,#4611, thanks kae!) 2009-07-28 05:50:23 +00:00
Chi Cheng
010a225af3 Effects: handle switch parameter in toggleClass, fixes #4722 2009-07-27 17:35:54 +00:00
Chi Cheng
f35bae5a7f Position: rollback 2009-07-27 15:30:25 +00:00
Chi Cheng
85193b54c9 position: add document link; values should be string but not defaultValue variant 2009-07-26 09:36:29 +00:00
Chi Cheng
ee3a1718fb position: make it work without ui.core.js 2009-07-25 19:56:11 +00:00
Chi Cheng
f450302692 Stackfix: restrict version test to IE version 2009-07-25 13:19:42 +00:00
Scott González
eff793d014 Copied position plugin from /branches/dev/positionTo r2971. 2009-07-24 18:24:13 +00:00
Scott González
30bfc47c35 Dialog: Use :data(resizable) instead of :ui-resizable to check if the dialog is resizable. Fixes a bug when the resizable plugin isn't loaded and the :ui-resizable selector therefore doesn't exist. 2009-07-24 02:00:31 +00:00
Scott González
d6f7a57eb1 Dialog: Update position option after drag. Fixes #4679 - Dialogs should remember their position after drag.
Thanks wewals.
2009-07-23 02:47:38 +00:00
Keith Wood
1df4659b7d Datepicker: Fixed #4691 Datepicker positioning is off if the window has almost the same height as the calendar div 2009-07-22 08:39:44 +00:00
Keith Wood
ef4000d9df Datepicker: Fixed #3891 Autosize input field 2009-07-22 08:37:28 +00:00
Keith Wood
d2bd01aecb Datepicker: Fixed #4684 Datepicker bug when textbox id contains '$' 2009-07-22 08:34:27 +00:00
Keith Wood
61e15b1f76 Datepicker: Fixed #4647 setDate cannot be called multiple times 2009-07-22 08:28:01 +00:00
Scott González
269a441268 Highlight effect: refactor. 2009-07-21 04:21:50 +00:00
Scott González
33c16ae163 Dialog: Contain resizing to the document. Fixes #4664 - uiDialog.resizable needs containment:'document' to agree with uiDialog.draggable.
Thanks AudreyT.
2009-07-21 00:03:39 +00:00
Scott González
c35ed2cab5 Dialog: Removed drag and resize option handling from setDataSwitch hash (legacy from when dialog didn't have its own events). 2009-07-16 16:32:35 +00:00
Jörn Zaefferer
dcdccf0789 Fixed the regression introduced in r2861 2009-07-15 08:32:22 +00:00
Scott González
226ff67a00 animateClass: Don't animate scrollbar properties. Fixes #4676 - toggleClass breaks in IE sometimes. 2009-07-13 00:51:03 +00:00
Scott González
a716261ab6 Dialog: Changed beforeclose option to beforeClose. Fixes #4669 - Dialog: beforeclose option should be beforeClose. 2009-07-11 00:36:36 +00:00
Scott González
1a03453654 Widget factory: Force event types to be lowercase. Fixes #4668 - All event types should be lowercase even if the corresponding callback is camelcase. 2009-07-11 00:30:46 +00:00
Scott González
2ebc73e2b7 Dialog: Use _trigger for drag and resize events instead of executing callbacks directly. Fixed #4629 - Dialog events not being triggered. 2009-07-10 20:00:06 +00:00
Jörn Zaefferer
b5ac948fa6 updated header for ui.stackfix.js, after confirming with Brandon the copyright change (he's already listed in AUTHORS.txt) 2009-07-09 14:41:18 +00:00
Jörn Zaefferer
a2899b145f replacing bgiframe with ui.stackfix, updated dialog and its demos accordingly 2009-07-09 11:17:19 +00:00
Scott González
f51cdf206c Scale: Reset opacity after animation. Fixed #4274 - New show hide effects don't execute correctly in IE. 2009-07-09 04:00:35 +00:00
Scott González
292d9df1ce Draggable: Removed absolutePosition from ui hash. Fixes #3990 - Remove absolutePosition from ui hash. 2009-07-09 03:22:57 +00:00
Scott González
ceb661f959 Droppable: Removed absolutePosition from ui hash. Fixes #3989 - Remove absolutePosition from ui hash. 2009-07-09 03:16:23 +00:00
Richard Worth
56b0da59d7 Fixed #4551 - Sortable connectWith fails if item is floated. Props dhlavety and jlillywhite. 2009-07-07 10:41:42 +00:00
Keith Wood
bf500e6b8b Datepicker: Fixed #4634 Incorrect month number when using selectOtherMonths 2009-07-05 05:26:14 +00:00
Keith Wood
a84392c270 Datepicker: Fixed #4646 Localization error in ui.datepicker-es.js 2009-07-05 05:15:33 +00:00
Scott González
44ec979713 Widget factory: Convert falsy data values to an empty hash in _trigger. Fixes #4650: ui hash not always provided in events/callbacks. 2009-07-04 03:39:19 +00:00
Jörn Zaefferer
b6bdbb4211 accordion fix for #4653: added tests, adopted no-auto-height demo to also cover navigation option; fixed an unrelated bug, where ui-accordion-content-active was never removed 2009-07-03 21:05:22 +00:00
Keith Wood
681bcc4ad0 Datepicker: Fixed #4613 Datepicker Swiss-French (fr-CH) localization 2009-06-22 02:43:30 +00:00
Keith Wood
35a4052aba Datepicker: Fixed #4536 Datepicker maxDate doesn't take into account column layout 2009-06-22 02:08:19 +00:00
Keith Wood
3b5c91fdc6 Datepicker. Fixed #3657 showOtherMonths should allow the selection of days from other months 2009-06-21 07:28:51 +00:00
Scott González
82df8dbf53 Tabs: Added defaults for callback options. Fixed 4619 (Tabs doesn't define default for select option). 2009-06-20 13:17:05 +00:00
Keith Wood
f07a17bbf0 Datepicker: default, min, and max dates can be specified as date strings in the current format 2009-06-16 08:44:56 +00:00
Keith Wood
37f4f74493 Datepicker: Fixed #4592 Basque (euskara) localization 2009-06-16 08:42:15 +00:00
Scott González
f505d5a230 Refactored puff effect. 2009-06-15 02:21:44 +00:00
Scott González
25398447f1 Effects core: Removed jQuery.fn.morph (same as jQuery.fn.switchClass). Fixed #4602 (Remove jQuery.fn.morph). 2009-06-15 02:18:47 +00:00
Scott González
2f161c13de Effects core: Tweaked color animation. 2009-06-15 02:15:56 +00:00
Scott González
58b37be5ac Widget factory: Make methods chainable if the return value is undefined. Fixed #4601 (Allow undefined return value for chainable method calls). 2009-06-15 02:01:11 +00:00
Scott González
d8d7cf27c3 Fixed Italian localization for datepicker. (Fixed #4599 - Datepicker i18n: Fix Italian localization). Thanks Antonello Pasella. 2009-06-13 12:52:48 +00:00
Scott González
f22f205cfc Effects core: Fixed indentation for color animation overrides. 2009-06-12 13:26:45 +00:00
Klaus Hartl
b129e79ba7 UI Tabs: a fix for messed up animations and ajax tabs 2009-06-12 08:36:03 +00:00
Scott González
83eafe63d9 Effects core: Reorganized method overloading. 2009-06-11 21:21:35 +00:00
Scott González
4175ca180a Effects core: Refactored .effect() method; now uses _normalizeArguments and honors jQuery.fx.off. Fixes #4328 (IE6 with fx.off and highlight throws a script error). 2009-06-11 13:06:20 +00:00
Keith Wood
e50d9d3515 Datepicker: Fixed #4514 Dialog doesn't accept initial date as Date 2009-06-11 10:27:30 +00:00
Scott González
f18399da4f Effects core: Changed callback option to complete. Fixes #4586 (Effects callback should be "complete" not "callback"). 2009-06-10 01:25:21 +00:00
Scott González
347f86d99a Effects core: Refactored show/hide/toggle methods. 2009-06-10 01:22:38 +00:00
Keith Wood
e318d42f13 Datepicker: Fixed #4556 Hungarian locale typo 2009-06-09 08:40:22 +00:00
Scott González
27c3c52625 Dialog: adjusting minHeight when the height option is less than the minHeight to prevent unexpectedly large dialogs. Fixes #4101 (Ui Dialog height does not adjust minHeight). Fixes #4122 (Dialog's content area isn't resized when height is adjusted). 2009-06-09 01:10:33 +00:00
Scott González
8634ba993c All mouse-based plugins: Extend $.ui.mouse.defaults. Changed $.ui.mouse.defaults.cancel to ":input,option" which is used by every plugin as its default. Fixes #4584 ($.ui.mouse.defaults never used). 2009-06-09 00:46:00 +00:00
Keith Wood
ce94b548d0 Datepicker: Added Vietnamese localisation 2009-06-06 05:59:23 +00:00
Richard Worth
5f83018470 eol-style and mime-type 2009-05-22 03:29:00 +00:00
Jörn Zaefferer
7f2cbf8ae6 Partial fix for #3773 2009-05-12 08:51:48 +00:00
Jörn Zaefferer
4b970c7441 Fix for #4282, fixes 14 tests 2009-05-11 12:32:43 +00:00
Jörn Zaefferer
892824558c Fix for #4222 2009-05-11 11:43:48 +00:00
Jörn Zaefferer
f6b219fdc4 fix for #4492: added missing semicolons 2009-05-07 10:50:38 +00:00
Keith Wood
c4b86dcfbe Datepicker: Fixed #4474 Pressing Return (keyCode 13) overwrites manually inserted input in DatePicker 2009-04-26 07:25:15 +00:00
Keith Wood
2d67c203bf Datepicker: Fixed #4480 Date format and first day for regional default values in "ui.datepicker-ca.js" 2009-04-26 07:02:43 +00:00
Keith Wood
068fd93e89 Datepicker: Added Azerbaijani localisation 2009-04-26 02:38:44 +00:00
Andrew Powell
30ad533948 updated the condition to assert that values.legnth ==2 and range: true. (fixed #3736 - Slider: some handles get stuck when using two or more handles) 2009-04-19 23:50:48 +00:00
Scott González
1c2fd6f9ee Effects Core: Proper handling for .toggle(true). Fixes #4473 - effects.core corrupts jQuery toggle(<boolean switch>) functionality. 2009-04-19 21:19:23 +00:00
Scott González
1b31f1aee8 Dialog: Using new delayed focus method. Also fixed a bug where focus would leave the dialog for a fraction of a second when cycling through the tabbable elements. 2009-04-18 18:49:49 +00:00
Scott González
8c5ca934c3 Dialog: Expanded all self-closing tags for HTML conformance. 2009-04-18 15:03:56 +00:00
Scott González
a3c2a255ad Dialog: Using local variables to improve minification. 2009-04-18 15:01:13 +00:00
Scott González
ddff678220 Progressbar: Removed getter property. 2009-04-18 14:34:20 +00:00
Scott González
cedf663e2f Core: Added asynchronous focus. Fixed #3559 - :focusable, :tabbable, setFocus(). 2009-04-18 13:04:07 +00:00
Scott González
15788355fa Accordion - Removed easeslide animation. Fixes #4204 - Easeslide does not work (Accordion). 2009-04-18 02:32:11 +00:00
Scott González
6ca335f94c Accordion: Gracefully falling back to a linear animation for any non-existant animation specified for the animated option. Fixes #4392 - Accordion: option animated true causes JavaScript error. 2009-04-17 23:05:37 +00:00
Keith Wood
8f503d8d31 Datepicker: Fixed #3861 Manually entered date does not update altField 2009-04-16 10:42:04 +00:00
Scott González
62f11b4a2e Progressbar: Modified value method to act as both a getter and setter. Fixed #4427 - progressbar('value') returns a reference to this instead of the value. 2009-04-16 01:57:56 +00:00
Scott González
1195854aaa Merged in widget-factory branch and added tests. Fixes #4411 - Widget factory should auto detect getters. 2009-04-15 02:33:28 +00:00
Keith Wood
3c7b612993 Datepicker: Fixed #4462 - Estonian localization 2009-04-14 12:58:53 +00:00
Andrew Powell
5a2ca0e637 Fix for 4427. Per Scott G; Widgets cannot presently have getters and setters with the same name. Scott's changes to the widget factory enable this and will be merged soon. 2009-04-12 22:05:53 +00:00
Keith Wood
a4065729e2 Datepicker: Fixed #4348 - Datepicker positioned outside body when scrollbar enabled 2009-04-10 10:09:03 +00:00
Keith Wood
c7a21a83dd Datepicker: Restored keystrokes for yearly movements 2009-04-10 08:20:11 +00:00
Keith Wood
0375dcb04a Datepicker: Removed more remnants of range select functionality 2009-04-10 08:05:51 +00:00
Keith Wood
f754cf1111 Datepicker: Apply min/max settings on setDate 2009-04-10 08:04:57 +00:00
Keith Wood
1f2dcf8af9 Datepicker: Fixed #4054 - Datepicker overlay problem in IE6 2009-04-10 07:57:26 +00:00
Keith Wood
b94d5cf673 Datepicker: Removed remnants of yearly steps 2009-04-10 07:46:35 +00:00
Scott González
8936687c18 Dialog: Fixed the case where you open two modal dialogs and then close the top dialog and inputs in the first dialog were no longer usable - Fixes #4309. 2009-04-02 02:00:45 +00:00
Richard Worth
fbb912524d fixed #4391 - ui-state-hover, ui-state-active and disabled sliders 2009-04-02 00:10:52 +00:00
Keith Wood
fc75c3e3ad Datepicker: added Windows ticks format 2009-04-01 10:56:58 +00:00
Keith Wood
e55ee9e6e9 Datepicker: fixed #4285 - Week of the Year off by one during daylight saving time
And simplified calculation
2009-04-01 10:41:22 +00:00
Keith Wood
fea2eeb0d7 Datepicker: fixed #4085 - Can not display year and month correctly in Japanese 2009-04-01 10:34:16 +00:00
Keith Wood
89905e277e Datepicker: Removed remnants of range select functionality 2009-04-01 10:25:38 +00:00
Keith Wood
4d5f8d4ae0 Datepicker: fixed #4301 - option dateFormat getter does not return same value as setter 2009-04-01 10:11:35 +00:00
Scott González
a39d0d9350 Dialog: Don't bind overlay event handlers if the overlays are destroyed before the setTimeout block is executed - Fixes #4065 - modal dialog + button locks page. 2009-03-28 16:33:59 +00:00
Scott González
12b47dc1ea Widget factory: Fixed $4266 - Add custom selectors for widgets. 2009-03-28 00:52:56 +00:00
Scott González
4e64af70b6 Widget factory: Fixed #4366 - Deep copy options on init. 2009-03-28 00:06:34 +00:00
Keith Wood
05a935c993 Fixed #4240 - Datepicker destroy affects other datepickers - appended text too 2009-03-22 05:47:08 +00:00
Keith Wood
df5139bd30 Datepicker: fixed #4362 Update Croation localization 2009-03-19 10:33:22 +00:00
Richard Worth
dfe72422e5 Fixed #4341 - Selectable: option appendTo is ignored, helper always appends to body 2009-03-18 12:22:08 +00:00
Richard Worth
7b55667bf3 Fixed #4331 - Accordion requires theme CSS to function in IE 2009-03-18 10:25:55 +00:00
Richard Worth
b025e67259 Fixed #4318 - Slider: method destroy does not remove ui-slider-range 2009-03-18 08:58:53 +00:00
Richard Worth
fa4bd636e3 Fixed #4240 - Datepicker destroy affects other datepickers 2009-03-18 01:56:38 +00:00
Richard Worth
765e7b25bf Fixed #4199 (resizable with containment boundary - aspectRatio breaks.) with patch from #4349 (Resizable with Containment Aspect Ratio Bug (Includes patching instructions)) props tcarnell and garside 2009-03-17 11:20:31 +00:00
Jörn Zaefferer
ecbc1a35c3 formatting 2009-03-15 12:20:37 +00:00
Chi Cheng
dd601d526c Datepicker : albanian localization. fixed #4313 2009-03-10 19:10:50 +00:00
Richard Worth
7e3b8483a3 Fixed #4315 (Slider: clicking on slider with negative values causes error 'closestHandle is undefined') 2009-03-10 11:17:21 +00:00
Richard Worth
4bfadc4514 Fixed #4292 (Slider: ui.value incorrect in slide event if handle at value 0) 2009-03-10 01:35:09 +00:00
Richard Worth
439d93bf8b Fixed #4292 (Slider: ui.value incorrect in slide event if handle at value 0) 2009-03-09 12:36:50 +00:00
Chi Cheng
b25247ec6d Datepicker: Update Ukrainian Localization 2009-03-07 18:28:26 +00:00
Chi Cheng
248d67eaa9 Datepicker: Update Romanian Localization, thanks Ionut G. Stan 2009-03-07 04:59:57 +00:00
Chi Cheng
7e8ea7a36a Droppable: short _init code. 2009-03-05 18:18:49 +00:00
Chi Cheng
73163f471e Droppable: droppable('option', 'accept', selector) fails. fixes #4278 2009-03-05 15:18:07 +00:00
Richard Worth
d2fa4b4446 Dialog: fix dialog height from being reset after drag in Safari. related to r2152 and #4252 2009-03-03 10:29:18 +00:00
Richard Worth
a5c31c097c accordion: call .blur() so ui-state-focus class gets removed from last-focused header. See r1945 2009-03-02 12:37:00 +00:00
Richard Worth
8fecd015cf Fixed #3053 - when resizing a image a row of pixels can disappear
props raziel057
2009-03-02 10:39:16 +00:00
Richard Worth
b38b6a7546 Fixed #4127 - Resizable: displacement of element (in case of constraint resize area)
props raziel057
2009-03-02 10:11:38 +00:00
Klaus Hartl
18171c2f89 Tabs: fixed a few issues in rotate method extension 2009-03-01 15:27:40 +00:00
Klaus Hartl
240a588bce Tabs: few fixes required in destroy method, removed ol as tabifyable element 2009-03-01 14:32:29 +00:00
Scott González
676ea7f248 Dialog: Actually removed dragHelper and resizeHelper options. Fixes #4252 - undocumented dragHelper and resizeHelper options should be removed. 2009-03-01 00:52:03 +00:00
Klaus Hartl
a02ac5f372 Tabs: fixed stopping a rotation 2009-02-28 22:10:30 +00:00
Richard Worth
517d5ab62c resizable: add ui-resizable-resizing class during resize 2009-02-28 21:23:19 +00:00
Richard Worth
df8d64a36a Dailog: fixed #4254 - Dialog: undocumented dragHelper and resizeHelper options should be removed 2009-02-28 21:21:45 +00:00
Richard Worth
5b00c21719 slider: use handle width / 2 instead of marginLeft to find offset of mousedown relative to center of handle (fixes #4063 - slider: horizontal slider handle jumps up when you click on it IE6) 2009-02-28 20:45:05 +00:00
Richard Worth
bd3dc48e02 changed ui.jquery.com to jqueryui.com 2009-02-27 11:41:40 +00:00
Klaus Hartl
e744869d8f better performing check for base and href in IE 2009-02-26 21:39:44 +00:00
Scott González
eade720a3b Dialog: Fixed bug where dialogs wouldn't close if there was no animation. 2009-02-26 01:27:34 +00:00
Klaus Hartl
2ec68cba61 Tabs: refactored - replaced noisy $property names 2009-02-25 22:15:49 +00:00
Klaus Hartl
53aad38b66 Tabs: refactored so that it's using queue, fixes #4060 2009-02-25 22:09:45 +00:00
Klaus Hartl
48e551ee0c Tabs: fixes #4033 as well for the case a base tag is being used 2009-02-25 20:16:27 +00:00
Scott González
9581c73625 Dialog: Passing parameters to moveToTop properly. Fixed #4214 - Dialog z-index adjusted incorrectly on mousedown. 2009-02-25 05:29:01 +00:00
Scott González
47cdc542e8 Sortable: Removed accurateIntersection option (Fixes #4225). 2009-02-25 04:15:48 +00:00
Richard Worth
639da64b34 slider: only return false on handle keydown if one of arrow keys or pgup/down are pressed (otherwise tab is broken) 2009-02-23 12:57:33 +00:00
Klaus Hartl
12d2b5e720 Tabs should not use toggleClass() for state handling, fixes #4212 2009-02-22 18:54:29 +00:00
Klaus Hartl
3b1ce9460a Tabs: some refactoring to avoid redundant code 2009-02-22 17:40:16 +00:00
Klaus Hartl
48fa8d8286 Tabs: fixed remaining JSLint warnings 2009-02-22 14:00:11 +00:00
Klaus Hartl
0f9b9fe1b7 Tabs: avoid !0 == true 2009-02-22 12:11:44 +00:00
Klaus Hartl
66761ebe9a removed invalid character, added missing semicolon 2009-02-22 12:01:33 +00:00
Klaus Hartl
10636ee6fe Tabs: cookie was not considered if page url contains some fragment identifier, fixes #4210; fixed issue with jQuery 1.3.2 :visible selector; started to fix JSLint warnings... 2009-02-22 11:54:00 +00:00
Scott González
d94afbee78 Dialog: When animating dialog close, wait until after the animation completes before triggering the close event. Fixes #4207 - Dialog close event occurs too early with hide effect. 2009-02-21 17:02:52 +00:00
Richard Worth
3342fb841a Slider: Fixed min and max range sliders to add ui-slider-range-min or ui-slider-range-max class and not set corresponding left/right/top/bottom inline, only width/height
(fixes #4182 - slider min/max classes aren't being added to range div)
(fixes #3850 - Slider Range With Fixed Max Demo Bug in Opera)
2009-02-21 11:40:05 +00:00
Klaus Hartl
1ca5ae160c Tabs: normalization of href attribute required in IE, fixes #4134 2009-02-19 20:19:13 +00:00
Paul Bakaus
0d523ed684 effects core: the second argument passed to effect methods wasn't checked for being a callback function (fixes #4181 - Effects methods don't allow callback as the second parameter) 2009-02-19 13:25:02 +00:00
Keith Wood
3ef80b3b0f Fixed #4156 Serbian localizations 2009-02-19 10:30:43 +00:00
Scott González
47cd5b6fca Resizable: Fixed containment within relative/absolute positioned parent. Fixes #3882 - Left Margin Calculated Incorrectly (Using Containment). Patch provided by Brad Dunbar. 2009-02-19 02:49:54 +00:00
Scott González
dcbd427cdf Dialog: Removed $.ui.dialog.topMostDialog - added for performance improvement, but not needed and could cause problems. 2009-02-19 02:35:19 +00:00
Scott González
3c7e1b3ff9 Dialog: Refactored event delegation to cancel events for modal dialogs. Fixes #2807 - dialogUI + modal mode = slow. 2009-02-19 02:20:20 +00:00
Scott González
835cbf1833 Dialog: Use event delegation to cancel events for modal dialogs. Fixes #2807 - dialogUI + modal mode = slow. 2009-02-19 02:07:05 +00:00
Scott González
06a513b753 Dialog: Refactored moveToTop, greatly improving performance for opening dialogs in IE. Partial fix for #2807 - dialog UI + modal mode = slow. 2009-02-19 01:49:33 +00:00
Klaus Hartl
07809340c8 Tabs: solved spinner issues and ajax loading not being stopped when selecting a static page tab, fixes #4109, #3929 2009-02-18 21:44:34 +00:00
Scott González
f39561cc7f Slider: Removed support for auto orientation, set default to horizontal. Fixed #4174. 2009-02-18 03:00:03 +00:00
Paul Bakaus
2ffcf02de3 slider: limit the returned floats to 5 digits after the decimal point, corrects JS float errors (fixes #4124 - Value should always be constrained to valid step values) 2009-02-17 13:01:19 +00:00
Paul Bakaus
9c4b8a9141 slider:
- fixed propagation of change event within _slide (fixes #4005 - slider and change callback with range: true)
- normalized all ui hash information
2009-02-17 12:21:42 +00:00
Paul Bakaus
77043b9bf2 slider: animate option was ignored if only one handle (fixes #4167 slider:animation for single handles broken) 2009-02-17 11:13:30 +00:00
Scott González
55081dae77 Slider: Fixed divide by zero error when min and max are the same. Fixed #4155 - IE6 error by min==max. 2009-02-17 01:39:25 +00:00
Scott González
6754eaa338 Cleaned up transfer effect. Despite the huge diff, I didn't change any logic and barely changed any actual code. 2009-02-17 01:20:50 +00:00
Scott González
49b76873ad Transfer effect: Use innerWidth/Height instead of outerWidth/Height and then subtracting border. Fixed #4153 - Transfer throws 'Invalid Argument' in IE7 without CSS border property. 2009-02-17 01:07:30 +00:00
Eduardo Lundgren
eb5858f69f Resizable: Fixed #4147 - Little jump when a resizable is about to reach the coordinate 0 (in x- or y-axis) 2009-02-15 14:51:59 +00:00
Klaus Hartl
26f1b0330f Tabs: using closest() is shorter 2009-02-14 15:56:44 +00:00
Scott González
f869dab6b0 Mouse: Fixed #4146: Don't set the flag to prevent click events if mouseup occurs on a diferent element than mousedown (was preventing the next click event from occuring). 2009-02-14 04:27:31 +00:00
Scott González
a7eb669c01 Mouse: Stop immediate propagation of click events. Partial fix for #3177 - click is fired for draggagble elements on mouseUp. 2009-02-14 03:02:38 +00:00
Klaus Hartl
f3feb25712 Tabs: mouseover/focus handling for added tabs, plus test, fixes #4097 as well as focus/blur handling when using keyboard 2009-02-13 23:05:16 +00:00
Paul Bakaus
64b66a4d81 sortable: pageX/pageY already do not include scroll offsets in safari, therefore it does not need to be substracted again (fixes #4041) 2009-02-13 13:28:20 +00:00
Paul Bakaus
39d164b95e draggable: pageX/pageY already do not include scroll offsets in safari, therefore it does not need to be substracted again (fixes #4142) (only if css position is fixed) (removed redundant check) 2009-02-13 13:05:24 +00:00
Paul Bakaus
5030b57801 draggable: pageX/pageY already do not include scroll offsets in safari, therefore it does not need to be substracted again (fixes #4142) (only if css position is fixed) 2009-02-13 12:47:52 +00:00
Paul Bakaus
8623a3e9a5 draggable: pageX/pageY already do not include scroll offsets in safari, therefore it does not need to be substracted again (fixes #4142) 2009-02-13 12:42:42 +00:00
Paul Bakaus
e0f3b0ef32 draggable,sortable: if the offset parent is the body, top/left values should always be normalized to 0 (fixes #4141 - margin on body in safari caused bump) 2009-02-13 12:26:44 +00:00
Scott González
9f93e8db3a Sortable: Removed sortIndicator option. Fixed #4118 - option sortIndicator is undocumented. 2009-02-13 03:47:53 +00:00
Scott González
a5d5c4f60a Resizable:
- Fixed destroy method.
  - Removed preventDefault option (Fixed #4135 - preventDefault should not be an option as there's not use case for false).
2009-02-13 03:36:56 +00:00
Scott González
2916159a08 Dialog: Don't set focus to elements in the titlebar on open. Fixes #4126 - focus on dialog open should be constrained to the contents of the dialog.
NOTE: This breaks accessibility in Safari, which doesn't allow setting focus to elements that are not natively tabbable.  However, our current stance is that people who require accessibility will not be using Safari specifically for this type of reason.
2009-02-13 03:06:43 +00:00
Scott González
16c0c8f259 Prevent loading core files multiple times. Fixes #4130 - Too much recurson with double include. 2009-02-13 02:25:21 +00:00
Paul Bakaus
8ba40888a5 datepicker: temporary solution for inline click events with noConflict(true), introduces another global called DT_jQuery to deal with the inline events (fixes #4055, going to be removed with scheduled rewrite) 2009-02-11 13:40:21 +00:00
Paul Bakaus
8bc04f67e3 progressbar: removed unused variables, some whitespace changes (fixes #4052) 2009-02-11 13:04:18 +00:00
Paul Bakaus
7989bf1bee draggable: fixed numerous issues with over/out logic on connected sortable lists (fixes #3988) 2009-02-10 15:05:01 +00:00
Paul Bakaus
51c338b9ed all: fixed jslint warnings 2009-02-10 13:11:34 +00:00
Paul Bakaus
2e0f967680 sortable: if current item was removed by user, it was reappended by the clearing logic (fixes #4088) 2009-02-10 10:07:25 +00:00
Paul Bakaus
4e61b952f3 core: prevent calling plugins if the node doesn't exist in DOM anymore (has been removed by the user) (fixes #4087) 2009-02-10 09:14:59 +00:00
Paul Bakaus
8ccbc0ac55 accordion: chaining breaks if value in height() is negative (fixes #4102) 2009-02-10 08:59:24 +00:00
Richard Worth
fddd2c3965 slider: fixed failing visual test: slider_in_container_with_scrollbars 2009-02-10 03:48:21 +00:00
Richard Worth
176b2d21cd dialog: added some missing defaults 2009-02-09 11:15:23 +00:00
Eduardo Lundgren
e1320a794c Resizable: Fixed #4099 - Copy .data("resizable") to the wrapper element 2009-02-09 04:36:43 +00:00
Eduardo Lundgren
e49aa9a3d7 Resizable: Fixed #4090 - proportionallyResize option should be removed (made internal) 2009-02-09 04:33:50 +00:00
Eduardo Lundgren
43de7e0e50 Resizable: Fixed #4092 - preserveCursor option should be removed 2009-02-09 03:59:16 +00:00
Eduardo Lundgren
78e8a1b789 Resizable: Fixed #4098 - Remove transparent option 2009-02-09 03:56:02 +00:00
Scott González
0413807dfb Dialog: Don't allow the height of the content area to be negative. 2009-02-09 02:32:43 +00:00
Scott González
615127e8c5 Resizable: Fixed #4093: Removed disableSelection option. 2009-02-09 01:36:51 +00:00
Richard Worth
e4c5712974 Removed unused code obsoleted by #3906 and r1754 2009-02-08 00:55:16 +00:00
Richard Worth
8a12510ca1 droppable: defaults - alpha order 2009-02-07 18:28:29 +00:00
Scott González
86a26f17ff Dialog: Fixed #4086: Allow changing the dialogClass option after init. 2009-02-07 14:28:14 +00:00
Klaus Hartl
915a3a4117 Tabs: cleanup - no longer supports tabifying via list element, must use container 2009-02-05 19:58:38 +00:00
Klaus Hartl
fbc6ff5f81 Tabs: fixed bug related to setting selected via data method, cleaned up mess in tests 2009-02-05 19:36:31 +00:00
Klaus Hartl
78adee126c Tabs: removed useless array joins, consistent usage of "ui-tabs-selected" class 2009-02-05 19:11:12 +00:00
Klaus Hartl
8aee174cdb Tabs: Added tests for select method while at the same time implemented consistent handling of possible values to pass, addresses #4051 2009-02-05 19:02:47 +00:00
Scott González
dd3636c97a Dialog: Removed shadow option due to introducing too many bugs. (Reopens #3681). 2009-02-05 14:30:59 +00:00
Richard Worth
5a6e2bdbb6 Fixed 4062 - slider: vertical slider handle jumps up when you click on it 2009-02-05 06:01:10 +00:00
Richard Worth
93fbdd41b3 Fixed #3804 (Multiple Slider Focus Issues) 2009-02-05 05:25:12 +00:00
Richard Worth
65172cdeb2 accordion defaults in alpha order 2009-02-05 04:34:38 +00:00
Scott González
fc9ebfb3f4 Draggable/Sortable: Partial fix for #4009: Fixed ui hash for sortable activate/deactivate callback when receiving a draggable. 2009-02-05 04:21:21 +00:00
Scott González
2f2342caeb Draggable/Sortable: Partial fix for #4009: Fixed ui hash for sortable receive callback when receiving a draggable. 2009-02-05 04:12:23 +00:00
Scott González
0c8eed67f5 Draggable: Removed ridiculousness (some of it anyway). 2009-02-05 03:44:08 +00:00
Scott González
57f0188239 Mouse: Fixed #4061: Prevent errors when manually triggering mousedown events on elements that use $.ui.mouse (event.originalEvent isn't defined). 2009-02-05 02:33:21 +00:00
Paul Bakaus
27a7442a37 effect core: speed wasn't detected in all situations (fixes #4057) 2009-02-05 01:39:58 +00:00
Klaus Hartl
b81731dd76 Tabs: fixed duration for show animation - setting wasn't considered 2009-02-04 20:46:54 +00:00
Richard Worth
08a75c4991 Fixed #4050 (Dialog: undefined class being added to ui-dialog element) 2009-02-03 04:20:42 +00:00
Richard Worth
8bc22ea6f3 draggable: missed internal use of ui.absolutePosition 2009-02-03 03:02:30 +00:00
Richard Worth
4b3b9d8fb0 sortable defaults 2009-02-03 02:23:07 +00:00
Richard Worth
87796aff53 Fixed #4038 (sortable: cssNamespace option should be removed) 2009-02-03 02:18:12 +00:00
Richard Worth
b534fcccb9 sortable: changed sortable option cursor default value to 'auto' instead of 'default' 2009-02-03 01:22:34 +00:00
Richard Worth
d5f41446dd sortable defaults 2009-02-03 01:20:55 +00:00
Klaus Hartl
24c51e5a95 Tabs: introduced "collapsible" option while deprecating "deselectable", fixes #4029 2009-02-02 20:15:06 +00:00
Jörn Zaefferer
bf16dc1853 accordion: use synced animations only when animating two elements; optimize for only-one 2009-02-02 14:02:20 +00:00
Richard Worth
4ad531044e Fixed #4037 (droppable: cssNamespace option should be removed, addClasses option added) 2009-02-02 07:18:27 +00:00
Richard Worth
c5df36e277 Fixed #4036 (draggable: cssNamespace option should be removed, addClasses option added) 2009-02-02 06:45:50 +00:00
Scott González
3051eca215 Slider:
- Fixed #4016: Vertical slider was unusable when the thumb was at the min value.
  - Fixed #3736 for real: Vertical slider was unusable when using a range and both thumbs were at the min value.
2009-02-02 03:07:54 +00:00
Scott González
94c16d6378 Accordion: Fixed #3969: Deprecated alwaysOpen for collapsible option; fixed demos, tests, and using alwaysOpen on init. 2009-02-02 02:29:31 +00:00
Paul Bakaus
43ebec6576 accordion: deprecated alwaysOpen option, introduced collapsible option (invert value) (fixes #3969) 2009-02-02 02:11:32 +00:00
Klaus Hartl
c8360e619b Tabs: Fixed IE bug which would mistake tabs as ajax with dynamically created HTML, fixes #4033 2009-02-01 21:09:02 +00:00
Ca-Phun Ung
1866e1382f datepicker: #4032 - Incorrect layout in multiple month rows. I noticed the static tests were recently updated with a row-break so I have added the row-break fix for now so it will be ready for the release. We should seriously consider inline-block. 2009-02-01 05:50:12 +00:00
Scott González
ce0daae232 Draggable: Fixed #3980: Don't allow connecting to disabled sortables. 2009-02-01 04:37:19 +00:00
Scott González
938a95e8dc Accordion: Added focus state to headers. 2009-02-01 02:11:06 +00:00
Richard Worth
52eb7d14aa draggable: changed option cursor default to 'auto' instead of 'default' 2009-02-01 02:00:38 +00:00
Scott González
8c4989914b Dialog: Fixed #4015: Set z-index on shadow when the dialog opens. 2009-02-01 01:29:58 +00:00
Scott González
b642b98619 Sortable: Added defaults for cursor, cursorAt, opacity. 2009-02-01 01:02:34 +00:00
Scott González
39f80ebc66 Sortable: Fixed #4017: Revert opacity after sort. 2009-02-01 00:55:34 +00:00
Scott González
34a5af8779 Sortable: Fixed #3979: Fixed using a string for connectWith option. 2009-01-31 16:54:06 +00:00
Jörn Zaefferer
bae4a16d61 accordion: another partial fix for #4011, fixes tests/visual/accordion/width.html in FF, IE still buggy 2009-01-31 16:52:52 +00:00
Ca-Phun Ung
658a0f7f40 datepicker: #4003 - Inline datepicker and button panel. 2009-01-31 10:40:55 +00:00
Richard Worth
9f382c5814 dialog: changed shadow default to false. Not quite ready to be on by default. Maybe in 1.next. 2009-01-31 05:47:58 +00:00
Scott González
171c7c0671 Dialog: Shadow cleanup.
- Don't hide shadow during drag/resize in IE6 (let the user do this one their own).
  - Let users modify the shadow option after init.


.parents('.ui-dialog')
.bind('dragstart resizestart', function() {
	$(this).find('.ui-dialog-content').dialog('option', 'shadow', false);
})
.bind('dragstop resizestop', function() {
	$(this).find('.ui-dialog-content').dialog('option', 'shadow', true);
});
2009-01-31 04:33:36 +00:00
Scott González
6695e5ac7f Accordion: Partial fix for #4011: Smooth(er) animations with autoHeight: false.
Removed some browser snifing.
Added support for non-px units.
2009-01-31 02:55:56 +00:00
Richard Worth
39dac81b24 Fixed #4008 (Sortable events are improperly named) 2009-01-31 02:36:47 +00:00
Klaus Hartl
0ad6bff312 Tabs: reviewed and simplified just a bit 2009-01-31 01:16:59 +00:00
Klaus Hartl
195838c443 Tabs: simplified tests a bit, found bug by that - fixed as well as two other unreported bugs 2009-01-31 00:45:14 +00:00
Jörn Zaefferer
a1e9c63911 accordion: partial fix for #4011 2009-01-30 21:40:34 +00:00
Jörn Zaefferer
5484aad005 accordion: added ul-visual-test; improved solution for fixing ul-accordions, no more potential scope issues 2009-01-30 20:42:03 +00:00
Jörn Zaefferer
cc62471b4f accordion: fix for the previous commit; event triggering still somewhat crippled, a few tests failing 2009-01-30 16:49:40 +00:00
Jörn Zaefferer
00b0b3661f accordion: better default for header-option 2009-01-30 16:10:00 +00:00
Richard Worth
55953d650a effects core: fixed undefined options error 2009-01-30 05:46:46 +00:00
Richard Worth
c36da07ca6 draggable: fixed 'o is not defined' exception 2009-01-30 05:17:48 +00:00
Scott González
256ea0670a Resizable: Fixed defaults in tests. 2009-01-30 04:53:30 +00:00
Scott González
967d6595a6 Accordion: Fixed destroy method with new markup. 2009-01-30 03:27:44 +00:00
Scott González
18b42f45d5 Accordion: only animate height and padding. 2009-01-30 03:09:10 +00:00
Scott González
2c1d4675a8 Accordion: Fixed #3788: Removed wrapper divs and smoothed animations, allowing accordions to work with dl's and ul's again. 2009-01-30 02:35:37 +00:00
Paul Bakaus
3b92895a7e draggable: connectToSortable couldn't accept strings (fixes #3984) 2009-01-29 18:36:55 +00:00
Paul Bakaus
04c063e5b7 sortable: containment option now respects the padding (fixes #3958) 2009-01-29 15:25:02 +00:00
Paul Bakaus
b3ab79b859 draggable: containment option now respects the padding (fixes #3957) 2009-01-29 15:22:43 +00:00
Paul Bakaus
bcee037715 slider: fixed orientation detection 2009-01-29 15:13:47 +00:00
Paul Bakaus
814fbbe747 dialog: all triggered custom events should have related events attached if possible (fixes #3718,#3983) 2009-01-29 14:08:33 +00:00
Paul Bakaus
c2d272259f effects: fixed various problems with order of callbacks (i.e. show('drop', 500) wasn't working) (additionally fixes #3912) 2009-01-29 13:34:58 +00:00
Paul Bakaus
669bdb333a draggable,droppable,sortable: deprecated ui.absolutePosition, changed to ui.offset (fixes #3978,#3977,#3976) 2009-01-29 12:35:38 +00:00
Paul Bakaus
c88df4d3ee resizable: removed ui.options 2009-01-29 12:33:44 +00:00
Paul Bakaus
717c5f66e8 dialog: shadow is hidden during drag/resize for slow performance browsers (currently IE < 7) (fixes #3966) 2009-01-29 10:57:45 +00:00
Scott González
9592848de3 Dialog: Fixed #3901, #3918, #3930: Don't let the minHeight for dialogs be negative (breaks IE). 2009-01-29 04:12:35 +00:00
Paul Bakaus
4bf637bb2c slider: added better description for workaround for #3726 2009-01-28 23:11:15 +00:00
Paul Bakaus
b2cbdb6ff4 slider: added better description for workaround for #3726 2009-01-28 22:51:35 +00:00
Paul Bakaus
966f6e46dd slider: animate default should be false 2009-01-28 22:13:44 +00:00
Paul Bakaus
ab32cefef5 slider: animate default should be false 2009-01-28 22:11:33 +00:00
Paul Bakaus
be1b2b023a slider:
- implemented animate method
- slider min/max values could be exceeded using the keyboard (fixes #3737)
2009-01-28 22:07:46 +00:00
Eduardo Lundgren
a853e4fd17 Fixed #3954 2009-01-28 21:48:51 +00:00
Paul Bakaus
1ad50e24a9 slider: closestHandle never got set when the distance between the handles are the maximum available (fixes #3948) 2009-01-28 19:14:38 +00:00
Paul Bakaus
bf6b493c90 slider:
- when dragging a handle, the position of the relative click is respected (fixes #3972)
- when dragging two range handles to 0, the slider was broken because the nearest handle would always be the first. Implemented a workaround. (fixes #3736)
2009-01-28 19:10:37 +00:00
Richard Worth
ca2f0191da core: check for event.originalEvent before copying 2009-01-28 09:15:51 +00:00
Ca-Phun Ung
3aeeeeb75a datepicker: fixes #3863: fixed vertical position when scroll position is present and added a viewport visual testcase. 2009-01-28 05:11:10 +00:00
Scott González
c9e6d28661 $.widget: Fixed #3965: Copy properties from original event on to new event in _trigger. 2009-01-28 03:46:35 +00:00
Scott González
cc3064b1f9 Mouse: Fixed #3552, reverted r1763: Let mouse events propagate. 2009-01-28 01:21:50 +00:00
Paul Bakaus
84a0971aab draggable: fixed snap 2009-01-27 19:17:28 +00:00
Paul Bakaus
2ef2b87ccb dialog:
- implemented themeroller overlay, removes option overlay (now handled through CSS) (implements #3681)
- implemented shadow option (boolean), if set to true, adds shadow from css framework (implements #3681)
2009-01-27 16:53:46 +00:00
Paul Bakaus
24d450b7fe droppable: 'this' in accept should point to the DOMelement not to a jQuery (fixes #3955) 2009-01-27 14:58:05 +00:00
Paul Bakaus
98fc50ab13 accordion: overflow is set to hidden during calculations for fillSpace in IE6 (fixes #3845) 2009-01-27 14:38:57 +00:00
Eduardo Lundgren
671caddf94 Resizable: using isNumber on isminw 2009-01-27 06:40:31 +00:00
Eduardo Lundgren
dfef53612c Fixed #3251 2009-01-27 06:36:42 +00:00
Eduardo Lundgren
7f12279da5 Fixed #3894 2009-01-27 06:22:29 +00:00
Eduardo Lundgren
73cf6e58b5 Resizable documentScroll reference 2009-01-27 06:00:41 +00:00
Eduardo Lundgren
279f6599a4 Fixed #3879 2009-01-27 05:31:57 +00:00
Paul Bakaus
ef0149adba accordion: navigation option wasn't working (fixes #3944) 2009-01-26 12:11:56 +00:00
Klaus Hartl
43efa580dd Tabs: organized code - public and private (pseudo) methods, added unit test for ui data object 2009-01-26 11:34:28 +00:00
Klaus Hartl
03b1cfe4c4 Tabs: TODO check 2009-01-25 23:52:49 +00:00
Klaus Hartl
0162350192 Tabs: removed Safari 2 workaround, no longer supported 2009-01-25 23:47:40 +00:00
Klaus Hartl
a7c0141875 Tabs: overall fixed selected property for all tabs unselected case (is -1 in such case), added sanity check for selected out of bound, fixes #3936 2009-01-25 23:42:56 +00:00
Paul Bakaus
80dd45b693 accordion: fix for newContent/oldContent in the UI object that was pointing to the workaround wrapper (temporary, until we remove the wrapper completely) 2009-01-25 21:20:15 +00:00
Klaus Hartl
802960fbad a little cleanup 2009-01-25 19:07:25 +00:00
Klaus Hartl
1ffc579c64 Tabs: removed options from ui object, not required 2009-01-25 18:09:52 +00:00
Klaus Hartl
272854df86 Tabs: rotation handles asynchronous loading/animations, fixes #2651 2009-01-24 17:20:46 +00:00
Richard Worth
d70844ff4e tabs: removed non-breaking space char 2009-01-24 04:13:03 +00:00
Eduardo Lundgren
16a6bf3dd8 Remove trailing spaces 2009-01-24 01:36:22 +00:00
Klaus Hartl
0be8f4cbfd Tabs: added ability to define the cookie name, fixes #2393 2009-01-23 20:11:02 +00:00
Paul Bakaus
eb716cf0f1 resizable: removed unneeded isVisible method 2009-01-23 19:28:58 +00:00
Paul Bakaus
f3eb832ed5 draggable: draggable should not scroll when constrained in one axis (fixes #3868) 2009-01-23 13:10:17 +00:00
Paul Bakaus
df6ac9c193 draggable: removed ui.options (fixes #3917) 2009-01-23 13:04:08 +00:00