Commit Graph

1362 Commits

Author SHA1 Message Date
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   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
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