Commit Graph

927 Commits

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