Commit Graph

1297 Commits

Author SHA1 Message Date
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   with   for xhtml compliance (fixes #4970 -XHTML Compliance :   should be  ) 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