Commit Graph

1362 Commits

Author SHA1 Message Date
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
Paul Bakaus
3d4bc637e9 core: the propagation for the mousedown has to be stopped in the mouse logic, otherwise causes much pain for nested widgets (fixes #3910) 2009-01-23 12:52:41 +00:00
Klaus Hartl
860203deb2 Tabs: always hide added panels, fixes #3875 2009-01-22 21:48:39 +00:00
Paul Bakaus
f6dd7b0ddf resizable:
- knobHandles and default themes + theme detection removed (fixes #3906)
- partial refactor
2009-01-22 14:53:53 +00:00
Richard Worth
1b891501f2 whitespace 2009-01-22 13:10:18 +00:00
Richard Worth
6b80dc29c8 Merged remove-spaces target (ui/build.xml) into new whitespace target (build/build.xml). Deleted ui/build.xml 2009-01-22 13:09:18 +00:00
Richard Worth
4176d55bfb accordion: fixed always open regression introduced by r1715 2009-01-22 02:43:16 +00:00
Klaus Hartl
4af30fece3 UI Tabs: fixed broken animations and the frequently reported "jumpyness", fixes #3872 2009-01-21 21:05:07 +00:00
Jörn Zaefferer
aef6c2e6b3 accordion: fix for #3896 2009-01-21 13:37:20 +00:00
Scott González
f80d9eb465 Core: Partial fix for #3559: Proper implementation for :focusable and :tabbable selectors. 2009-01-21 03:25:02 +00:00
Eduardo Lundgren
debb342662 Fixed #3733 2009-01-21 03:07:58 +00:00
Scott González
a034903233 Dialog: Don't override title option on init. 2009-01-20 21:57:00 +00:00
Paul Bakaus
1805e7827f sortable: connectWith should accept string selectors (fixes #3892, backward compatibility still existant) 2009-01-20 16:34:21 +00:00
Paul Bakaus
19aef25f79 sortable: fixed missing placeholder default (fixes #3889) 2009-01-20 16:20:44 +00:00
Paul Bakaus
ec19293915 sortable: fixed missing handle default (fixes #3889) 2009-01-20 16:10:43 +00:00
Paul Bakaus
22d67dd458 sortable: fixed missing connectWith default (fixes #3888) 2009-01-20 16:05:09 +00:00
Paul Bakaus
41ff7ea35e sortable: renamed 'default' tolerance to 'intersect' (it's a advanced intersection, after all), fixes #3887 2009-01-20 15:39:55 +00:00
Paul Bakaus
813372a7fb accordion: removal of selectedClass option (fixes #3886) 2009-01-20 14:54:32 +00:00
Paul Bakaus
b6bf540c0d accordion: added missing defaults (fixes #3884) 2009-01-20 14:33:19 +00:00
Richard Worth
df2ef4224a Fixed #3766 - slider seems to be missing ui.handle property in options 2009-01-20 13:31:30 +00:00
Paul Bakaus
670d3e0ac9 droppable: defaults should be set to 'false' if disabled, not null (fixes #3881) 2009-01-20 13:10:11 +00:00
Klaus Hartl
3c569353ec UI Tabs: updated TODO to with information for reported bug 2009-01-20 12:57:32 +00:00
Richard Worth
9082cbe095 set svn:eol-style to native 2009-01-20 11:42:07 +00:00
Paul Bakaus
aba53d09fd draggable: defaults should be set to 'false' if disabled, not null (fixes #3878) 2009-01-20 10:06:59 +00:00
Paul Bakaus
bcda57c355 draggable: fixed using Array for containment option (fixes #3877) 2009-01-20 10:01:49 +00:00
Klaus Hartl
59c6f97625 UI Tabs: url containing a fragment identfier broke Ajax tab loading, fixes #3627 2009-01-19 23:11:30 +00:00
Klaus Hartl
8ff7897aa2 UI Tabs: fixed mouseover event option conflicting with default state handling (fixes #3799), cleaned up white space 2009-01-19 20:40:51 +00:00
Paul Bakaus
1a631ae284 draggable: fixed margin inclusion in snap option (fixes #3853) 2009-01-19 15:22:56 +00:00
Paul Bakaus
14e32a2b9f accordion: fixed calling activate with -1 and alwaysOpen: false not properly removing classes (fixes #3785) 2009-01-19 15:08:52 +00:00
Paul Bakaus
e67bf62eea accordion: fixed two small variable issues related to the rewrite 2009-01-19 15:00:14 +00:00
Paul Bakaus
2bf00167cb accordion: partial refactor and cleanup, all proviously outer functions are now part of the widget (no change in logic) 2009-01-19 13:50:51 +00:00
Paul Bakaus
5190908e61 sortable: all callbacks with the exception of the beforeStop callback now fire after everything has been normalized again (placeholder/helper removed, styles restored). (fixes #3864 and multiple user requests) 2009-01-19 12:00:45 +00:00
Paul Bakaus
513f19e60b draggable,sortable: if connectToSortable is used, ui.sender has to be the original draggable (fixes #3856) 2009-01-19 11:34:22 +00:00
Keith Wood
895512190a Fixed #3778 - Unable to select month: numberOfMonths - maxDate - changeMonth combi 2009-01-19 10:45:09 +00:00
Keith Wood
9b11687932 Fixed #3859 - Datepicker can't pick years before 1999 2009-01-19 10:06:49 +00:00
Keith Wood
a91095e60d Fixed #3858 - Datepicker not hiding consistently on external click 2009-01-19 09:59:37 +00:00
Scott González
67fb2c8a68 $.widget: Fixed #3633: Moved call to _init outside of constructor. This makes it possible to invoke callbacks during initialization and have those callbacks use the widget. 2009-01-19 01:30:02 +00:00
Klaus Hartl
941f6feede UI Tabs: fixed incomplete destroy method, fixes #3798 2009-01-18 21:09:31 +00:00
Scott González
f375f053f4 Removed broken utf-8 copyright characters. 2009-01-18 00:04:57 +00:00
Scott González
c2903d5c42 Dialog: Fixed #3688: Don't add the button pane div if there are no buttons. 2009-01-17 21:31:43 +00:00
Scott González
60856ea461 Dialog: Giving the content area and button pane priority over the title bar for which element should gain focus on open. 2009-01-17 21:00:59 +00:00
Scott González
d817e1eda4 Tabs: Fixed #3691: Removed the following options:
- deselectableClass
- disabledClass
- hideClass
- loadingClass
- navClass
- panelClass
- selectedClass
2009-01-17 19:48:42 +00:00
Paul Bakaus
68951ddc11 sortable: $.ui.plugin is not used anymore (fixes #3725)
droppable: ixed activate/deactivate (jq 1.3 related), removed ui.element + ui.options
2009-01-16 20:41:03 +00:00
Eduardo Lundgren
c631ae8d4f Fixed #3723 - Fix the ui.options reference 2009-01-16 18:35:04 +00:00
Chi Cheng
0c87cf400b effects: fix #3857 2009-01-16 16:53:46 +00:00
Paul Bakaus
be932c2e58 droppable: removed all instances of $.ui.plugin, fairly safe here (fixes #3723) 2009-01-16 14:51:56 +00:00
Klaus Hartl
26cdc6d22b UI Tabs: fixed adding Ajax tab to empty list (#2839 jQuery bug tracker) 2009-01-16 07:25:23 +00:00
Eduardo Lundgren
2be6ebf078 Fixed #3058 2009-01-16 05:57:34 +00:00
Eduardo Lundgren
e8b6fa3d75 Fixed #3843 2009-01-16 05:27:20 +00:00
Eduardo Lundgren
0065499e53 Fixed #3842 2009-01-16 05:16:04 +00:00
Eduardo Lundgren
9d3b03d5f7 Fixed #3841 - check for $.isFunction before trigger 2009-01-16 04:27:38 +00:00
Richard Worth
2809d50800 Fixed #3077 (Selectable cannot be selected by click) 2009-01-16 04:06:51 +00:00
Scott González
3887ee7e2a Sortable: Fixed _trigger method. 2009-01-16 02:25:03 +00:00
Eduardo Lundgren
8139c81d1b Revert changes for #3838 for the release 1.6rc5 2009-01-16 02:09:45 +00:00
Eduardo Lundgren
78c4d87d7b Fix for #3838 - Components should use this.widgetName on internally 2009-01-16 00:33:46 +00:00
Scott González
358be8bd46 Draggable: Fixed # 3808: Setting default opacity to null (preserve current opacity). 2009-01-15 23:19:27 +00:00
Scott González
41ed54aaf6 Widget factory: Fixed event triggering (again).
Draggable: To modify the position during drag, you now set ui.position instead of returning new coords.
2009-01-15 19:40:11 +00:00
Keith Wood
3ead714520 Fixed 3805. Greek localisation 2009-01-15 11:25:53 +00:00
Scott González
d422915b8e Draggable: Fixed connectToSortable option. 2009-01-14 02:12:44 +00:00
Scott González
4496146898 Fold: Fixed duration. 2009-01-14 02:06:04 +00:00
Scott González
ee28d263b6 Pulsate: Fixed duration. 2009-01-14 02:00:25 +00:00
Scott González
3741f4ee04 Dialog: Removed Opera-specific dimension code (not needed with jQuery 1.3). 2009-01-14 00:32:12 +00:00
Scott González
8e5cbf6059 Dialog: Fixed #3813: Ensure the content is visible during init. 2009-01-14 00:27:25 +00:00
Scott González
ca44391e5c Draggable: Reverted r1597 - no idea if there are cases that need to be handled that aren't in the test suite. 2009-01-13 02:51:13 +00:00
Scott González
99840f323e Draggable: Removed unnecessary setting of this.positionAbs in _trigger. 2009-01-13 02:13:58 +00:00
Paul Bakaus
3780ee78e7 slider: implemented auto orientation, removed _orientation() in favor of this.orientation, saved some bytes by o=this.options in _init 2009-01-12 13:16:09 +00:00
Paul Bakaus
4b6e3fb12e slider: formatting 2009-01-12 13:02:47 +00:00
Klaus Hartl
ea98580094 UI Tabs: fixed incorrectly named argument in try/catch block 2009-01-10 12:42:30 +00:00
Klaus Hartl
db738053ca UI Tabs: allow initializing an empty list, fixes #3683 2009-01-10 12:35:01 +00:00
Klaus Hartl
c31ae93dc5 UI Tabs: fixed a bunch of problems that were introduced with the new markup, fixes #3734, #3795 2009-01-10 11:53:07 +00:00
Klaus Hartl
422e0666e9 UI Tabs: reviewed code to handle hover/focus states: needs to take disabling into account, namespaced events, to be destroyed 2009-01-10 10:47:28 +00:00
Paul Bakaus
842753690a core: fixed _trigger not modifing the original event with event.result
sortable: use event.result to listen for a return false
2009-01-09 16:52:27 +00:00
Paul Bakaus
de1d540d94 sortable: don't copy content from the original item into the placeholder anymore by default (fixes #3595), check if event still exists in _trigger, fixes issue when you call $(this).sortable('cancel') from within a callback 2009-01-09 15:16:41 +00:00
Scott González
142fddbf85 Widget factory: _trigger will now set event.result if the callback returns a value. The created event is now always run through $.Event to reset isDefaultPrevent(), isPropagationStopped(), isImmediatePropagationStopped(). 2009-01-09 14:28:39 +00:00
Paul Bakaus
a6471b1705 draggable: removed unneeded comment block
sortable: fixed sort callback, merged position fixes from draggables
2009-01-09 14:08:32 +00:00
Richard Worth
3bec130f7b set eol-style to native 2009-01-09 11:47:42 +00:00
Ca-Phun Ung
ebda5578fb datepicker: fixes #3779: added code to detect browser width/height in quirksmode. 2009-01-08 16:03:34 +00:00
Paul Bakaus
c8305ae076 sortable,draggable: fixed order and propagation of events (fixes #3658, #3730 and #3726) 2009-01-08 15:49:20 +00:00
Paul Bakaus
3835247155 draggable: revert 'invalid/valid' now works with dropping on sortables (fixes #3556), beautified demo of connectToSortable demonstrating the reverts on both draggable and sortable 2009-01-08 14:03:34 +00:00
Paul Bakaus
89338159e4 draggable: if cursorAt was used, revert was reverting to the wrong position (fixes #3699) 2009-01-08 13:39:58 +00:00
Paul Bakaus
779523c7b5 draggable: fixed convertPositionTo (fixes #3710) 2009-01-08 13:31:16 +00:00
Paul Bakaus
38a5b20fe7 draggable: re-implemented containment and grid support (fixes #3607) 2009-01-08 12:37:15 +00:00
Paul Bakaus
122786c4b2 draggable: second partial fix for remaining scroll issues (for the special case, subtract scrollLeft/scrollTop already in getParentOffset, so calculations become easier in _generatePosition) 2009-01-08 11:19:48 +00:00
Keith Wood
a1b324cde6 Fixed 3764. Malaysian localisation 2009-01-08 10:20:01 +00:00
Paul Bakaus
51ee179f3d draggable: partial fix for remaining scroll issues (containment, grid broken atm, comes with next commit) 2009-01-08 07:54:40 +00:00
Paul Bakaus
ba75714621 draggable,droppable,sortable: properly implemented cssNamespace option across plugins (selectable & resizable to go, so those options should stay undocumented until all plugins are converted. Fixes #3707) 2009-01-07 17:43:15 +00:00
Paul Bakaus
5eca84265f datepicker: prev/next buttons were bumping in disabled state due to :hover rules in the stylesheet, fixed by adding ui-datepicker-prev/next-hover classes, fixes #3774 2009-01-07 16:55:50 +00:00
Paul Bakaus
f48f615ec0 accordion: all classes added should have a 'ui-' prefix (fixes #3705) 2009-01-07 16:17:12 +00:00
Paul Bakaus
1bdd309013 effects: improved syntax, arguments, fixes #3674 2009-01-07 16:07:23 +00:00
Paul Bakaus
55b09c1a95 explode: classed added to later remove temp elements without creating a scope should have a ui- prefix anyway (fixes #3704) 2009-01-07 15:40:20 +00:00
Paul Bakaus
e62531a627 cancel option should take in account <option> (fixes #3786) 2009-01-07 15:37:02 +00:00
Jörn Zaefferer
3036de5ad6 Fix for #3767 2009-01-06 09:07:15 +00:00
Scott González
7fcf3b9bd8 Datepicker i18n: Fixed #3761: Removed the following values:
closeStatus
prevStatus
prevBigText
prevBigStatus
nextStatus
nextBigText
nextBigStatus
currentStatus
monthStatus
yearStatus
weekHeader
weekStatus
dayStatus
dateStatus
initStatus
2009-01-04 18:11:41 +00:00
Ca-Phun Ung
acbe714b53 datepicker: Fixes regression in #3232 [datepicker position problem in IE 6/7]: added back functionality to detect whether the datepicker displays outside a viewpoint. Additionally if the viewpoint is too small to fit the datepicker it will show in its usual position regardless. I have also added a visual test case for this. 2009-01-04 15:13:01 +00:00
Ca-Phun Ung
6575244c84 datepicker: fixes #3755 [clearText option exists but not used.]: removed clearText and clearStatus from ui.datepicker.js and related i18n files. 2009-01-04 11:07:42 +00:00
Ca-Phun Ung
6fddf7ecf3 datepicker: fixes #3232 [Position Problem in IE 6/7]: re-wrote the _checkOffset function to remove browser detection and compact it to 3 lines. Positioning tested and looks good in FF3, Safari3, Opera 9.61, IE6 & 7. 2009-01-04 09:30:39 +00:00
Richard Worth
27ea38395e ui.core.js: corrected invalid (x)html 2009-01-03 22:46:47 +00:00
Richard Worth
a11c201008 Happy New Year 2009-01-03 21:55:13 +00:00
Scott González
695b3e2c1b Resizable: Partial fix for #3728: Use this._trigger for all events/callbacks. 2009-01-03 15:37:51 +00:00
Scott González
7467ce3ef1 Droppable: Fixed #3727: Use this._trigger for all callbacks/events. 2009-01-03 15:30:23 +00:00
Scott González
81f9d28d60 Draggable: Proper event prefix. 2009-01-03 15:15:22 +00:00
Scott González
311c026798 Dialog: Fixed #3756: Wrong height on every other open. 2009-01-03 14:43:50 +00:00
Scott González
913d6fd35a Dialog: Fixed #3753: Cleaned ui hash in callbacks. 2009-01-03 05:55:13 +00:00
Scott González
bb3328dafd Selectable: Fixed #3752: Cleaned up ui hash in callbacks. 2009-01-03 05:52:26 +00:00
Scott González
7fa669beb0 Selectable: Fixed #3729: Use this._trigger for all callbacks. 2009-01-03 05:48:46 +00:00
Scott González
f65478c620 Draggable: Partial fix for #3726: Using this._trigger() instead of this.element.triggerHandler(). 2009-01-03 05:42:21 +00:00
Scott González
8b9312a064 Dialog: Fixed #3731: Contain dialogs within the document when dragging. 2009-01-03 05:25:48 +00:00
Scott González
b1e7e786ff Core: Cleaned up warnings. 2009-01-03 04:45:12 +00:00
Scott González
ab5bc79168 Core: Changed $.ui.contains to use the same logic as jQuery's internal contains function. 2009-01-03 04:42:23 +00:00
Scott González
ed1b6ded97 Widget factory: Updated ._trigger to use new event system in jQuery 1.3. 2009-01-03 04:38:20 +00:00
Ca-Phun Ung
a166e9b977 datepicker: added a span wrapper to disabled dates for better styling of unselectable days when setting min/max values. 2009-01-02 16:45:35 +00:00
Richard Worth
ee76058e01 Reverted r1461 2009-01-02 13:06:30 +00:00
Scott González
d76df156ce Widget Factory: Fixed #3720: Removed use of extra function in jQuery.trigger. 2009-01-01 16:12:18 +00:00
Richard Worth
bd58675f47 Re-fixed #3709 - Datepicker: clicking on a date causes the browser to follow '#' anchor
This time it works in IE
2009-01-01 12:42:10 +00:00
Richard Worth
1443bea8b9 reverted r1414 as it doesn't work in IE 2009-01-01 12:38:08 +00:00
Scott González
fe7f1af38c Core: Cleaned up whitespace. 2009-01-01 03:10:43 +00:00
Scott González
d9a5b09b00 Core: Changed parameter names for selectors. 2009-01-01 03:07:52 +00:00
Scott González
59de964ad5 Slider: Fixed #3717: Correct event types for callbacks. 2008-12-31 21:27:56 +00:00
Richard Worth
3bffcdffa3 Fixed #3716 - slider: range handles should not be able to cross 2008-12-31 19:55:16 +00:00
Richard Worth
0b9227475c Fixed #3709 - Datepicker: clicking on a date causes the browser to follow '#' anchor 2008-12-31 17:23:10 +00:00
Richard Worth
043fe4f79d Fixed #3712 - Month and year dropdown mis-alignment in datepicker 2008-12-31 17:15:47 +00:00
Scott González
ffbf789d2f Core: Whitespace only. 2008-12-31 16:10:38 +00:00
Scott González
30e4470a2c Widget Factory: Check the target in getData and setData events (jQuery 1.3 supports bubbling for custom events). 2008-12-31 14:28:56 +00:00
Eduardo Lundgren
dbcf65fce9 Remove trailing spaces 2008-12-31 08:22:11 +00:00
Scott González
fff23b36bf Tabs: Added missing semicolon. 2008-12-31 04:58:44 +00:00
Richard Worth
1907c374cf slider: added ui.values in the slide callback for a range 2008-12-31 04:48:12 +00:00
Scott González
19fd2705f9 Core: Fixed data selector so it returns true/false (makes it work with Sizzle). 2008-12-31 04:08:49 +00:00
Scott González
2789fca8af Dialog: Fixed #3713: Set default height to auto and default minHeight to 150. Now applying minHeight to the content div instead of only using it for resizing. 2008-12-31 01:12:43 +00:00
Eduardo Lundgren
5a375537c4 Resizable containment acurrate - Fixed #3714 2008-12-31 00:11:03 +00:00
Paul Bakaus
3b09c17bc7 draggable: made connectToSortable work fine with helper: 'original' (by removing top/left properties at sort end) 2008-12-30 16:34:23 +00:00
Paul Bakaus
76cea24b76 sortable: merged draggable fixes into sortables (r1325,1313) 2008-12-30 15:05:09 +00:00
Paul Bakaus
8bd784a6f3 draggable: containment doesn't respect margins anymore (logical, and fixes 3538) 2008-12-30 15:01:19 +00:00
Paul Bakaus
ee26c404d1 draggable: changed default for scroll option to true 2008-12-30 14:50:53 +00:00
Paul Bakaus
1acc62f942 droppable: missing default for option 'accept' (set to "*" = everything) 2008-12-30 13:14:29 +00:00
Ca-Phun Ung
cd20e99fc8 datepicker: IE6 css fixes for default theme. 2008-12-30 12:14:15 +00:00
Paul Bakaus
c4b7f1f9f0 demos: added opacity, revert and scroll demos
draggable: fixed positioning issue with relative positioned elements relative to the body during scroll
2008-12-30 10:05:51 +00:00
Richard Worth
cc237b31cd Fixed #3708 - Resizable: all classes added should have 'ui-' prefix, 'proxy' should be 'ui-resizable-helper' 2008-12-30 05:38:56 +00:00
Scott González
7596969687 Resizable: Fixed order of default values. 2008-12-29 02:56:18 +00:00
Jörn Zaefferer
7a58030579 accordion: Fixed #3682, setting overflow:auto for fillSpace:true accordions; added demo 2008-12-26 10:18:38 +00:00
Ca-Phun Ung
d1620877db Datepicker - fixes #3695 [multi-datepicker layout issue in IE]: added a better fix - needs refactoring. 2008-12-24 10:06:00 +00:00
Ca-Phun Ung
56e8aad838 Datepicker - fixes #3695 [multi-datepicker layout issue in IE]: IE doesn't seem to like dynamic widths so had no other choice but to hard code some width values (this needs a better fix). 2008-12-23 19:39:28 +00:00
Richard Worth
cca491dc4f slider: removed hover and focus from range as it's not draggable (yet) 2008-12-23 16:06:38 +00:00
Scott González
22ca3849f7 Resizable: Partial fix for supporting jQuery objects in alsoResize.
Dialog: Fixed bug with content resizing.
2008-12-23 14:55:41 +00:00
Paul Bakaus
3283a205c1 fixed alsoResize to also accept vanilla DOM nodes ( fixes #3693 ) 2008-12-23 14:28:47 +00:00
Paul Bakaus
8b956e5389 fixed alsoResize to also accept vanilla DOM nodes ( fixes #3693 ) 2008-12-23 14:24:34 +00:00
Richard Worth
2b21245cd0 progressbar: changed value to have 'ui-widget-header' instead of 'ui-state-default' 2008-12-23 13:27:57 +00:00
Richard Worth
22f25cbb0c merged dev/slider branch (revs 1152-1229) back to trunk 2008-12-23 10:38:12 +00:00
Richard Worth
723782d80c Tabs: Added tab hover and focus support. For #3651 Update markup to new UI CSS Framework specs 2008-12-23 08:00:59 +00:00
Scott González
ba704e3b71 Dialog: Removed unnecessary call to moveToTop in drag start. 2008-12-23 04:40:06 +00:00
Scott González
9dc9f22201 Dialog: Move to top on mousedown instead of mouseup. 2008-12-23 04:38:50 +00:00
Scott González
5e936731bd Dialog: Passing in a DOMElement instead of a jQuery object for alsoResize to avoid resizable bug. 2008-12-23 04:32:44 +00:00
Scott González
62bf1dd3bd Dialog: Setting the correct element for alsoResize. 2008-12-23 04:23:19 +00:00
Ca-Phun Ung
0339770320 Datepicker #3647: Added RTL support to the datepicker theme and reverted markup changes for RTL in r1196 for better semantics. 2008-12-22 20:24:27 +00:00
Ca-Phun Ung
80feca9864 Datepicker #3647: fixed disabled state for inline datepicker so it looks disabled visually and removed the erroneous cover div. 2008-12-22 19:18:15 +00:00
Ca-Phun Ung
3522a23b50 Datepicker #3647: added enable, disable, destroy buttons to visual test. Fixed failing localisation tests. Fixed RTL support and selected day highlighting for keyboard navigation. 2008-12-22 15:47:35 +00:00
Jörn Zaefferer
bc5df7412c accordion: update content div classes to move theme classes to wrapper with seperate content-wrap and content classes 2008-12-22 15:35:03 +00:00
Jörn Zaefferer
02e8e4d298 accordion: fix for #3626, refactoring resize code into its own public method 2008-12-22 14:50:59 +00:00
Jörn Zaefferer
47938b305e accordion: updated to icons: { header, headerSelected } 2008-12-22 14:34:32 +00:00
Klaus Hartl
0fd2e8c91d adopted proposed markup for 1.6, fixes #3651 2008-12-22 11:44:30 +00:00
Scott González
c688dab963 Dialog: Added hover and focus states to all buttons. 2008-12-21 18:00:42 +00:00
Ca-Phun Ung
77d17fc769 Datepicker #3647: Removed date range features, removed related tests, and fixed disabled states for prev, next and day. 2008-12-21 17:20:54 +00:00
Scott González
8fc17c78f7 Dialog: Fixed #3145: Added support for height: 'auto'. 2008-12-21 16:54:27 +00:00
Ca-Phun Ung
0a716a008e Datepicker #3647: fixed RTL support for new UI markup. 2008-12-20 20:20:33 +00:00
Ca-Phun Ung
dcead10e80 Datepicker #3647: removed clickable weekdays. 2008-12-20 17:34:31 +00:00
Ca-Phun Ung
831dcf6f36 Datepicker #3647: Slimed down datepicker by removing all code related to prompt, status and week highlighting. 2008-12-20 17:14:43 +00:00
Ca-Phun Ung
7b1183d307 Datepicker: Fixes #3647: added correct class name to highlight selected day 2008-12-20 16:09:04 +00:00
Ca-Phun Ung
5459f6a5d9 Datepicker: Fixed #3647: Update markup to new UI CSS framework specs 2008-12-19 22:41:31 +00:00
Scott González
5a302934af Dialog: Fixed #3221: User outerWidth/Height for positioning. 2008-12-19 20:34:54 +00:00
Scott González
d83bb9028c Dialog: Fixed #3564: Proper positioning in Opera. 2008-12-19 20:23:57 +00:00
Scott González
03f07556bd Dialog: Fixed #3648: Use new CSS framework.
- Removed .ui-dialog-container div.
- Removed autoResize option.
2008-12-19 03:05:01 +00:00
Scott González
3af7184f03 Dialog: Partial fix for #3648: Added resizable grip. 2008-12-19 02:12:10 +00:00
Scott González
cc22cc0de3 Dialog: Partial fix for #3648: Setting proper class on hover of close button. 2008-12-18 21:59:20 +00:00
Paul Bakaus
b81c873338 sortable: removed default tolerance "guess" for the simplier (and better working) default mode, and the plain "pointer" intersection 2008-12-17 19:35:13 +00:00
Eduardo Lundgren
6b2b98cb3d Sortable accurateIntersection using outerWidth/outerHeight 2008-12-17 19:24:06 +00:00
Jörn Zaefferer
187268ef79 accordion: #3646 update - expose icons as headerIcon and headerIconSelected options 2008-12-14 11:45:24 +00:00
Richard Worth
ff64790b18 Fixed #3655 - $.keyCode should be $.ui.keyCode 2008-12-14 06:11:37 +00:00
Scott González
0c3bd6aff5 Dialog: Fixed #3664: Dialog fails to init on removed elements. 2008-12-13 15:12:34 +00:00
Richard Worth
24f2b7794c corrected some invalid html <div/> to <div></div> 2008-12-13 11:51:33 +00:00
Richard Worth
b731dc5e97 Slider: started on #3650 - Slider: Update markup to new UI CSS Framework specs 2008-12-13 11:49:39 +00:00
Jörn Zaefferer
3244cbff8e Accordion: #3646 - fixed icons 2008-12-12 19:25:34 +00:00
Jörn Zaefferer
28c5c53a09 Accordion: #3646 - add hover classes and unbind on destroy 2008-12-12 19:23:28 +00:00
Jörn Zaefferer
1d357cf4b4 Accordion: Fixed jumpy behaviour (#3646) by wrapping content elements in an additional div 2008-12-12 13:58:41 +00:00
Jörn Zaefferer
ef27211d2d Accordion: Fixed #3646 - Update markup to new UI CSS Framework specs; Added visual test and updated tests to markup changes 2008-12-12 13:20:34 +00:00
Paul Bakaus
a7dae90eff sortable: fixed connectToSortable option, wasn't working with Arrays as described in the documentation 2008-12-11 15:02:21 +00:00
Paul Bakaus
68e700b30b sortable,draggable: fixed issues with _convertPositionTo, missed from latest re-factor, miscalculated the absolute position including scroll 2008-12-11 13:39:15 +00:00
Paul Bakaus
315017ade9 sortable: fixed containment issue (with 'parent', height was miscalculated due to wrong append order) 2008-12-11 11:18:28 +00:00
Scott González
efdc61bd5b Dialog: Remove ui-widget-content class on destroy. 2008-12-11 03:05:02 +00:00
Scott González
a9912abb2a Progressbar: Fixed #3645: Use new CSS framework. 2008-12-11 03:03:13 +00:00
Scott González
f0051caec4 Dialog: Fixed variable re-declaration. 2008-12-11 02:48:20 +00:00
Scott González
713761c876 Dialog: Partial fix for #3648: Use new CSS framework. 2008-12-11 02:45:42 +00:00
Scott González
9eda8e4cb9 Dialog: Fixed #3638: Added closeText option (default 'close'). 2008-12-11 02:25:51 +00:00
Richard Worth
925fbb3df4 effects.core.js: Fixed character encoding so Notepad will stop adding UTF-8 BOM 2008-12-10 13:31:00 +00:00
Richard Worth
3d627f0ea9 Removed names from ui.core.js as all contribution credit is given in AUTHORS.txt and http://ui.jquery.com/about 2008-12-10 13:27:05 +00:00
Richard Worth
3db93ce80f Removed UTF-8 BOM again. Turns out it was added by Notepad. 2008-12-10 13:20:06 +00:00
Richard Worth
c95e3b27a4 progressbar: Removed all progressbar options except value. Added visual test for disabled progressbar. 2008-12-10 05:12:08 +00:00
Richard Worth
38e2135472 core widget: added ui-state-disabled and aria-disabled to widget plugin's disable/enable/destroy 2008-12-10 05:10:37 +00:00
Keith Wood
58871808ac Fixed 3642. firstDay displays day names incorrectly. 2008-12-08 10:27:39 +00:00
Keith Wood
4d43d674f8 Escape text to prevent date info substitution 2008-12-08 10:16:15 +00:00
Keith Wood
b870c1c63f Fixed 3598. Datepicker Japanese translation replacement 2008-12-08 10:12:12 +00:00
Keith Wood
9c3c3489f4 Fixed 3610. Error in French l18n file. 2008-12-08 10:11:26 +00:00
Richard Worth
1d7176aa08 Removed some UTF-8 BOMs causing problems in the download builder versions of files. 2008-12-06 20:51:28 +00:00
Scott González
6e7e808d69 Dialog: Fixed #3637: Added role of button to close link. 2008-12-06 14:58:52 +00:00
Richard Worth
31a11f073d progressbar: a little clean up and some more visual tests 2008-12-05 15:42:46 +00:00
Richard Worth
d55c733e41 progressbar refactor 2008-12-05 13:35:11 +00:00
Paul Bakaus
6c93b4e2f0 sortable: fixed regression that caused wrong offset calculation if the helper option has been set to "original" 2008-12-02 12:47:53 +00:00
Keith Wood
152531d370 Updated Dutch localisation 2008-12-01 10:56:21 +00:00
Eduardo Lundgren
95c6c6dd62 Source formatting 2008-11-28 15:43:32 +00:00
Paul Bakaus
91232f6ed5 sortable:
- merged back all position and scroll fixed from draggables
- renamed accurate to accurateIntersection and set it to true by default
- refactored intersection code (no change in logic)
- added forceHelperSize option (default: false), a forced helper size is also triggered when the generated helper doesn't have any styles set for width/height, so this option won't be needed in most cases
2008-11-25 09:57:41 +00:00
Paul Bakaus
2b92a02170 slider: fixed regression caused by a recent change in the mouse core - since the mouse core doesn't stop mousedown propagation by default now, the mousedown event was triggered twice - once by the bound handle, and once by the actual element. 2008-11-24 17:02:26 +00:00
Paul Bakaus
19a7d6bc5b sortable: Another regex for the innerHTML copying in the placeholder, removes the expando attribute in IE (fixes #3541) 2008-11-24 13:48:50 +00:00
Paul Bakaus
42da86279e core (mouse): preventDefault in most cases instead of returning false, that blocks all bubbling events (fixed #3552) 2008-11-23 18:00:29 +00:00
Paul Bakaus
a42894b1d7 core: improved logic of $.fn.scrollParent, taking positioning in account
draggable: fixed and updated tests, rewrote positioning core, now passes the test suite completely in FF, IE6, IE7
2008-11-23 17:42:24 +00:00
Eduardo Lundgren
78dfd2607f Resizable: disableSelection using jquery plugin. 2008-11-22 05:49:06 +00:00
Paul Bakaus
0036aaf4b6 draggable: added missing default for zIndex and cursorAt, added missing scroll tests (unfortunately showing big regressions that need to be fixed prior to 1.6) 2008-11-21 19:40:45 +00:00
Eduardo Lundgren
65289463de Sortables: using isOverAxis. 2008-11-21 18:41:57 +00:00
Eduardo Lundgren
6a621b6d0e Core: isOverAxis avoid duplicated method logic. 2008-11-21 18:41:19 +00:00
Eduardo Lundgren
89793957e5 Sortables: Fixed tolerance guess. Changed name _intersectsWithEdges to _intersectsWithPointer. 2008-11-21 15:30:15 +00:00
Paul Bakaus
4b2a73e2b2 draggable: the snap events 'release' and 'snap' now both have valid mousemove events attached. 2008-11-21 14:01:44 +00:00
Richard Worth
03d6a64695 accordion: formatting changes - moved some things around for consistency.
_init and destroy at the top. Sorted defaults alphabetically.
2008-11-21 04:58:53 +00:00
Richard Worth
1c97a20d01 tabs: formatting changes - moved some things around for consistency.
_init and destroy at the top. ui last. Sorted defaults alphabetically.
2008-11-21 04:48:06 +00:00
Richard Worth
e98934200f slider: formatting changes - moved some things around for consistency.
_init and destroy at the top, then _mouse methods. plugins, ui last. Sorted defaults alphabetically.
2008-11-21 04:40:23 +00:00
Richard Worth
8ab19f209a dialog: formatting changes 2008-11-21 04:17:19 +00:00
Richard Worth
89a113ba19 progressbar: formatting changes 2008-11-21 04:12:18 +00:00
Richard Worth
64f6baeaf4 selectable: removed toggle method as widget factory provides enable/disable methods. 2008-11-21 04:05:27 +00:00
Richard Worth
47f8e9042f droppable: removed disabled default as it's provided by widget factory 2008-11-21 04:04:36 +00:00
Richard Worth
fb94a4e34e draggable, droppable, resizable, selectable, sortable: formatting changes - moved some things around for consistency.
_init and destroy at the top, then _mouse methods. plugins, ui last. Sorted defaults and plugins alphabetically.
2008-11-21 04:01:33 +00:00
Richard Worth
2192c024e2 New file: AUTHORS.txt instead of having a single contributor's name in each file header. See http://groups.google.com/group/jquery-ui-dev/browse_thread/thread/ca0b1cc9580141b 2008-11-21 02:14:03 +00:00
Eduardo Lundgren
491e5b2f18 Added a build.xml file to help us removing trailing spaces when needed. 2008-11-20 05:51:19 +00:00
Eduardo Lundgren
1a6848de17 Added a build.xml file to help us removing trailing spaces when needed. 2008-11-20 05:18:26 +00:00
Eduardo Lundgren
558218f2aa Source formatting: Removing trailing spaces 2008-11-20 04:10:34 +00:00
Paul Bakaus
352287b7ef core: this fixes the Safari issue that select options can't be selected if the mouse widget is used, since the mousedown returns false which calls preventDefault. Returning true causes text to be selectable in FF/Opera though, so this needs to be Safari only for now. 2008-11-19 15:20:36 +00:00
Paul Bakaus
c3df1b6df6 sortable: removing ui.options caused plugins not to work anymore - fixed all regressions 2008-11-19 15:08:02 +00:00
Paul Bakaus
fbde8766ba resizable: Fixed preserveCursor, if the cursor is overriden in the stylesheet for the axes, it's maintained (fixes #3480) 2008-11-19 14:49:55 +00:00
Paul Bakaus
06e7783c93 slider: defered all parseInt / Math.round calls for values to this._round, implemented option 'round' (bool), that is enabled on default (old behaviour), can be disabled to return floating values (fixes 3489) 2008-11-19 14:38:48 +00:00
Paul Bakaus
2a6a356109 sortable: removed ui.element and ui.options from the UI object, corrected the callback for the items option, now includes event if applicable 2008-11-19 09:54:53 +00:00
Richard Worth
8306e62887 set svn:eol-style to native 2008-11-19 06:09:48 +00:00
Richard Worth
027e4d57b7 Removed spinner from trunk. See /branches/dev/spinner 2008-11-19 02:34:05 +00:00
Richard Worth
29f7dc9a2c Removed all trailing whitespace from .js and .html files 2008-11-18 02:55:25 +00:00
Scott González
ce69e7ced4 Progressbar: Removed text method. 2008-11-18 02:22:30 +00:00
Scott González
291202dabe Various: Fixed #3596: Removed references to jQuery for .noConflict() compatibility. 2008-11-18 01:54:45 +00:00
Scott González
e0dec0bd84 Progressbar: Removed identifier, element, textElement from the ui object in callbacks. 2008-11-17 13:58:53 +00:00
Scott González
d342e1c0ce Progressbar: Removed textClass option. 2008-11-17 13:56:28 +00:00
Scott González
45721d461e Progressbar: Removed references to jQuery for compatibility with .noConflict(). 2008-11-17 01:16:34 +00:00
Scott González
11a81ac980 Progressbar:
Refactored creation of elements on init.
Removed propagate method; using trigger instead.
Fixed appending background text element.
Added $.ui.progressbar.uuid; used for identifier instead of timestamp + random number.
Fixed updating of text to also update the background text.
Removed default for unused addClass option.
2008-11-17 00:21:36 +00:00
Scott González
6fb3ffad36 Core: Fixed #3562: Modify .removeAttr() to work on ARIA properties in FF2. 2008-11-15 04:29:08 +00:00
Keith Wood
94936d813c Fixed 3395, 3512, 3537, 3560, 3566. Problems with daylight saving cutover.
Moved prompt to below controls.
Corrected month/year spacing for multiple months.
2008-11-14 13:28:58 +00:00
Richard Worth
7ea535fa1d fixed #3578 - ALL CODE: e, ui should be changed to event, ui 2008-11-14 03:00:16 +00:00
David Bolter
ed4f58c6d3 refactored keyboard handling to a switch statement for clarity. 2008-11-13 16:24:44 +00:00
David Bolter
976b9b57bb Added accordion keyboard and ARIA support, and tests. Mozilla needs this for website. (partial review: Scott González, fix for 3553) 2008-11-13 15:51:09 +00:00
Eduardo Lundgren
ba34bfdf36 Sortable: remove console.log 2008-11-12 14:50:15 +00:00
Eduardo Lundgren
71ae568116 Sortable: More accuracy improvements. 2008-11-12 04:34:34 +00:00
Eduardo Lundgren
d7707b1fb1 Core and Sortable: $.ui.contains method moved into the core. This method could be util for another components. 2008-11-12 03:57:23 +00:00
Richard Worth
657d31adaa datepicker: added $.ui.datepicker.version 2008-11-12 03:21:37 +00:00
Richard Worth
e1fab2ce61 Fixed failing .slider("destroy") on empty element. "$(this).data("mouse") is undefined" 2008-11-12 02:57:04 +00:00
Richard Worth
79b6eaf13c Moved colorpicker to experimental branch 2008-11-12 01:01:05 +00:00
Eduardo Lundgren
e39dd9595e Core: Change arguments name for isOver* methods. 2008-11-10 16:41:54 +00:00
Paul Bakaus
ffa5f16169 implemented $.fn.scrollParent (candidate for jQuery core, see ticket #3589 in Jquery's trac) 2008-11-10 14:32:25 +00:00
Eduardo Lundgren
3206b611b1 Core: Change comments for the new methods 2008-11-10 06:42:23 +00:00
Eduardo Lundgren
2ab2f3c7e1 Change name of intersect methods to isOverHeight/isOverWidth/isOver. 2008-11-10 06:39:52 +00:00
Eduardo Lundgren
ad0cdb776e Draggable: Avoid conflict with droppable $.ui.intersect. Now using $.ui.intersects. 2008-11-10 05:56:06 +00:00
Eduardo Lundgren
f00347a83a Core: Avoid conflict with droppable $.ui.instersect method. Core changed name to $.ui.intersects. 2008-11-10 05:55:04 +00:00
Eduardo Lundgren
836e71f880 Draggable: Using the new core intersect method on connectToSortable. 2008-11-10 05:18:20 +00:00
Eduardo Lundgren
acf15c4f08 Sortable: Using the new core intersectHeight/intersectWidth methods. 2008-11-10 05:17:12 +00:00
Eduardo Lundgren
91377e4e5c Core: Intersect methods into the core. Determines when element "a" coordinates intersects with element "b". 2008-11-10 05:16:22 +00:00
Eduardo Lundgren
d972cb3ea8 Draggable - calling the new _ui() method from sortables 2008-11-10 03:51:44 +00:00
Richard Worth
542bbbb473 moved magnifier to experimental branch 2008-11-08 22:30:02 +00:00
Richard Worth
c1e8c7f07f droppable: defined some defaults 2008-11-08 21:56:57 +00:00
Keith Wood
f93a6ba677 Fixed 3550. Added Albanian localisation. 2008-11-08 07:51:25 +00:00
Keith Wood
3946038509 Fixed 3547. Initialise alternate field on load for inline datepicker. 2008-11-08 07:34:34 +00:00
Scott González
4addec6ac2 Core: Optimized isVisible() for the case where the element being checked is not visible. 2008-11-08 05:11:54 +00:00
Scott González
fc406b754c Dialog, Progressbar: Combined ARIA attribute settings into one .attr() call. 2008-11-07 13:57:31 +00:00
Scott González
8dc3f8d643 Core: Rewrote isVisible(). New implementation inspired by Remy's :reallyvisible selector. 2008-11-07 13:40:01 +00:00
Keith Wood
e751bf0e53 Correct display of big prev/next links when disabled.
Correct spacing between month and year when non-selectable.
2008-11-07 10:16:34 +00:00
Keith Wood
cee6a3a96f Fixed 3526. Default year if not set from input field. 2008-11-07 10:13:19 +00:00
Keith Wood
eb68aadf3f Fixed 3536. Added Persian localisation 2008-11-07 10:06:47 +00:00
Scott González
16c61e43f4 Core: Moved regex declarations for potential speed increase. 2008-11-07 02:25:52 +00:00
Paul Bakaus
bba3d31e82 draggable: fixed nasty IE related scrolling bug - funny IE includes scroll if you call offset() on <html> 2008-11-06 14:52:25 +00:00
Paul Bakaus
2619fc8073 sortable: returning false in any callback will now call this.cancenl() to cancel the ongoing action 2008-11-06 11:24:34 +00:00
David Bolter
b420cbb3ce Tweaking attr to normalize for FF2 ARIA implementation. Removed ariaRole and ariaState API. (Assist: Scott González, Fixes #3529) 2008-11-05 19:43:21 +00:00
Klaus Hartl
f425cae7c4 UI Tabs: removed equalize extension 2008-11-05 11:02:06 +00:00
Klaus Hartl
7e11903beb UI Tabs: fixed tabs select causing page to jump bug, removed cruft form former history integration which will work differently anyway 2008-11-05 10:59:55 +00:00
Paul Bakaus
e4d0e3e2e3 sortable: removed support for ui.cancel(), must now be called via the sortable() function as method (sortable('cancel')). Now works even if the drag is still ongoing, i.e. the mouse button is still pressed. 2008-11-04 13:34:04 +00:00
Paul Bakaus
5e5116b3d4 sortable: implemented ui.cancel(), a function that can be called to completely cancel the sortable attempt, and revert to the original state (implements #3283, #3402) 2008-11-03 21:41:59 +00:00
Paul Bakaus
1045a83f49 sortable: checked inputs are not unchecked anymore after drag start (fixes #3466) 2008-11-03 14:58:21 +00:00
Paul Bakaus
04688e3eee core: restructured helper functions, made enableSelection/disableSelection jQuery plugins (fixes 3459) 2008-11-03 14:23:13 +00:00
Paul Bakaus
0e16fcf1e8 sortable: all events of the inner nodes of the sortable item were unbound after the sort (this is related to remove() in jQuery, bugfix is not to use remove()), fixes #3488 2008-11-03 13:23:15 +00:00
Paul Bakaus
9be9c9f699 mouse: events and default actions on click are not fired after a drag action has been initiated 2008-11-03 12:44:50 +00:00
Paul Bakaus
77d2c66690 draggable: fixed two missing defaults 2008-11-03 11:24:48 +00:00
Richard Worth
e560194aaa Fixed #3193 - Cannot select scrollbars inside dialog in Opera 9.51 2008-11-01 14:49:38 +00:00
Richard Worth
8ce1db36db resizable: defined defaults 2008-11-01 10:32:01 +00:00
Eduardo Lundgren
be7db1369d Sortable - accurate option added, If you prefer better accuracy and low performance set accurate: true. 2008-10-30 06:57:32 +00:00
David Bolter
b0772dc3d8 added ARIA semantics, and tests.
patch review:scott.gonzalez@gmail.com
(fixes bug #3482)
2008-10-29 16:57:04 +00:00
Eduardo Lundgren
95980d34da Sortable - delta direction improved 2008-10-28 18:05:02 +00:00
Eduardo Lundgren
fe12e22f47 Sortable - Float elements tolerance fixed 2008-10-28 14:44:27 +00:00
Eduardo Lundgren
cd01814a85 Sortable - Prevent mouseCapture while help is reverting 2008-10-28 06:41:11 +00:00
Eduardo Lundgren
f69197bcec Sortable - Checking if helper exists 2008-10-28 06:35:01 +00:00
Eduardo Lundgren
8d11141859 Changing the author name on Resizable 2008-10-28 06:01:01 +00:00
Eduardo Lundgren
429a36fee9 Sortable - Tolerance accuracy sortable improved 2008-10-28 05:44:17 +00:00
Ariel Flesler
fd9ab96caa ui.datepicker: fixing a var being leaked to the global namespace(attrName). 2008-10-22 10:12:45 +00:00
Keith Wood
0767f9a7e6 Fixed 3492. Typo in day name. 2008-10-22 09:22:51 +00:00
Paul Bakaus
c6300693c4 slider: changed order of fired callbacks in moveTo method (fixes #3465) 2008-10-20 07:43:42 +00:00
Richard Worth
829ce5f399 Fixed slider responds to keypresses when disabled 2008-10-17 12:06:16 +00:00
Paul Bakaus
25ad531eb4 sortable: fixed issue with first time append of the placeholder, now also the original classes are appended to the placeholder, with usually should give it the right size 2008-10-17 08:13:14 +00:00
Paul Bakaus
07e39a8d2e core: reverted lazy loading implementation, commited to a future branch 2008-10-15 12:54:40 +00:00
Paul Bakaus
dee5e521ba core: fixed chaining in lazy loading mechanism 2008-10-15 11:36:42 +00:00
Paul Bakaus
fd1e948928 core: implemented experimental async dependency loading 2008-10-15 11:03:49 +00:00
Paul Bakaus
79d25190cd draggable: fixed createHelper method (thanks Nate!) 2008-10-14 10:15:48 +00:00
Paul Bakaus
77f717d830 sortable: fixed toArray method
coverflow: renamed init to _init
2008-10-14 10:00:52 +00:00
Jörn Zaefferer
e24e2aeb7b accordion: reset overflow to original value after animation completed, fixes some layout issues 2008-10-13 15:20:26 +00:00
Richard Worth
8b7f927e4b added some missing draggables defaults 2008-10-08 10:21:28 +00:00
Klaus Hartl
0e9117623e UI Tabs: renamed confusing "unselect" option to "deselectable" 2008-10-08 10:09:55 +00:00
Chi Cheng
ea3b0cdfb2 Spinner:missing semicolon 2008-10-08 02:57:20 +00:00
Ca-Phun Ung
3357c51b18 Spinner: fixed incremental:false issue on mousedown (thanks cloudream) 2008-10-07 10:33:32 +00:00
Ca-Phun Ung
2f8d6547f2 Spinner: add group and point options for improved support for international numeric formats and added test case. 2008-10-06 17:20:57 +00:00
Klaus Hartl
f02dda5ade UI Tabs: fixed removal of inline styles set for a tab panel 2008-10-06 11:41:48 +00:00
Jörn Zaefferer
6ed2e44c24 adding version property to all ui components 2008-10-05 18:32:34 +00:00
Jörn Zaefferer
3897602bb0 adding version property to all ui components 2008-10-05 18:31:44 +00:00
Jörn Zaefferer
923d1ec3bb adding version property to all ui components 2008-10-05 16:29:21 +00:00
Jörn Zaefferer
2c89a2d2c9 accordion: remove selectedClass and generated spans on destroy 2008-10-05 14:05:31 +00:00
Ca-Phun Ung
993bb9adfd Spinner: spinner casing now sets itself a unique id based on the id of the original input textbox. If no id exists in the original then no id is set to the casing. 2008-10-05 10:44:15 +00:00
Keith Wood
2ecec4e2fb Add prev/next big texts 2008-10-05 06:48:22 +00:00
Keith Wood
93f765094c Correct keystroke handled for Mac
Correct date determination - no hours/mins/secs/ms
2008-10-05 06:43:24 +00:00
Keith Wood
75087d9ce4 Factor out class names for day hover and week hover
Call _optionDatepicker from _changeDatepicker
Don't recalculate default date and cell over
2008-10-05 06:41:11 +00:00