Scott González
6754eaa338
Cleaned up transfer effect. Despite the huge diff, I didn't change any logic and barely changed any actual code.
2009-02-17 01:20:50 +00:00
Scott González
49b76873ad
Transfer effect: Use innerWidth/Height instead of outerWidth/Height and then subtracting border. Fixed #4153 - Transfer throws 'Invalid Argument' in IE7 without CSS border property.
2009-02-17 01:07:30 +00:00
Eduardo Lundgren
eb5858f69f
Resizable: Fixed #4147 - Little jump when a resizable is about to reach the coordinate 0 (in x- or y-axis)
2009-02-15 14:51:59 +00:00
Klaus Hartl
26f1b0330f
Tabs: using closest() is shorter
2009-02-14 15:56:44 +00:00
Scott González
f869dab6b0
Mouse: Fixed #4146 : Don't set the flag to prevent click events if mouseup occurs on a diferent element than mousedown (was preventing the next click event from occuring).
2009-02-14 04:27:31 +00:00
Scott González
a7eb669c01
Mouse: Stop immediate propagation of click events. Partial fix for #3177 - click is fired for draggagble elements on mouseUp.
2009-02-14 03:02:38 +00:00
Klaus Hartl
f3feb25712
Tabs: mouseover/focus handling for added tabs, plus test, fixes #4097 as well as focus/blur handling when using keyboard
2009-02-13 23:05:16 +00:00
Paul Bakaus
64b66a4d81
sortable: pageX/pageY already do not include scroll offsets in safari, therefore it does not need to be substracted again ( fixes #4041 )
2009-02-13 13:28:20 +00:00
Paul Bakaus
39d164b95e
draggable: pageX/pageY already do not include scroll offsets in safari, therefore it does not need to be substracted again ( fixes #4142 ) (only if css position is fixed) (removed redundant check)
2009-02-13 13:05:24 +00:00
Paul Bakaus
5030b57801
draggable: pageX/pageY already do not include scroll offsets in safari, therefore it does not need to be substracted again ( fixes #4142 ) (only if css position is fixed)
2009-02-13 12:47:52 +00:00
Paul Bakaus
8623a3e9a5
draggable: pageX/pageY already do not include scroll offsets in safari, therefore it does not need to be substracted again ( fixes #4142 )
2009-02-13 12:42:42 +00:00
Paul Bakaus
e0f3b0ef32
draggable,sortable: if the offset parent is the body, top/left values should always be normalized to 0 ( fixes #4141 - margin on body in safari caused bump)
2009-02-13 12:26:44 +00:00
Scott González
9f93e8db3a
Sortable: Removed sortIndicator option. Fixed #4118 - option sortIndicator is undocumented.
2009-02-13 03:47:53 +00:00
Scott González
a5d5c4f60a
Resizable:
...
- Fixed destroy method.
- Removed preventDefault option (Fixed #4135 - preventDefault should not be an option as there's not use case for false).
2009-02-13 03:36:56 +00:00
Scott González
2916159a08
Dialog: Don't set focus to elements in the titlebar on open. Fixes #4126 - focus on dialog open should be constrained to the contents of the dialog.
...
NOTE: This breaks accessibility in Safari, which doesn't allow setting focus to elements that are not natively tabbable. However, our current stance is that people who require accessibility will not be using Safari specifically for this type of reason.
2009-02-13 03:06:43 +00:00
Scott González
16c0c8f259
Prevent loading core files multiple times. Fixes #4130 - Too much recurson with double include.
2009-02-13 02:25:21 +00:00
Paul Bakaus
8ba40888a5
datepicker: temporary solution for inline click events with noConflict(true), introduces another global called DT_jQuery to deal with the inline events ( fixes #4055 , going to be removed with scheduled rewrite)
2009-02-11 13:40:21 +00:00
Paul Bakaus
8bc04f67e3
progressbar: removed unused variables, some whitespace changes ( fixes #4052 )
2009-02-11 13:04:18 +00:00
Paul Bakaus
7989bf1bee
draggable: fixed numerous issues with over/out logic on connected sortable lists ( fixes #3988 )
2009-02-10 15:05:01 +00:00
Paul Bakaus
51c338b9ed
all: fixed jslint warnings
2009-02-10 13:11:34 +00:00
Paul Bakaus
2e0f967680
sortable: if current item was removed by user, it was reappended by the clearing logic ( fixes #4088 )
2009-02-10 10:07:25 +00:00
Paul Bakaus
4e61b952f3
core: prevent calling plugins if the node doesn't exist in DOM anymore (has been removed by the user) ( fixes #4087 )
2009-02-10 09:14:59 +00:00
Paul Bakaus
8ccbc0ac55
accordion: chaining breaks if value in height() is negative ( fixes #4102 )
2009-02-10 08:59:24 +00:00
Richard Worth
fddd2c3965
slider: fixed failing visual test: slider_in_container_with_scrollbars
2009-02-10 03:48:21 +00:00
Richard Worth
176b2d21cd
dialog: added some missing defaults
2009-02-09 11:15:23 +00:00
Eduardo Lundgren
e1320a794c
Resizable: Fixed #4099 - Copy .data("resizable") to the wrapper element
2009-02-09 04:36:43 +00:00
Eduardo Lundgren
e49aa9a3d7
Resizable: Fixed #4090 - proportionallyResize option should be removed (made internal)
2009-02-09 04:33:50 +00:00
Eduardo Lundgren
43de7e0e50
Resizable: Fixed #4092 - preserveCursor option should be removed
2009-02-09 03:59:16 +00:00
Eduardo Lundgren
78e8a1b789
Resizable: Fixed #4098 - Remove transparent option
2009-02-09 03:56:02 +00:00
Scott González
0413807dfb
Dialog: Don't allow the height of the content area to be negative.
2009-02-09 02:32:43 +00:00
Scott González
615127e8c5
Resizable: Fixed #4093 : Removed disableSelection option.
2009-02-09 01:36:51 +00:00
Richard Worth
e4c5712974
Removed unused code obsoleted by #3906 and r1754
2009-02-08 00:55:16 +00:00
Richard Worth
8a12510ca1
droppable: defaults - alpha order
2009-02-07 18:28:29 +00:00
Scott González
86a26f17ff
Dialog: Fixed #4086 : Allow changing the dialogClass option after init.
2009-02-07 14:28:14 +00:00
Klaus Hartl
915a3a4117
Tabs: cleanup - no longer supports tabifying via list element, must use container
2009-02-05 19:58:38 +00:00
Klaus Hartl
fbc6ff5f81
Tabs: fixed bug related to setting selected via data method, cleaned up mess in tests
2009-02-05 19:36:31 +00:00
Klaus Hartl
78adee126c
Tabs: removed useless array joins, consistent usage of "ui-tabs-selected" class
2009-02-05 19:11:12 +00:00
Klaus Hartl
8aee174cdb
Tabs: Added tests for select method while at the same time implemented consistent handling of possible values to pass, addresses #4051
2009-02-05 19:02:47 +00:00
Scott González
dd3636c97a
Dialog: Removed shadow option due to introducing too many bugs. ( Reopens #3681 ).
2009-02-05 14:30:59 +00:00
Richard Worth
5a6e2bdbb6
Fixed 4062 - slider: vertical slider handle jumps up when you click on it
2009-02-05 06:01:10 +00:00
Richard Worth
93fbdd41b3
Fixed #3804 (Multiple Slider Focus Issues)
2009-02-05 05:25:12 +00:00
Richard Worth
65172cdeb2
accordion defaults in alpha order
2009-02-05 04:34:38 +00:00
Scott González
fc9ebfb3f4
Draggable/Sortable: Partial fix for #4009 : Fixed ui hash for sortable activate/deactivate callback when receiving a draggable.
2009-02-05 04:21:21 +00:00
Scott González
2f2342caeb
Draggable/Sortable: Partial fix for #4009 : Fixed ui hash for sortable receive callback when receiving a draggable.
2009-02-05 04:12:23 +00:00
Scott González
0c8eed67f5
Draggable: Removed ridiculousness (some of it anyway).
2009-02-05 03:44:08 +00:00
Scott González
57f0188239
Mouse: Fixed #4061 : Prevent errors when manually triggering mousedown events on elements that use $.ui.mouse (event.originalEvent isn't defined).
2009-02-05 02:33:21 +00:00
Paul Bakaus
27a7442a37
effect core: speed wasn't detected in all situations ( fixes #4057 )
2009-02-05 01:39:58 +00:00
Klaus Hartl
b81731dd76
Tabs: fixed duration for show animation - setting wasn't considered
2009-02-04 20:46:54 +00:00
Richard Worth
08a75c4991
Fixed #4050 (Dialog: undefined class being added to ui-dialog element)
2009-02-03 04:20:42 +00:00
Richard Worth
8bc22ea6f3
draggable: missed internal use of ui.absolutePosition
2009-02-03 03:02:30 +00:00
Richard Worth
4b3b9d8fb0
sortable defaults
2009-02-03 02:23:07 +00:00
Richard Worth
87796aff53
Fixed #4038 (sortable: cssNamespace option should be removed)
2009-02-03 02:18:12 +00:00
Richard Worth
b534fcccb9
sortable: changed sortable option cursor default value to 'auto' instead of 'default'
2009-02-03 01:22:34 +00:00
Richard Worth
d5f41446dd
sortable defaults
2009-02-03 01:20:55 +00:00
Klaus Hartl
24c51e5a95
Tabs: introduced "collapsible" option while deprecating "deselectable", fixes #4029
2009-02-02 20:15:06 +00:00
Jörn Zaefferer
bf16dc1853
accordion: use synced animations only when animating two elements; optimize for only-one
2009-02-02 14:02:20 +00:00
Richard Worth
4ad531044e
Fixed #4037 (droppable: cssNamespace option should be removed, addClasses option added)
2009-02-02 07:18:27 +00:00
Richard Worth
c5df36e277
Fixed #4036 (draggable: cssNamespace option should be removed, addClasses option added)
2009-02-02 06:45:50 +00:00
Scott González
3051eca215
Slider:
...
- Fixed #4016 : Vertical slider was unusable when the thumb was at the min value.
- Fixed #3736 for real: Vertical slider was unusable when using a range and both thumbs were at the min value.
2009-02-02 03:07:54 +00:00
Scott González
94c16d6378
Accordion: Fixed #3969 : Deprecated alwaysOpen for collapsible option; fixed demos, tests, and using alwaysOpen on init.
2009-02-02 02:29:31 +00:00
Paul Bakaus
43ebec6576
accordion: deprecated alwaysOpen option, introduced collapsible option (invert value) ( fixes #3969 )
2009-02-02 02:11:32 +00:00
Klaus Hartl
c8360e619b
Tabs: Fixed IE bug which would mistake tabs as ajax with dynamically created HTML, fixes #4033
2009-02-01 21:09:02 +00:00
Ca-Phun Ung
1866e1382f
datepicker: #4032 - Incorrect layout in multiple month rows. I noticed the static tests were recently updated with a row-break so I have added the row-break fix for now so it will be ready for the release. We should seriously consider inline-block.
2009-02-01 05:50:12 +00:00
Scott González
ce0daae232
Draggable: Fixed #3980 : Don't allow connecting to disabled sortables.
2009-02-01 04:37:19 +00:00
Scott González
938a95e8dc
Accordion: Added focus state to headers.
2009-02-01 02:11:06 +00:00
Richard Worth
52eb7d14aa
draggable: changed option cursor default to 'auto' instead of 'default'
2009-02-01 02:00:38 +00:00
Scott González
8c4989914b
Dialog: Fixed #4015 : Set z-index on shadow when the dialog opens.
2009-02-01 01:29:58 +00:00
Scott González
b642b98619
Sortable: Added defaults for cursor, cursorAt, opacity.
2009-02-01 01:02:34 +00:00
Scott González
39f80ebc66
Sortable: Fixed #4017 : Revert opacity after sort.
2009-02-01 00:55:34 +00:00
Scott González
34a5af8779
Sortable: Fixed #3979 : Fixed using a string for connectWith option.
2009-01-31 16:54:06 +00:00
Jörn Zaefferer
bae4a16d61
accordion: another partial fix for #4011 , fixes tests/visual/accordion/width.html in FF, IE still buggy
2009-01-31 16:52:52 +00:00
Ca-Phun Ung
658a0f7f40
datepicker: #4003 - Inline datepicker and button panel.
2009-01-31 10:40:55 +00:00
Richard Worth
9f382c5814
dialog: changed shadow default to false. Not quite ready to be on by default. Maybe in 1.next.
2009-01-31 05:47:58 +00:00
Scott González
171c7c0671
Dialog: Shadow cleanup.
...
- Don't hide shadow during drag/resize in IE6 (let the user do this one their own).
- Let users modify the shadow option after init.
.parents('.ui-dialog')
.bind('dragstart resizestart', function() {
$(this).find('.ui-dialog-content').dialog('option', 'shadow', false);
})
.bind('dragstop resizestop', function() {
$(this).find('.ui-dialog-content').dialog('option', 'shadow', true);
});
2009-01-31 04:33:36 +00:00
Scott González
6695e5ac7f
Accordion: Partial fix for #4011 : Smooth(er) animations with autoHeight: false.
...
Removed some browser snifing.
Added support for non-px units.
2009-01-31 02:55:56 +00:00
Richard Worth
39dac81b24
Fixed #4008 (Sortable events are improperly named)
2009-01-31 02:36:47 +00:00
Klaus Hartl
0ad6bff312
Tabs: reviewed and simplified just a bit
2009-01-31 01:16:59 +00:00
Klaus Hartl
195838c443
Tabs: simplified tests a bit, found bug by that - fixed as well as two other unreported bugs
2009-01-31 00:45:14 +00:00
Jörn Zaefferer
a1e9c63911
accordion: partial fix for #4011
2009-01-30 21:40:34 +00:00
Jörn Zaefferer
5484aad005
accordion: added ul-visual-test; improved solution for fixing ul-accordions, no more potential scope issues
2009-01-30 20:42:03 +00:00
Jörn Zaefferer
cc62471b4f
accordion: fix for the previous commit; event triggering still somewhat crippled, a few tests failing
2009-01-30 16:49:40 +00:00
Jörn Zaefferer
00b0b3661f
accordion: better default for header-option
2009-01-30 16:10:00 +00:00
Richard Worth
55953d650a
effects core: fixed undefined options error
2009-01-30 05:46:46 +00:00
Richard Worth
c36da07ca6
draggable: fixed 'o is not defined' exception
2009-01-30 05:17:48 +00:00
Scott González
256ea0670a
Resizable: Fixed defaults in tests.
2009-01-30 04:53:30 +00:00
Scott González
967d6595a6
Accordion: Fixed destroy method with new markup.
2009-01-30 03:27:44 +00:00
Scott González
18b42f45d5
Accordion: only animate height and padding.
2009-01-30 03:09:10 +00:00
Scott González
2c1d4675a8
Accordion: Fixed #3788 : Removed wrapper divs and smoothed animations, allowing accordions to work with dl's and ul's again.
2009-01-30 02:35:37 +00:00
Paul Bakaus
3b92895a7e
draggable: connectToSortable couldn't accept strings ( fixes #3984 )
2009-01-29 18:36:55 +00:00
Paul Bakaus
04c063e5b7
sortable: containment option now respects the padding ( fixes #3958 )
2009-01-29 15:25:02 +00:00
Paul Bakaus
b3ab79b859
draggable: containment option now respects the padding ( fixes #3957 )
2009-01-29 15:22:43 +00:00
Paul Bakaus
bcee037715
slider: fixed orientation detection
2009-01-29 15:13:47 +00:00
Paul Bakaus
814fbbe747
dialog: all triggered custom events should have related events attached if possible (fixes #3718,#3983)
2009-01-29 14:08:33 +00:00
Paul Bakaus
c2d272259f
effects: fixed various problems with order of callbacks (i.e. show('drop', 500) wasn't working) (additionally fixes #3912 )
2009-01-29 13:34:58 +00:00
Paul Bakaus
669bdb333a
draggable,droppable,sortable: deprecated ui.absolutePosition, changed to ui.offset (fixes #3978,#3977,#3976)
2009-01-29 12:35:38 +00:00
Paul Bakaus
c88df4d3ee
resizable: removed ui.options
2009-01-29 12:33:44 +00:00
Paul Bakaus
717c5f66e8
dialog: shadow is hidden during drag/resize for slow performance browsers (currently IE < 7) ( fixes #3966 )
2009-01-29 10:57:45 +00:00
Scott González
9592848de3
Dialog: Fixed #3901 , #3918 , #3930 : Don't let the minHeight for dialogs be negative (breaks IE).
2009-01-29 04:12:35 +00:00
Paul Bakaus
4bf637bb2c
slider: added better description for workaround for #3726
2009-01-28 23:11:15 +00:00
Paul Bakaus
b2cbdb6ff4
slider: added better description for workaround for #3726
2009-01-28 22:51:35 +00:00
Paul Bakaus
966f6e46dd
slider: animate default should be false
2009-01-28 22:13:44 +00:00
Paul Bakaus
ab32cefef5
slider: animate default should be false
2009-01-28 22:11:33 +00:00
Paul Bakaus
be1b2b023a
slider:
...
- implemented animate method
- slider min/max values could be exceeded using the keyboard (fixes #3737 )
2009-01-28 22:07:46 +00:00
Eduardo Lundgren
a853e4fd17
Fixed #3954
2009-01-28 21:48:51 +00:00
Paul Bakaus
1ad50e24a9
slider: closestHandle never got set when the distance between the handles are the maximum available ( fixes #3948 )
2009-01-28 19:14:38 +00:00
Paul Bakaus
bf6b493c90
slider:
...
- when dragging a handle, the position of the relative click is respected (fixes #3972 )
- when dragging two range handles to 0, the slider was broken because the nearest handle would always be the first. Implemented a workaround. (fixes #3736 )
2009-01-28 19:10:37 +00:00
Richard Worth
ca2f0191da
core: check for event.originalEvent before copying
2009-01-28 09:15:51 +00:00
Ca-Phun Ung
3aeeeeb75a
datepicker: fixes #3863 : fixed vertical position when scroll position is present and added a viewport visual testcase.
2009-01-28 05:11:10 +00:00
Scott González
c9e6d28661
$.widget: Fixed #3965 : Copy properties from original event on to new event in _trigger.
2009-01-28 03:46:35 +00:00
Scott González
cc3064b1f9
Mouse: Fixed #3552 , reverted r1763: Let mouse events propagate.
2009-01-28 01:21:50 +00:00
Paul Bakaus
84a0971aab
draggable: fixed snap
2009-01-27 19:17:28 +00:00
Paul Bakaus
2ef2b87ccb
dialog:
...
- implemented themeroller overlay, removes option overlay (now handled through CSS) (implements #3681 )
- implemented shadow option (boolean), if set to true, adds shadow from css framework (implements #3681 )
2009-01-27 16:53:46 +00:00
Paul Bakaus
24d450b7fe
droppable: 'this' in accept should point to the DOMelement not to a jQuery ( fixes #3955 )
2009-01-27 14:58:05 +00:00
Paul Bakaus
98fc50ab13
accordion: overflow is set to hidden during calculations for fillSpace in IE6 ( fixes #3845 )
2009-01-27 14:38:57 +00:00
Eduardo Lundgren
671caddf94
Resizable: using isNumber on isminw
2009-01-27 06:40:31 +00:00
Eduardo Lundgren
dfef53612c
Fixed #3251
2009-01-27 06:36:42 +00:00
Eduardo Lundgren
7f12279da5
Fixed #3894
2009-01-27 06:22:29 +00:00
Eduardo Lundgren
73cf6e58b5
Resizable documentScroll reference
2009-01-27 06:00:41 +00:00
Eduardo Lundgren
279f6599a4
Fixed #3879
2009-01-27 05:31:57 +00:00
Paul Bakaus
ef0149adba
accordion: navigation option wasn't working ( fixes #3944 )
2009-01-26 12:11:56 +00:00
Klaus Hartl
43efa580dd
Tabs: organized code - public and private (pseudo) methods, added unit test for ui data object
2009-01-26 11:34:28 +00:00
Klaus Hartl
03b1cfe4c4
Tabs: TODO check
2009-01-25 23:52:49 +00:00
Klaus Hartl
0162350192
Tabs: removed Safari 2 workaround, no longer supported
2009-01-25 23:47:40 +00:00
Klaus Hartl
a7c0141875
Tabs: overall fixed selected property for all tabs unselected case (is -1 in such case), added sanity check for selected out of bound, fixes #3936
2009-01-25 23:42:56 +00:00
Paul Bakaus
80dd45b693
accordion: fix for newContent/oldContent in the UI object that was pointing to the workaround wrapper (temporary, until we remove the wrapper completely)
2009-01-25 21:20:15 +00:00
Klaus Hartl
802960fbad
a little cleanup
2009-01-25 19:07:25 +00:00
Klaus Hartl
1ffc579c64
Tabs: removed options from ui object, not required
2009-01-25 18:09:52 +00:00
Klaus Hartl
272854df86
Tabs: rotation handles asynchronous loading/animations, fixes #2651
2009-01-24 17:20:46 +00:00
Richard Worth
d70844ff4e
tabs: removed non-breaking space char
2009-01-24 04:13:03 +00:00
Eduardo Lundgren
16a6bf3dd8
Remove trailing spaces
2009-01-24 01:36:22 +00:00
Klaus Hartl
0be8f4cbfd
Tabs: added ability to define the cookie name, fixes #2393
2009-01-23 20:11:02 +00:00
Paul Bakaus
eb716cf0f1
resizable: removed unneeded isVisible method
2009-01-23 19:28:58 +00:00
Paul Bakaus
f3eb832ed5
draggable: draggable should not scroll when constrained in one axis ( fixes #3868 )
2009-01-23 13:10:17 +00:00
Paul Bakaus
df6ac9c193
draggable: removed ui.options ( fixes #3917 )
2009-01-23 13:04:08 +00:00
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