Commit Graph

1724 Commits

Author SHA1 Message Date
Scott González
75b94a1c12 Accordion: Handle changes to deprecated options: autoHeight, clearStyle, fillSpace. 2010-12-19 16:19:54 -05:00
Scott González
e0ae1929a0 Merge remote branch 'Adovenmuehle/master' into accordion-height 2010-12-19 16:14:13 -05:00
Alex Dovenmuehle
94a1786d56 Accordion: API Redesign. Made style changes and changed 'fill' implementation to use $.siblings() 2010-12-17 21:38:29 -05:00
Scott González
c614889b30 Dialog: Coding standards. 2010-12-17 19:53:22 -05:00
Scott González
08422d69da Autocomplete: Track pending requests and only remove the loading class when the last request completes. Fixes #6761 - Autocomplete: Loading class removed when multiple Ajax requests occur. 2010-12-17 11:15:17 -05:00
Scott González
0d0c86210c Autocomplete: Abort pending ajax requests when disabled and prevent handling results when disabled. Fixes #6752 - Menu may still render when autocomplete is disabled. 2010-12-17 10:48:17 -05:00
Alex Dovenmuehle
490792be6a Accordion: API Redesign. Merged autoHeight, fillSpace, and clearStyle into a new option called heightStyle 2010-12-16 22:55:59 -05:00
Scott González
6731b0e2d6 Effects: Fixed queueing of class animations. Fixes #6748 - animateClass broken in 1.8.7. 2010-12-14 09:02:00 -05:00
Kevin Dalman
2084549344 Effects: set right/bottom to 'auto' so effects work with dir=rtl. Fixed #6736 - Bug in slide effect when dir=rtl and has position.right. 2010-12-13 13:02:31 -05:00
Scott González
f73d421753 Accordion: Split out navigation options into an extension. Fixes #5869 - Accordion: Deprecate navigation options. 2010-12-11 15:57:49 -05:00
Scott González
ca0ac5a64f All: Remove workaround for .offset() setter bug from older versions of jQuery. 2010-12-11 15:19:25 -05:00
Scott González
9681b1fd7e All: Replaced all uses of $.ui.contains() with $.contains(). Fixes #5000 - Deprecate $.ui.contains. 2010-12-10 15:13:10 -05:00
Scott González
162364fae4 Tabs: Removed rotate method. Fixes #5939 - Tabs: Remove rotation. 2010-12-10 15:06:22 -05:00
Alex Dovenmuehle
f54747b302 Accordion: Added .ui-accordion-heading class to header's first child. Fixes #6743 - Accordion: Add .ui-accordion-heading class. 2010-12-10 14:54:50 -05:00
Scott González
0cc1a0c030 Position: Use $.isWindow() 2010-12-10 14:34:21 -05:00
Scott González
b42125af43 Dialog: Removed handling of deprecated beforeclose option. Fixes #5100 - Dialog: remove deprecated dialog option beforeclose. 2010-12-10 14:31:36 -05:00
Scott González
9ad2a4b1cc Widget: Throw errors for invalid method calls. Fixes #5972 - Widget: Throw error for non-existent method calls. 2010-12-10 14:11:20 -05:00
Scott González
0e15f573d6 Revert "Dialog: Moved the default value for the position.of option inside the _position() method to avoid a bug in jQuery 1.3.2. Fixes #6030 - ui.dialog with jQuery 1.3.2 causes RangeError."
This reverts commit 22671ad4f8.
2010-12-10 13:42:29 -05:00
Scott González
22671ad4f8 Dialog: Moved the default value for the position.of option inside the _position() method to avoid a bug in jQuery 1.3.2. Fixes #6030 - ui.dialog with jQuery 1.3.2 causes RangeError.
This should be reverted in jQuery UI 1.9.
2010-12-08 12:36:19 -05:00
saks
63ec1152d8 Tabs: Added context to global selectors. Fixed #6710 - tabs module uses global selectors instead of local to "this.element" element. 2010-12-07 16:27:56 -05:00
Heiko Henning
5f919b2421 Datepicker: Added Rhaeto-Romanic translation. Fixes #6728 - Datepicker: Add i18n translation for Rhaeto-Romanic. 2010-12-07 12:33:18 -05:00
poplix
0d0969ca2b Slider: Changed _trimAlignValue function to return the correct inclusive value between min and max. Fixes #6643 - using range and step options makes jquery change min and max. 2010-12-06 10:05:46 -05:00
jzaefferer
1fd34199ef Tooltip: Seperate restoring title attribute from assigning current-variable, in case currentTitle is undefined. 2010-12-03 18:14:20 +01:00
dblood
51695f82c8 Datepicker: enabled OSX meta keys to work when constraining input. Fixed #5317 - datepicker cmd+a/c/v is not working on MAC OS-X 2010-12-03 08:44:34 -05:00
Scott González
b9e34f726a Dialog: Don't hide the dialog in _size if it started visible. Fixes #6717 - Dialog: Adding a button makes the dialog disappear in IE6. 2010-12-03 08:31:06 -05:00
jzaefferer
0d0ec376e3 Spinner: Introduce page option to configure page size. Use that for timespinner demo to spin minutes on cursor up/down, hours on page up/down. 2010-12-01 23:28:05 +01:00
Jean-Francois Remy
e01664a382 Draggable: Handle scrolled windows. Fixes #6181 - Draggable: issue with containment on position:fixed elements. 2010-12-01 15:31:59 -05:00
Scott González
eac910f315 Autocomplete: Update selectedItem in the asynchronous focus handling for IE. Fixes #6709 - Autocomplete: Null ui.item on change event in IE8. 2010-12-01 11:51:16 -05:00
Scott González
c667cff22d Position: Handle sub-pixel offsets better in Firefox. Fixes #6000 - Position: Sometimes positioning is off by 1px in Firefox. 2010-12-01 11:23:06 -05:00
Scott González
40135bb091 Autocomplete: Handle ajax errors and timeouts. Fixes #6692 - Autocomplete: ui-autocomplete-loading class not removed when Ajax request times out. 2010-11-30 22:19:20 -05:00
pheiberg
98f7e6a8d6 Datepicker: made it possible to select a date in the selected month using enter. Fixes #5527 - Datepicker: Problem selecting the date with keyboard shorcuts 2010-11-30 17:46:53 -05:00
jzaefferer
56f842cee0 Spinner: Move aria-attributes to the focusable element of the widget 2010-11-30 13:44:52 +01:00
jzaefferer
285c991b72 Spinner: Fix crlf to lf line endings. 2010-11-30 13:43:43 +01:00
jzaefferer
9ef5cd02fa Spinner: Use inline-element for better inline-block support. Removed float:left from input to fix input focussing in IE6. 2010-11-30 13:41:54 +01:00
Scott González
9ade71071a Datepicker: Proper handling of empty strings for dates. 2010-11-22 12:59:57 -05:00
Scott González
7b523c2ec1 Datepicker: Handle clearing the date inside _setDate() as early as possible. Fixes #6684 - Datepicker: setDate() should accept an empty string.
Thanks RobinHerbots.
2010-11-22 11:46:36 -05:00
Scott González
a4d54b4d77 Datepicker: Don't use ui-helper-hidden-accessible for initial hiding. 2010-11-22 11:40:11 -05:00
Marian Rudzynski
d23fe49ae8 Progressbar: Added max option. Fixes #6681 - Progressbar: add max option. 2010-11-22 08:49:47 -05:00
pheiberg
d69f2ecb12 Datepicker: changed setDate not to modify the passed date argument. Fixes #6671 - setDate manipulates its argument 2010-11-22 08:29:29 -05:00
Khaled AlHourani
3361e8fe9d Datepicker: modified Arabic day names order. Fixed #6676 - ui.datepicker: Arabic Localization miss order 2010-11-21 09:47:06 -05:00
jzaefferer
2c4d4180c3 Tooltip: Update license header. 2010-11-20 15:43:13 +01:00
jzaefferer
2a226f6e63 Menu: Update license header. 2010-11-20 15:42:44 +01:00
jzaefferer
bd3d324572 Spinner: Update license header. 2010-11-20 15:39:40 +01:00
skeetergraphics
0c3e56dd7d Slider: Modified handle and scroll content not to jump twice when handle is grabbed and dragged from anywhere other than absolute center. Fixed #4467 - Slider: handle jumps a few pixels when clicked. 2010-11-19 10:35:34 -05:00
jamiejag
8bb412dd4a Dialog: Ensure dialogs have a z-index when calculating the max z-index. Fixex #5955 - Dialog: Closing UI dialog when z-index is not defined in any .ui-dialog class, causes NaN to be used as Z-index, throwing an error. Fixes #4652 - Dialog: Event loss in subsequent dialog calls (FF3). 2010-11-19 09:02:01 -05:00
Alex Dovenmuehle
abfa0e1e95 Core: Fixed switchClass queueing issues using lazy evaluation of element's style. Fixed #6244 - switchClass queues incorrectly. 2010-11-19 08:54:11 -05:00
pheiberg
a2e0eb920a Datepicker: Fixed parsing of single y character for date formats. Fixes #6659 - Datepicker: Date format ymmdd not parsed correctly. 2010-11-18 16:13:28 -05:00
jzaefferer
ecc0d0e74d Menu: Implemented new (experimental) ARIA based on discussions on the jquery-a11y list. 2010-11-16 20:35:08 +01:00
J. Ryan Stinnett
859c87e6d9 Effects: Allow named speeds to be 0. Fixes #6657 - Allow named speeds to be 0 2010-11-16 08:14:10 -05:00
Scott González
c2139fc2e6 Dialog: Added some missing semicolons. 2010-11-12 12:57:34 -05:00
Scott González
5dad57e3c2 Buttonset: Added items option and removed visible filter for adding rounded corners. Fixes #6262 - buttonset not applying ui-corner to invisible elements. 2010-11-12 10:28:55 -05:00
Scott González
f85b998f44 Autocomplete: Re-position menu after resizing, not before. Fixes #6648 - Autocomplete menu position issue when positioned to the right. 2010-11-12 08:41:36 -05:00
Jay Merrifield
dfb3544297 Dialog: Make sure the overlay instance still exists before trying to remove it. Fixes #6645 - Dialog: Missing element not found check in overlay code. 2010-11-12 08:16:41 -05:00
Stéphane Raimbault
320dfb8679 Datepicker: fixed the French translation. Fixed #6646 - Wrong French translation of datepicker
References
- http://fr.wikipedia.org/wiki/Mois
- http://sourceware.org/bugzilla/show_bug.cgi?id=6040
- http://code.djangoproject.com/browser/django/trunk/django/conf/locale/fr/LC_MESSAGES/djangojs.po
2010-11-11 09:06:00 -05:00
awgy
e2a693ba78 Mouse: tie the preventClickEvent property to the event target, not the container. Fixes #4752 - link event firing on sortable with connect list 2010-11-09 09:52:24 -05:00
Scott González
412d1aa1c9 Slide effect: Handle string values for distance. Fixes #6637 - Slide effect is jumpy with certain parameter combinations.
Thanks Jeff Roush.
2010-11-09 08:38:06 -05:00
Scott González
7832fd8e9c Datepicker: Avoid flash during render in Firefox. Fixes #5493 - Datepicker: changeYear + yearRange causes flash in Firefox.
Thanks israelrios.
2010-11-05 10:25:06 -04:00
jzaefferer
9949fa4d76 Menu: Good enough 2010-10-28 19:24:51 +02:00
jzaefferer
8959057ecc Menu: Further refactoring of next/previousPage 2010-10-28 19:22:57 +02:00
jzaefferer
c55977d2ef Menu: Refactored next/previousPage logic and activate-scrolling, improved much! 2010-10-28 19:15:27 +02:00
jzaefferer
184ad699df Menu: Refactored menu to use .first()/.last() instead of :first/:last whereever possible 2010-10-28 18:38:40 +02:00
jzaefferer
1bd57c7421 Menu: Effing coding standards. 2010-10-28 18:12:52 +02:00
jzaefferer
6b3eead894 Menu: Use event delegation for mouseover/out events, instead of binding to menu items directly 2010-10-28 18:11:55 +02:00
jzaefferer
a1eb5f4592 Spinner: Make sure that options.value and input.val() are in sync 2010-10-28 17:45:34 +02:00
jzaefferer
23157be9c3 Spinner: Refactored reading htlm5 attributes option init 2010-10-28 17:32:01 +02:00
jzaefferer
78872dca42 Spinner: Improved mousewheel event handling 2010-10-27 17:45:32 +02:00
jzaefferer
d91cd61f79 Spinner: More refactorings and cleanups, and heavy improvement on the incremental-logic, including a delay of 500ms after the first increment and before continous increments 2010-10-27 16:38:00 +02:00
jzaefferer
48a5977d33 Tooltip: Implementing event delegation support. 2010-10-26 17:07:22 +02:00
Scott González
226aa35e39 Datepicker: Fixed Norwegian locale. Fixes #6086 - Error in "jquery.ui.datepicker-no.js". 2010-10-26 09:17:58 -04:00
Scott González
f4d8ec9159 Autocomplete: Trigger close after hiding the menu. Fixes #6227 - Autocomplete: Don't trigger close event until after the menu is hidden. 2010-10-26 09:05:38 -04:00
jzaefferer
9556eccc0b Tooltip: Update _init to _create 2010-10-26 14:41:14 +02:00
jzaefferer
bd22613af7 Tooltip: Removing application role, should be set on application level 2010-10-26 14:40:48 +02:00
jzaefferer
8b4245ac7e Tooltip: Removing tooltipClass option; use .tooltip("widget").addClass("whatever") instead 2010-10-26 14:32:03 +02:00
Scott González
9ead629c2c Datepicker: Fixed currentText in French locale. Fixes #5455 - Correction in French localization for Datepicker. 2010-10-26 08:24:55 -04:00
sixhead
482d3c2561 Datepicker: Fixed month name in Thai localization. Fixes #5862 - Datepicker: wrong month name for Thai locale. 2010-10-26 08:18:38 -04:00
jzaefferer
720e9d383c Slider: Cleanup public methods 2010-10-26 12:56:40 +02:00
jzaefferer
30d431b08a Slider: Improve destroy method 2010-10-26 12:53:34 +02:00
jzaefferer
f667bb3c8d Slider: Some more refactoring and cleanup 2010-10-26 12:44:32 +02:00
jzaefferer
2df094527e Spinner: Changed default for numberformat to null. Fixed disabled option to not prevent changing value via step and page methods. OVerhauled testsuite. 2010-10-26 12:14:45 +02:00
jzaefferer
e442dd3528 Slider: Simplifying mousewheel binding, remove Opera workaround 2010-10-26 10:54:28 +02:00
jzaefferer
8da1a75177 Spiner: Tune mousewheel spinning 2010-10-26 10:36:46 +02:00
jzaefferer
0e7bef4401 Slider: Removing dir option. Implementation caused more damage then being useful - will eventually implement RTL support in all widgets. 2010-10-25 18:10:07 +02:00
jzaefferer
44ca830ee8 Slider: More codecleanup. Inlining defaults for min/max, removing page (use 10*step instead), removing mouseWheel (just use when available) 2010-10-25 18:06:26 +02:00
jzaefferer
299d5c88b8 Spinner: Fix value option initalization 2010-10-25 17:32:08 +02:00
Scott González
5c67ed26e8 Autocomplete: Always reset this.term after a select event, even if the select is cancelled. Fixes #6221 - Autocomplete: Doesn't reset after Select when textbox cleared, if same letters typed in rapidly; source function not triggered in that case. 2010-10-25 10:01:43 -04:00
jzaefferer
1be2a79076 Spinner: More cleanup 2010-10-24 15:57:58 +02:00
jzaefferer
02d8f914b6 Spinner: Some code and test cleanup 2010-10-24 15:52:26 +02:00
jzaefferer
eebf8c31ff Using button widget for the spinner buttons. Can still use some improvements, dropping custom theme stuff in favor of button styles. 2010-10-23 02:06:25 +02:00
jzaefferer
bc3d283d2c Replaced hexadecimal demo with decimal demo. Updated that and the currency demo (previously donation) to use globalization plugin with a select for three different cultures (probably more to come). Updated spinner widget to use Globalization when available, replacing all number formatting related options with a single numberformat option. 2010-10-23 01:51:12 +02:00
Scott González
a0847f3a08 Revert "Position: Handle sub-pixel offsets better in Firefox. Fixes #6000 - Position: Sometimes positioning is off by 1px in Firefox."
This reverts commit 32264f7ad1.
2010-10-22 15:25:12 -04:00
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