Commit Graph

2646 Commits

Author SHA1 Message Date
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
Jörn Zaefferer
2bfbe85ba0 Moving autocomplete from trunk to 1.7 branch 2008-10-05 00:57:59 +00:00
Klaus Hartl
37f65f1947 UI Tabs: unselect class was attached inconsistently 2008-10-04 11:25:28 +00:00
Ca-Phun Ung
c80facd63c Spinner: further refactored number formatter. 3 lines! 2008-10-03 04:08:08 +00:00
Ca-Phun Ung
898c395227 Spinner: fixed IE6 bugs with spinner height for data lists. 2008-10-02 18:49:42 +00:00
Ca-Phun Ung
5958c417f6 Spinner: added thousand separator format to numbers and refactored code. 2008-10-02 18:06:30 +00:00
Klaus Hartl
c2b0afd3e7 UI Tabs: fixed "colon in id bug", wrote more unit tests and refactored stuff afterwards 2008-10-02 14:20:35 +00:00
Richard Worth
de7d22a02e added missing semicolon 2008-10-01 11:52:39 +00:00
Eduardo Lundgren
5b6323d0a3 Accordion: added support for effects.core ease equations 2008-09-30 02:50:23 +00:00
Marc Grabanski
0f58c499be Datepicker: Default date cell shows over-state when nothing is selected, next months do not show over state unless keyboard is activated. 2008-09-29 23:04:12 +00:00
Marc Grabanski
502916f65f Datepicker: Updated Mac keyboard commands 2008-09-29 19:20:25 +00:00
Scott González
c9a8ee531c Dialog: Made moveToTop public. 2008-09-29 13:08:14 +00:00
Marc Grabanski
212a822c48 Datepicker: Added option, "constrainInput" to restrict input text to the current date format. 2008-09-28 21:30:22 +00:00
Scott González
46cdf1377c $.widget: Create namespace if it doesn't already exist. 2008-09-28 17:58:08 +00:00
Marc Grabanski
c1deb3508b Datepicker: Created "option" method, deprecated "change" method. 2008-09-28 16:20:11 +00:00
Scott González
e1f4ea3ed3 Dialog: Removed functionality for copying classes from the main element to the wrapper div. This was used for themes, but this method of theming is no longer encouraged. 2008-09-28 01:17:32 +00:00
Ca-Phun Ung
11e3a32c5c Spinner: reduced mousewheel timer from 500ms to 400ms (thanks cloudream) 2008-09-27 03:36:13 +00:00
Ca-Phun Ung
24afc68d5b Spinner: added a timer to mousewheel interaction which fires a change event when the mousewheel stops spinning.
Added a few missing options to test case.
2008-09-26 07:21:56 +00:00
Ca-Phun Ung
b920e5893a Accordion: fix user-defined style issue when margin is set on expander 2008-09-26 02:31:38 +00:00
Eduardo Lundgren
9246c5117f Draggable cancelHelperRemoval when is not over 2008-09-26 02:29:46 +00:00
Ca-Phun Ung
a23a88a0ca Accordion: fixed jump in accordion when expander div has padding. 2008-09-25 18:50:11 +00:00
Ca-Phun Ung
b5ce43ac6a Spinner: Add change event to dblclick and created a new visual test for all callbacks. timer is now set to 0 after being cleared. 2008-09-23 07:58:29 +00:00
Scott González
6d39f52942 Spinner: Fixed warnings. 2008-09-23 00:57:25 +00:00
Scott González
78a2337faf Core: Reduced size of ARIA methods. 2008-09-23 00:11:26 +00:00
Scott González
dd7511c4f9 Core: Moved ARIA methods up with other jQuery core modifications. 2008-09-22 20:52:48 +00:00
David Bolter
5f9ffb28d3 Accept boolean values for aria state. (Thanks for catch Scott González) 2008-09-22 18:21:38 +00:00
David Bolter
fb3a5d4010 Added ariaRole and ariaState to ui.core with tests.
Added ARIA role and state to ui.dialog
Fixes #3350
(Inspired by jARIA plugin from Chris Hoffman)
2008-09-22 15:47:41 +00:00
Scott González
cd8d1b7654 Core: Marked $.ui.plugin as deprecated. 2008-09-22 12:30:34 +00:00
Ca-Phun Ung
b6ad959811 Spinner: implemented init callback via trigger (thanks Scott González) 2008-09-22 11:22:14 +00:00
Ca-Phun Ung
dcb341e7f8 Spinner: new options: format, items & decimals (r728).
items: accepts a array of objects which will be converted to a list of items by the spinner.

format: printf style formatting of each item - accepts named arguments.
2008-09-20 19:04:01 +00:00
Richard Worth
77cea8f364 set svn:eol-style to native 2008-09-20 17:42:04 +00:00
Ca-Phun Ung
27ba2ff84f Spinner: decimals and stepping now independent (user request) 2008-09-20 14:46:26 +00:00
Scott González
068d2483c9 Core: Added comment about why we use triggerHandler instead of trigger in $.fn.remove. 2008-09-20 13:55:35 +00:00
Scott González
1df15fabb4 Core: Fixed #3457: Removing elements causes instantiated plugins to be destroyed again. 2008-09-20 13:49:13 +00:00
Richard Worth
d48b56a28c Corrected naming and capitalization consistency for Colorpicker and Progressbar 2008-09-20 13:11:01 +00:00
Richard Worth
f94beb7f94 Removed exposure of internal instance in progressbar's ui callback parameter. See #2928 2008-09-20 12:46:45 +00:00
Eduardo Lundgren
2ea4539112 Progressbar - Source formatting 2008-09-20 11:22:54 +00:00
Eduardo Lundgren
c784591d8c Progressbar - Source formatting 2008-09-20 11:11:11 +00:00
Keith Wood
aced92a6b4 Fixed 3266. Datepicker is displayed when using "setDate" and "change" methods 2008-09-20 06:26:38 +00:00
Keith Wood
e51f56714b Fixed 3232 Datepicker position problem in IE 6/7 2008-09-20 06:04:45 +00:00
Eduardo Lundgren
99f8a711de Progressbar - Added suport for animated equations (easeInOutQuint, ...) 2008-09-20 04:22:53 +00:00
Eduardo Lundgren
2f842cedd6 Progressbar duration option fixed 2008-09-20 04:09:27 +00:00
Richard Worth
a522291a7b whitespace: Removed trailing whitespace from non-blank lines 2008-09-20 03:23:42 +00:00
Richard Worth
0bae0870d9 whitespace 2008-09-20 02:43:18 +00:00
Richard Worth
1285c6e763 whitespace 2008-09-20 02:04:48 +00:00
Richard Worth
ae80a91882 removed leading semicolon ; - only effects.core.js and ui.core.js get it 2008-09-20 02:04:10 +00:00
Richard Worth
ca5c0ca9e9 Added newline to end of files 2008-09-20 01:48:18 +00:00
Scott González
14e0450dc7 Dialog: Added an id to the title span (needed for ARIA support). 2008-09-19 18:28:31 +00:00
Scott González
939448c756 Set svn:eol-style to native for new plugins. 2008-09-19 18:00:57 +00:00
Eduardo Lundgren
66a947c0e7 Progressbar .text() added, improvements 2008-09-19 17:21:45 +00:00
Eduardo Lundgren
eb689bb86c Sortables - Avoid inline script execution on every sort 2008-09-19 15:38:50 +00:00
Eduardo Lundgren
5bdcacd1f6 Fixed #3454 - Sortable .createHelper() bug 2008-09-19 15:20:34 +00:00
Scott González
7c2e7965e9 Reverted r695. 2008-09-19 14:20:14 +00:00
Eduardo Lundgren
8d04c3594c Remove Trailing Spaces 2008-09-19 14:08:41 +00:00
Paul Bakaus
faec9388e2 slider: use preventDefault on click event on handle instead of returning false (see #3228) 2008-09-19 09:19:10 +00:00
Paul Bakaus
f9a77723b6 resizable: aspect ratio was switched (width/height ratio was height/width ratio), fixes #3450 2008-09-19 09:13:38 +00:00
Scott González
90d7b7f708 Dialog: Fixed #3087: Added beforeclose callback for dialogs (can prevent closing the dialog by returning false). 2008-09-19 02:07:54 +00:00
Paul Bakaus
7651fb4158 accordion: trigger changestart event when the animation starts (implements 2932) 2008-09-18 10:39:34 +00:00
Paul Bakaus
51e0cdf88d accordion: removed deprecated method fn.activate for 1.6 2008-09-18 10:00:28 +00:00
Paul Bakaus
b73f093894 core: enableSelection/disableSelection now return the chain (implements #3174) 2008-09-18 09:54:04 +00:00
Paul Bakaus
9c0942d14f droppable: $.ui.ddmanager.drop now returns false in case of non-drop, or the actual droppable (instead of true) in the case of a drop.
draggable: implemented patch that allows revert to be a callback, receives one argument which is the droppable (implements #3175)
2008-09-18 09:51:50 +00:00
Paul Bakaus
c40491f187 dragging handle won't fire onunload event anymore (fixes #3228) 2008-09-18 09:30:14 +00:00
Paul Bakaus
73d70bcb67 sortable: default value for forcePlaceholderSize 2008-09-16 13:38:42 +00:00
Paul Bakaus
dd8c1188e9 sortable: Refactored a bunch of stuff, moved over some fixes from draggable 2008-09-16 13:19:30 +00:00
Paul Bakaus
9d8e83845c draggable, resizable, sortable: proper usage of _mouseCapture, fixes interaction issues when many plugins are used on the same element (Fixes #3164) 2008-09-16 13:02:21 +00:00
Paul Bakaus
cef66ee99f sortable: Fixed the floating functional demo, implemented forcePlaceholderSize 2008-09-16 12:40:48 +00:00
Paul Bakaus
fd40ff0fe0 draggable: destroy method now properly removes the class ui-draggable (Fixes 3424) 2008-09-16 10:39:54 +00:00
Paul Bakaus
b08ae847bf core: hasScroll now checks for overflow hidden, since then the users wants scroll to be hidden
draggable: containment respects overflow hidden (fixes #3328)
2008-09-16 10:38:12 +00:00
Paul Bakaus
fe73615204 datepicker: fixed jslint warnings, fixed invalid increment operand (Fixes #3434) 2008-09-16 10:32:08 +00:00
Paul Bakaus
dc31bc2f3e use $.isFunction instead of checking the constructor 2008-09-16 09:03:28 +00:00
Paul Bakaus
aed298125d Setting data.accept now works fine (Fixes #3386) 2008-09-15 20:57:41 +00:00
Paul Bakaus
7ba2beb903 - kickass draggable refactoring - fixes many bugs, many edge case issues
- added many new tests to draggable, especially related to scrolling and helper clone
2008-09-15 20:26:42 +00:00
Scott González
ee30dbbd21 Dialog: Reordered functions. 2008-09-14 14:49:28 +00:00
Scott González
608cab6e3b Dialog: Fixed #3389: Non-draggable dialogs shouldn't instantiate draggables. 2008-09-14 14:48:16 +00:00
Scott González
8bd855a162 Dialog: Fixed #3220: Non-resizable dialogs shouldn't instantiate resizables. 2008-09-14 14:47:06 +00:00
Scott González
7e9dcd21de Dialog: Partial fix for #3327: When opening a dialog, give focus to the first tabbable element inside the dialog. 2008-09-11 23:22:25 +00:00
David Bolter
bb84cbf7fd Fixes #3342, prevents bubbling (and default key behaviour) for slider based key events. 2008-09-11 15:18:33 +00:00
Klaus Hartl
32f4412c2b UI Tabs: fixed cookie name generation which wasn't based on DOM element any longer after change in this.element, update cookie after init/add/destroy (fixes #3015) 2008-09-09 09:28:03 +00:00
Ca-Phun Ung
accc76bc64 Spinner: added an init callback which exposes the addItem method for dynamic population of spinner via an external objects. 2008-09-09 08:23:29 +00:00
Scott González
f500db5d75 Widget factory: Prevent calling non-existent methods. 2008-09-07 20:50:45 +00:00
Keith Wood
41811fb8c3 Fixed 3183 onSelect and onClose have inconsistent signatures 2008-09-07 08:38:09 +00:00
Keith Wood
0db0ffe580 Fixed 3267 Alternate field not updated when using "setDate" 2008-09-07 07:55:02 +00:00
Scott González
eedbd524e2 Dialog: Fixed #3123: Prevent tabbing out of modal dialogs. 2008-09-06 16:50:05 +00:00
Scott González
0b771b43c6 Core: Improved :tabbable selector
- check tabindex >= 0 instead of != -1
  - check anchor tags for href
  - check for hidden input types
  - check styles (display and visibility; self and ancestors)
Added tests for :tabbable selector
2008-09-06 03:44:32 +00:00
Scott González
54eccb6b04 Core: Added :tabbable selector to find elements that participate in the tabbing order. 2008-09-05 03:48:47 +00:00
Scott González
d5bea560de Core: Converted :data selector to a function. 2008-09-05 02:47:18 +00:00
Richard Worth
f6008ca694 Fixed #3284 - Put version numbers inside of individual files. 2008-09-04 22:03:30 +00:00
Jörn Zaefferer
dc92efc6e8 draggable: removing logging 2008-09-03 14:30:40 +00:00
Jörn Zaefferer
6174fef86f draggable: sortable.refreshItems got renamed to _refreshItems 2008-09-03 14:27:51 +00:00
Scott González
d6a247afff Dialog: Fixed #3259: Remove title attribute from dialog elements on init. 2008-09-03 01:49:26 +00:00
Scott González
ccdb99e313 Widget factory: Fixed #3275: Prevent multiple instantiations of the same plugin on a single element. 2008-09-02 23:34:42 +00:00
Paul Bakaus
b95772ef09 sortable: fixed toArray method 2008-09-02 14:30:11 +00:00
Paul Bakaus
ef599c7225 draggable: wrong class when trying to remove iframeFix divs (fixes #3161) 2008-09-01 14:49:28 +00:00
Ca-Phun Ung
9248368f20 Spinner: For DOM based spinners, the height is now calculated based on number of children. 2008-08-30 20:01:23 +00:00
Ca-Phun Ung
66d90af241 spinner: changed data list to support any DOM container not just <ul> 2008-08-30 19:15:08 +00:00
Scott González
7c33681e52 Core: Fixed #3257: Added option method to widget factory. 2008-08-27 02:44:12 +00:00
Scott González
b5b364ebc2 Dialog: Fixed #3253: Don't allow closing modal dialogs on escape if closeOnEscape is set to false. 2008-08-27 00:25:32 +00:00
Chi Cheng
fa14a0a83c Sortable: fix wrong patameter in toArray 2008-08-26 12:29:55 +00:00
Ca-Phun Ung
ea0ce45c97 spinner: Included support for generic objects - currently only supports <ul>. See visual test (#s4) for example usage. Needs more work... 2008-08-26 07:28:14 +00:00
Chi Cheng
ee4334ab22 Accordion: XHTML 2008-08-25 15:58:51 +00:00
Chi Cheng
75bfb681b9 Progressbar: hidden instance in ui(), options._interval->this._interval
Update spinner/progressbar demos
2008-08-25 05:47:48 +00:00
Eduardo Lundgren
339bfaf1b2 Remove label texts, using the background labels 2008-08-24 23:35:26 +00:00
Eduardo Lundgren
9c53dbaf88 Use type button to avoid undesired submits 2008-08-24 23:34:03 +00:00
Eduardo Lundgren
d8dc2ded59 Use type button to avoid undesired submits 2008-08-24 23:33:16 +00:00
Scott González
49691da7ad Spinner: Fixed key code constants. 2008-08-24 19:13:16 +00:00
Chi Cheng
54dc4e2cd4 dialog: $.keyCode 2008-08-24 15:42:03 +00:00
Chi Cheng
293d6bc595 Spinner: use keyCode from ui.core.js 2008-08-24 15:32:22 +00:00
Chi Cheng
ad3fd31b44 JSLint check 2008-08-23 02:38:28 +00:00
Scott González
61300fe053 Core: Fixed reference to jQuery. 2008-08-23 00:25:22 +00:00
Scott González
e0e41d7a5b Core: Fixed #3233: Added constants for key codes. 2008-08-23 00:23:54 +00:00
Ca-Phun Ung
57ed1acc45 spinner: added support for numeric keypad 2008-08-21 15:31:11 +00:00
Keith Wood
c5635d6350 Fixed 3191 NaN causes breakage for relative dates 2008-08-21 09:25:20 +00:00
Keith Wood
426c5e1fc7 Fixed 3238 getDate causes error if datepicker does not exist 2008-08-21 09:23:17 +00:00
Keith Wood
2fd7f5f035 Fixed 3180 Datepicker automatic ID assignment 2008-08-21 09:16:35 +00:00
Keith Wood
5a0431afbc Fixed 3224 Croatian localisation 2008-08-21 09:13:45 +00:00
Keith Wood
187c97bef0 Fixed 3159 Datepicker function to do refresh/redraw
Simplified iso8601Week function
2008-08-21 09:04:44 +00:00
Ca-Phun Ung
68f18e1c2d spinner: fixed rounding error when stepping=0.3 2008-08-19 17:03:59 +00:00
Chi Cheng
c0147da718 Spinner: ui() doesn't return instance 2008-08-19 16:31:42 +00:00
Chi Cheng
bf1d243ce7 Spinner: this.options._decimals -> this._decimals
decimal test
2008-08-19 15:52:35 +00:00
Paul Bakaus
fd1f2e08ed sortable: moved serialize brackets after every key to default value, so configuring it as well using the key option is possible 2008-08-19 09:04:07 +00:00
Ca-Phun Ung
198d809f9b Added enhancements to ui.spinner as seen at http://yelotofu.com/labs/jquery/UI/spinner/spinner.html
Enhancements include:
- removal of all hardcoded styling for better theming capability
- visual test page made more appealing supporting browser zooming
- added utility functions to disable, enable and destroy ui.spinner
- up/down buttons listens to more mouse and keyboard events
- support for decimal and currency format
- ui.spinner now restricts input on keydown
- cleanup occurs when the input textbox loses focus. this seems to be a better approach for future scalability
2008-08-19 07:18:04 +00:00
Chi Cheng
41245e6a7d Spinner:
- handle quick click on div (shortor than 100ms)
- handle dblclick
2008-08-18 11:37:19 +00:00
Chi Cheng
ba5799b68b Slider: internal methods 2008-08-18 02:05:29 +00:00
Chi Cheng
4d2fb82960 slider:internal methods, fixes #3188 2008-08-18 00:07:09 +00:00
Chi Cheng
d5bbbd2a07 internal methods: mouse* 2008-08-17 08:15:49 +00:00
Chi Cheng
6e8832d440 Sortable: prevent exposure of internal methods, fixes #3209 2008-08-17 02:19:14 +00:00
Chi Cheng
dd6a17b434 Internal methods: fixes #3195, #3196, #3200, #3201, #3209 2008-08-17 02:15:55 +00:00
Chi Cheng
8c3be4fdcb resizable: internal methods 2008-08-16 15:37:17 +00:00
Chi Cheng
9e51a72780 Slider: internal methods , fixes #3206 2008-08-16 15:19:01 +00:00
Chi Cheng
20ef7747b1 selectable: internal methods ,fixes #3205 2008-08-16 14:59:20 +00:00
Chi Cheng
d5aa6e4677 tabs:trigger -> _trigger 2008-08-16 14:51:12 +00:00
Chi Cheng
69bbd38444 init -> _init 2008-08-16 14:45:28 +00:00
Scott González
dab4c2b564 Accordion: Fixed #3194: Prevent exposure of internal methods. 2008-08-16 14:19:52 +00:00
Scott González
cdd179d26d Dialog: Fixed #3198: Prevent exposure of internal methods. 2008-08-16 14:13:55 +00:00
Scott González
ac40bf6e3f Core: Updated widget factory to use proper names for internal methods. Part of #3188. 2008-08-16 13:59:31 +00:00
Chi Cheng
91c492a49c tabs: internal methods, fixs #3208 2008-08-16 07:34:55 +00:00
Chi Cheng
c5608784db magnifier: internal methods, fixs #3202 2008-08-16 06:04:59 +00:00
Chi Cheng
d7ca21dbfd progressbar: internal methods, fix #3203 2008-08-16 06:00:46 +00:00
Chi Cheng
d31077469f Spinner: make internal methods internal, fixs #3207
functional demo fix(not associate with internal change)
2008-08-16 05:55:17 +00:00
Scott González
44140343f4 Core: Modified widget factory to prevent access to internal methods through the API (internal methods are any methods preceded by an underscore). Provides framework for #3188. 2008-08-16 00:25:09 +00:00
Klaus Hartl
2675acc088 UI Tabs: update selected property after add/remove, fixes #3065 2008-08-15 14:43:44 +00:00
Paul Bakaus
23167f8a38 sortable: beforeStop should work properly in all cases now 2008-08-15 09:11:21 +00:00
Scott González
d9bb9eb1df Added a namespace to the selectstart event handler in $.ui.disableSelection() so we don't remove other event handlers in $.ui.disableSelection(). 2008-08-15 01:32:57 +00:00
Scott González
4055921531 Core: Moved UI core code below jQuery modification code. 2008-08-15 00:34:18 +00:00
Scott González
900d9119de Core: Shortened data selector implementation and moved down to other core modifications. 2008-08-15 00:31:50 +00:00
Scott González
7f2b0b0db1 Implemented #3187: Added metadata support to the widget factory. 2008-08-15 00:25:50 +00:00
Scott González
b89bb4b160 Dialog: Added isOpen method. 2008-08-12 17:06:25 +00:00
Scott González
8e2a8e7d85 Dialog: Removed fakeEvent method (no longer needed with the trigger method). 2008-08-11 14:27:08 +00:00
Paul Bakaus
3c6607b6b8 -added changes proposed by Filament group to colorpicker 2008-08-11 09:27:27 +00:00
Paul Bakaus
736a4f6074 -removed unneeded comment block in sortables
-added changes proposed by Filament group to colorpicker
2008-08-11 08:56:23 +00:00
Chi Cheng
eec36c91aa draggable: fix snapTolerance option instead of default 2008-08-10 07:58:50 +00:00
Keith Wood
c400d7d68d Add support for mousewheel 2008-08-10 07:28:44 +00:00
Eduardo Lundgren
a3977524f3 Progressbar updates 2008-08-09 23:51:46 +00:00
Eduardo Lundgren
c654cd6ac5 Progressbar updates - using .animate() 2008-08-09 23:06:18 +00:00
Keith Wood
549fcf74ce Fixed 3170 Esperanto localisation 2008-08-08 11:08:13 +00:00
Keith Wood
23d3469355 Fixed 3165 Invalid comparison in _changeDatepicker 2008-08-08 10:38:35 +00:00
Eduardo Lundgren
c0f55a95ac Source formatting 2008-08-08 05:56:57 +00:00
Eduardo Lundgren
b89a0ec293 enableSelection/disableSelection fixed for ie 2008-08-08 05:53:27 +00:00
Marc Grabanski
90c887adca Added slovenian i18n 2008-08-08 02:21:27 +00:00
Chi Cheng
04e8503ff0 Progressbar: XHTML code/reorder defaults 2008-08-07 20:17:02 +00:00
Chi Cheng
69c006c07f Datepicker:The updated and complete version of Datepicker Italian localization.(fixes #3167) 2008-08-07 16:51:43 +00:00
Richard Worth
1fa98fa332 Fixed #3169 - Ctrl-Select should use Cmd key on Mac 2008-08-06 01:47:47 +00:00
Keith Wood
b96618367e Fixed 3146 Inconsistent year/month change notify 2008-08-02 04:05:41 +00:00
Keith Wood
d3b3c59616 Fixed 3116 Incorrect handling of change of range select 2008-08-02 04:02:37 +00:00
Keith Wood
869b6f03b0 Corrected keystrokes for big previous/next
Moved global stayOpen into instances
Use parseInt to convert to numeric
2008-08-02 04:00:32 +00:00
Keith Wood
9c72777a43 Fixed 3137 Translations for new text 2008-08-02 03:52:31 +00:00
Keith Wood
9b8fccfa4a Rename monthAfterYear setting to showMonthAfterYear 2008-07-30 12:22:15 +00:00
Paul Bakaus
b65b5d0873 draggable: fixed regression with convertPositionTo method and scroll offsets 2008-07-30 01:42:42 +00:00
Paul Bakaus
2cd638e4a3 draggable: fixed ugly regression when no overflowed container existed 2008-07-29 02:13:02 +00:00
Paul Bakaus
357a3c38b9 sortable: the outer container is not set to relative anymore, preventing some weird IE bugs 2008-07-29 01:58:21 +00:00
Paul Bakaus
36d96a9e82 draggable: fixed IE scrolling but with overflowing containers and appendTo being used 2008-07-29 01:32:46 +00:00
Paul Bakaus
1bf23b38fd draggable: fixed issue when scroll was set to true, and therefore droppables inside changed their position as well 2008-07-29 00:54:29 +00:00
Paul Bakaus
67b53a582e draggable: fixed overflow calculation in the positioning methods 2008-07-29 00:10:51 +00:00
Paul Bakaus
5bb45e13c6 moved history plugin to 1.7 2008-07-28 21:11:48 +00:00
Paul Bakaus
f2265bf9e6 draggable,droppable: implemented cssNamespace option, if set to false/null, it won't add a class to the element 2008-07-28 21:06:04 +00:00
Paul Bakaus
c2ef2553bc sortable: small fix that causes the scope default not to work correctly 2008-07-28 18:53:29 +00:00
Paul Bakaus
841751a0d5 1.8: initial version of tree component, dependant upon sortables and droppables
1.6: droppables can now operate in a seperate scope, droppables and sortables in the current dragged item are filtered out at start, preventing node hierarchy issues
2008-07-28 18:34:01 +00:00
Keith Wood
609699d9e9 Fixed 2818 Display simultaneously past and current month in datepicker 2008-07-25 10:02:06 +00:00
Keith Wood
7592610d87 Fixed 3111 Localisations for big previous/next steps 2008-07-25 09:59:05 +00:00
Paul Bakaus
112493b8b9 draggable: since revert no longer checks for numbers, introduced a revertDuration option 2008-07-25 08:53:42 +00:00
Keith Wood
a87fa9856a Disable inline datepickers 2008-07-23 10:39:41 +00:00
Keith Wood
323399c7bf Fixed 3105 First week in November day repeat
Fixed 3088 Repeating date in October 2008
2008-07-23 10:35:33 +00:00
Keith Wood
d1083005b4 Fixed 3108 Allow ids with square brackets
Fixed 3113 Allow ids with colon or period
2008-07-23 10:29:15 +00:00
Keith Wood
1f826dc041 Fixed 3111 Add option to allow large previous/next movements 2008-07-23 10:26:22 +00:00
Marc Grabanski
57599ce033 don't need document ready on init 2008-07-20 17:16:09 +00:00
Marc Grabanski
d675c6c510 Datepicker div now appends to the document after the datepicker(); function is called instead of automatically on include. 2008-07-20 17:09:09 +00:00
Paul Bakaus
3ddb7477e2 sortable: fixed a items issue caused the items of the container itself to be doubled if the connected query also match on it. Implemented the option connected (bool), for function serialize to also serialize connected lists. 2008-07-19 15:05:37 +00:00
Keith Wood
5ec53d2c2c Fixed 3084 Arrange order of month and year selectboxes 2008-07-18 09:23:10 +00:00
Keith Wood
e139f6ccaa Fixed 3080 Calls _setDateFromField when inline
Fixed 3082 Arrow keys unnecissarily bound in datepicker
Corrected otherMonth class name
Corrected getDate for ranges
2008-07-18 09:00:04 +00:00
Paul Bakaus
83f858aa28 draggable: implemented more advanced features for the snap option - you can now pass in a object instead of a bolean into "snap", possible keys are the callbacks snap/release (which both receive ui.snapItem) and items (jQuery selector, defaults to :data(draggable)) 2008-07-17 16:13:10 +00:00
Paul Bakaus
db258edf2a draggable: fixed relative position bug (please NEVER check in elem.style just for performance optimizations) 2008-07-17 15:04:42 +00:00
Richard Worth
872c757f40 Added missing ui-selectable-helper class to helper/lasso element 2008-07-16 00:28:25 +00:00
Scott González
6cfb6208ee Magnifier: Partial cleanup. 2008-07-16 00:08:43 +00:00
Scott González
c2ce22addf Magnifier: Partial cleanup. 2008-07-15 02:00:34 +00:00
Scott González
e96c202a35 Magnifier: Partial cleanup. 2008-07-15 01:54:41 +00:00
Scott González
de8a6ea866 Magnifier: Partial cleanup. 2008-07-15 01:32:24 +00:00
Scott González
5750375701 Tabs: Updated to use new trigger() method. 2008-07-14 23:54:16 +00:00
Scott González
86f15f876f Accordion: Updated to use new trigger() method. 2008-07-14 23:41:02 +00:00
David Bolter
e16cb37f2e completes keyboard operation (fixes #3801) 2008-07-14 17:50:43 +00:00
Eduardo Lundgren
0aa54f8dfc Droppable .is(accept) on init() fixed 2008-07-14 15:55:33 +00:00
Paul Bakaus
3b300faa61 draggable: removed adding the class ui-draggable in favor of the new data selector 2008-07-14 14:24:00 +00:00
Paul Bakaus
c54f6ba62e core: added :data selector that matches elements that have data for a given key.
droppable: removed the addition of "ui-droppable" class which greatly improves intialization time for IE6/7 and FF2
2008-07-14 14:21:07 +00:00
Scott González
d28b09a984 Color Picker: Fixed heading and indentation. 2008-07-14 01:26:28 +00:00
Scott González
dad128d84f Dialog: Fixed #3076: Proper sizing of overlays in Opera 9.51. 2008-07-14 00:50:01 +00:00
Jörn Zaefferer
30952e6b3f accordion: fixed incosistent accordionchange event arguments (http://dev.jquery.com/ticket/3111) 2008-07-13 14:42:27 +00:00
Scott González
d1b099907d Dialog: If options.title is empty on init, set it to the title attribute of the dialog element. 2008-07-12 00:16:43 +00:00
Scott González
ac6189fd57 Dialog: Fixed #3013: Force dialog titlebars to have a full line height when no title is provided (after initialization). 2008-07-12 00:14:19 +00:00
Keith Wood
abf37bdccd Add day-of-year to format and parse date routines
Correct status display
2008-07-11 10:55:16 +00:00
Scott González
9b7ab1621d Core: cleaned up $.ui.hasScroll(). 2008-07-11 01:57:19 +00:00
Scott González
bb0cac9cb9 Dialog: Fixed #3013: Force dialog titlebars to have a full line height when no title is provided. 2008-07-11 00:44:33 +00:00
Scott González
c5352d82b5 Dialog: Fixed #3086: Fixed problem with auto margins in IE. 2008-07-11 00:31:24 +00:00
Eduardo Lundgren
184f890e06 Minorl performance improvements at draggable init 2008-07-10 23:47:00 +00:00
Eduardo Lundgren
45bb23e02b Sortable updateOriginalPosition added 2008-07-10 17:09:41 +00:00
Paul Bakaus
979e64bdd2 - moved all default css files into themes/default
- added Colorpicker, heavily modified for UI (thanks Stefan!)
2008-07-10 15:52:18 +00:00
Paul Bakaus
0cf0a105e6 core: trigger() needs to be able to return a value from triggerHandler 2008-07-10 14:56:19 +00:00
David Bolter
0a12681f30 fix for arrow key operation (refs #3801) 2008-07-10 14:28:19 +00:00
Scott González
12cdae02b1 New plugins for 1.6: Fixed headers and indentation. 2008-07-10 02:50:51 +00:00
Scott González
4f412c60ea Dialog: Use new trigger method from the widget factory. 2008-07-10 02:45:49 +00:00
Scott González
d70f4f7620 Widget factory: Added trigger method for triggering callbacks and events. 2008-07-10 02:45:02 +00:00
Eduardo Lundgren
717630f6e0 Sortable math accuracy for tolerance pointer - checking the direction before rearrange 2008-07-10 00:56:29 +00:00
Scott González
dbddf389a2 Dialog: fixed triggered events. 2008-07-10 00:47:25 +00:00
Scott González
3370f9cc33 Dialog: cleanup. 2008-07-09 23:33:34 +00:00
Eduardo Lundgren
d1eaa41e7f Sortable minor intersectWidth maths accuracy 2008-07-09 19:34:11 +00:00
Paul Bakaus
4e06fa6304 - removed 1.6 branch
- changed version in tags/1.5.2 to 1.5.2
- merged trunk with 1.6
2008-07-09 11:09:40 +00:00
Paul Bakaus
cf48fc7ee4 sortable: added forcePointerForContainers option (to have another intersection mode for items, but allow only one container to be activated at the same time), added custom object in options, that holds custom (defined) functions that are called instead of original pieces. Only for advanced developers, currently only supported function: refreshContainers. 2008-07-09 09:03:24 +00:00
Eduardo Lundgren
a8c39c29e2 Resizable - fixed #3074 2008-07-08 17:39:07 +00:00
Keith Wood
cf957b61d5 Fixed 3050 Renamed speed to duration, added support for UI effects animations.
Added standard date formats as attributes of $.datepicker.
Added timestamp metacharacter for date formats.
2008-07-08 09:54:48 +00:00
Keith Wood
41d6873a9f Fixed 3033 First day is Monday 2008-07-08 09:46:23 +00:00
Paul Bakaus
c4a99f521b prevent overriding/changing the actual $.ui.mouse object by extending it - this was evil (i.e. caused draggables to have the mouseCapture method of sortables, and therefore failing to work) 2008-07-07 07:39:12 +00:00
Klaus Hartl
9c6efa220e UI Tabs: added index to ui object passed into event handlers 2008-07-06 15:03:38 +00:00
Klaus Hartl
f89359515d UI Tabs: fixed usage of only an image as tab label 2008-07-06 14:53:40 +00:00
Keith Wood
ec94093f6e Added gotoCurrent setting to show currently selected date instead of today
Fixed positioning for right-to-left languages
2008-07-06 05:31:06 +00:00
Keith Wood
8bbf22585b Refactor to use $.data for instance settings 2008-07-06 05:27:47 +00:00
Paul Bakaus
3c14d55021 dialog: added "focus" callback, whenever a dialog is focussed (moveToTop), implements #2728, fixed a couple jslint warnings 2008-07-04 10:56:29 +00:00
Paul Bakaus
539178291d datepicker: stop propagation on the button triggering the datepicker (fixes #3047) 2008-07-04 10:32:41 +00:00
Paul Bakaus
17b2d9526a slider: animate is a bit smoother now - stops the previous animation 2008-07-03 15:33:20 +00:00
Paul Bakaus
c0710fb6b2 slider: added animate option: can be simply set to true, or to a multiplier that makes the animation longer or shorter (higher = longer, shorter = faster) 2008-07-03 15:31:36 +00:00
Paul Bakaus
871092fc7a slider: removed cursor:default on the a wrapper, allows for better styling, changing the cursor of the slider handle (fixes #2854) 2008-07-03 15:11:53 +00:00
Paul Bakaus
7c5e5d9c5e draggable: revert option now accepts "invalid", "valid" and true as possible options: true always reverts, "invalid" only reverts when not dropped on a possible target, and "valid" does the contrary (implements #2914) 2008-07-03 14:59:10 +00:00
Richard Worth
069fcab637 fixed #3061 - dialog buttons not visible without a theme file 2008-07-03 14:23:28 +00:00
Paul Bakaus
cbda2f35ae droppable: a small performance improvement by not using :visible, and deferring to a simpler syntax of checking for diplay none (fixed bool) 2008-07-03 14:01:24 +00:00
Paul Bakaus
9c2e67cff1 core: use triggerHandler instead of trigger to fire "remove" event - Safari seems to have a native remove event which actually removes DOM elements - very dangerous! (fixes #3037) 2008-07-03 13:35:07 +00:00
Paul Bakaus
ba5d58d41b slider: browser's default outline isn't shown for the created links (fixes #3029) 2008-07-03 13:24:14 +00:00
Paul Bakaus
6aaf1598d2 droppable: a small performance improvement by not using :visible, and deferring to a simpler syntax of checking for diplay none 2008-07-03 13:05:30 +00:00
Richard Worth
6e7572309a Fixed #3059 - cannot select text in dialog content 2008-07-03 01:37:06 +00:00
Eduardo Lundgren
a14c917e8e Dropabble minor performance changes 2008-07-02 17:38:34 +00:00
Aaron Eisenberger
c400e02621 preserve percent values if they are returned in createWrapper 2008-06-30 18:52:57 +00:00
Eduardo Lundgren
10747c3871 Dialog - Update resizable dialgos to use helper instead of proxy 2008-06-30 18:11:10 +00:00
Paul Bakaus
1b8cc84978 sortable: important restructuring in the sort function - callback and droppables/intersection now receive proper position information (also fixes #3022) 2008-06-30 14:08:06 +00:00
Eduardo Lundgren
75b29b66df Sortables performance increased massively - using offsetWidth/offsetHeight to refreshPostions instead of outerWidth/outerHeight 2008-06-30 13:43:09 +00:00
Paul Bakaus
3603a87d7d draggable: ui.absolutePosition, wasn't updated through plugins, fixes #3002 2008-06-30 13:15:00 +00:00
Keith Wood
9a67543cd2 Ensure datepicker is initially hidden 2008-06-30 09:47:46 +00:00
Eduardo Lundgren
e73d019dff Sortable - fixed #3048 2008-06-29 14:34:14 +00:00
Richard Worth
fbdb9f08a9 fixed #3012 - Dialog causing iframe load event to fire in firefox 2 2008-06-28 13:48:01 +00:00
Richard Worth
60312808d0 fixed #3041 - Catalan localization 2008-06-28 02:50:46 +00:00
Eduardo Lundgren
f42d42b61f Avoid IE memory leak on enableSelection, disableSelection methods. 2008-06-27 21:36:14 +00:00
Scott González
b4178f63fc Accordion: Fixed parameters in dispatched events. 2008-06-27 13:12:03 +00:00
Scott González
0c1af7a99a Tabs: Fixed parameters in dispatched events. 2008-06-27 13:07:05 +00:00
Scott González
0f6d7502ca Dialog: Fixed #3032: Calling open on an already open dialog no longer causes problems. 2008-06-26 18:14:41 +00:00
Aaron Eisenberger
f901812169 typo 2008-06-26 16:02:47 +00:00
Aaron Eisenberger
ea87259568 include top,left in restore props until I can figure out a better way to keep positions for relative sizing 2008-06-26 16:01:46 +00:00
Aaron Eisenberger
269801ad84 add scale toggle and size to functional demos + move origin calculations to size 2008-06-26 15:58:38 +00:00
Aaron Eisenberger
1c97a16dd3 fix options clone (#2967) 2008-06-26 14:24:36 +00:00
Aaron Eisenberger
14561e4c5e removing true from outerWidth/outerHeight to solve Safari Issue (fixes #2983 - unresolved bug still exists in dimension) 2008-06-26 13:52:20 +00:00
Aaron Eisenberger
4078d0928d typo in createWrapper (fixes #2974 fixes #2975) 2008-06-26 13:25:29 +00:00
Paul Bakaus
e8b545382e sortable: update callback wass not called everytime (fixes #3028) 2008-06-26 12:43:45 +00:00
Paul Bakaus
6a6829db7f slider: range can now be toggled on-the-fly (fixes #3004) 2008-06-26 11:08:52 +00:00
Paul Bakaus
7818b8c583 fixed #3010 2008-06-26 10:49:47 +00:00
Richard Worth
e42b0f6b8b resizable, selectable, sortable: changed cancel default to ':input' instead of (redundant) ':input,button' 2008-06-26 10:23:38 +00:00
Paul Bakaus
505d88ec28 sortable: update callback wass not called everytime (fixes #3028) 2008-06-26 10:22:11 +00:00
Paul Bakaus
980fbbea51 sortable: fixed serialize issue when a key was specified as option, but no custom expression 2008-06-26 10:00:32 +00:00
Eduardo Lundgren
2b7100d9dd css method - change class id name for generated div 2008-06-26 03:59:55 +00:00
Eduardo Lundgren
70c593f441 alsoResize option bug fixes 2008-06-26 03:25:29 +00:00
Eduardo Lundgren
76f414bc5e Fixed #2996 2008-06-26 03:02:48 +00:00
Eduardo Lundgren
bb640afdef Fixed #2990 2008-06-26 02:57:48 +00:00
Eduardo Lundgren
c5f27fe5eb Fixed #2988 2008-06-26 02:55:12 +00:00
Scott González
bb004614fd Dialog: Fixed stacking problem with modal dialogs. 2008-06-26 01:26:13 +00:00
Scott González
acca0ba85a Fixed #2340: Consistent parameters for dispatched events and callbacks. 2008-06-26 01:05:36 +00:00
Scott González
93c2dfff71 Dialog: Restructured button creation and fixed the problem with not being able to change the buttons after instantiation. 2008-06-26 00:55:24 +00:00
Eduardo Lundgren
fe9c525346 Fix #3026 - Plugins callbacks need to be called first and user callbacks at the end 2008-06-25 14:27:20 +00:00
Paul Bakaus
858627cf4f sortable: extreme performance increase by using setTimeout delegation and local vs. inner scope check in it, tested in FF3, IE6 and IE7, but still experimental 2008-06-25 13:30:22 +00:00
Richard Worth
d28ce126d8 fixed #3026 - resizable resize handler is called too early 2008-06-25 12:03:28 +00:00
Richard Worth
d0c11e932b fixed #3025 - dialog should have an autoResize option; default value: true 2008-06-25 10:01:24 +00:00
Paul Bakaus
b07cac10cd draggable: removed a silly console.log 2008-06-24 15:57:25 +00:00
Paul Bakaus
4f33a5b3b2 sortable: connected lists items are not refreshed until you actually move into the connected list - this improves performance for connected lists 2008-06-24 15:28:12 +00:00
Paul Bakaus
c73ccd5c71 sortable: changed default distance to 1 2008-06-24 14:29:29 +00:00
Aaron Eisenberger
26c84c7e9b fix for clip to better work with images (animates wrapper for images only) 2008-06-24 13:53:19 +00:00
Aaron Eisenberger
ad2a61daaf fix for clip to better work with images (animates wrapper for images only) 2008-06-24 13:44:28 +00:00
Paul Bakaus
d204a02320 draggable: fixed issue when placeholder didn't exist (fixes #3018) 2008-06-24 13:32:17 +00:00
Paul Bakaus
090dbb314b sortable:
- recalculating the offset of the offsetParent on refreshPositions as well (fixes #2951, #2976)
- fixed hierarchal sortable issues because of sortable-item expando not checking the sortable container (also fixes #2976)
2008-06-24 12:51:15 +00:00
Paul Bakaus
a002680ba9 sortable:fixed #3019, stop being fird too early 2008-06-24 11:47:42 +00:00
Jörn Zaefferer
dd584fbe95 accordion: simplified find-header-element code, thanks Ariel 2008-06-22 19:08:35 +00:00
Keith Wood
ca17b9953e Fixed 2038 Split out display date and date value formats 2008-06-21 23:51:34 +00:00
Jörn Zaefferer
2e3b8eac77 accordion: added test for headers with descendants; replaced while-loop to find header-parent with call to parents 2008-06-21 16:16:59 +00:00
Keith Wood
f3d1eadf19 Correct datepicker placement when used in static areas
Correct select coverage in IE 6-
2008-06-20 23:29:02 +00:00
Paul Bakaus
34bb6717b3 slider: check in the destroy method if a handle actually exists or not, before calling removal functions (fixes #2987) 2008-06-19 11:10:41 +00:00
Paul Bakaus
430a0da9f6 sortable: the options.items callback now receives null as first argument, a limited ui object as the second. 2008-06-19 08:00:38 +00:00
Eduardo Lundgren
d2b9d56e24 Dialog - fixed #3017 2008-06-18 17:58:22 +00:00
Scott González
b057a04d5a Draggable: Changed mouse's cancel option from ":input,button" to ":input" (button is redundant). 2008-06-18 14:29:53 +00:00
Richard Worth
de4266422e Fixed #3016 - Distance option default 2008-06-18 11:10:39 +00:00
Keith Wood
9aabd24300 Missed highlightWeek setting default 2008-06-18 09:50:12 +00:00
Eduardo Lundgren
51c9a185e0 dialog - added dragHelper 2008-06-17 20:46:29 +00:00
Eduardo Lundgren
14b93ff7a8 dialog - added resizeHelper 2008-06-17 19:52:42 +00:00
Keith Wood
4c8c324d69 Fixed 2371 Datepicker showing "off page" behaves strangely 2008-06-17 10:11:14 +00:00
Keith Wood
b0257a0e1c Fixed 2641 Week row hover styling 2008-06-17 10:08:57 +00:00
Keith Wood
915d20d43e Fixed 2593 Datepicker using months instead of prev and next 2008-06-17 10:06:18 +00:00
Aaron Eisenberger
30ebfe2db2 use el[0] instead of this for callback 2008-06-16 13:26:08 +00:00
Aaron Eisenberger
8ec7ceea10 clip effect should be animating the wrapper 2008-06-16 13:18:48 +00:00
Keith Wood
5a920d2b48 Fixed #2658 Next link shows > when hideIfNoPrevNext is true
Fixed #2700 Datepicker does not allow manual entry of alphabetic characters
Fixed #2724 Date range + restricting allows invalid range
2008-06-16 12:46:11 +00:00
Paul Bakaus
54adcb9502 sortable; moved the cursorAt and containment blocks after the start callback, allowing the helper to be resized in the start callback (fixes #3000) 2008-06-16 12:19:31 +00:00
Keith Wood
9c1a055880 Allow folding to occur horizontally first 2008-06-16 10:20:41 +00:00
Keith Wood
837699c7e0 Allow relative dates with multiple periods 2008-06-16 09:56:43 +00:00
Keith Wood
b8b2a5acb8 Fix onClose bug for ranges in IE
Fix wrapper span bug in IE
Fix remove attribute bug in IE
Refactor more class names to constants
2008-06-13 13:20:55 +00:00
Paul Bakaus
abdda174f2 tests: initial version of sortable tests/
sortable: added default value for helper ("clone")
2008-06-13 12:42:44 +00:00
Keith Wood
3f73801856 #2876 Fire event on change of month/year 2008-06-12 12:02:36 +00:00
Keith Wood
ad02703d37 Allow setting of cell title via beforeShowDay 2008-06-12 11:59:39 +00:00
Keith Wood
77e8d0f60b Refactor class names as constants 2008-06-12 11:57:21 +00:00
Keith Wood
a3bd7194fb Correct appendText bug in destroy
Tidy if statements
2008-06-11 10:48:17 +00:00
Keith Wood
5d22c5fbf6 Datepicker language file corrections 2008-06-11 10:30:13 +00:00
Scott González
9aeec7f04a Dropped blank line at end of header comments. 2008-06-11 01:36:35 +00:00
Scott González
eecfadd25a core: Added $.widget.defaults. 2008-06-11 01:28:28 +00:00
Eduardo Lundgren
14d3153e65 Resizable fix for this.ui() - Now returns originalElement, element, helper, position, size, options, originalSize, originalPosition 2008-06-10 17:46:33 +00:00
Richard Worth
44aeb0e636 Partial fix for #2538 - still need to add support for options 2008-06-09 12:21:50 +00:00
Richard Worth
976620d151 Added @VERSION 2008-06-09 08:55:06 +00:00
Richard Worth
189c8c6a8b fixed slider 2008-06-09 08:26:24 +00:00
Eduardo Lundgren
711c106314 Fixed draggable bug that affects the droppable critically - $.ui.ddmanager.current could not be null 2008-06-09 06:53:37 +00:00
Richard Worth
ee4bd1a9e8 Removed old rev ids from jQuery svn 2008-06-09 06:26:23 +00:00
Eduardo Lundgren
279b579ba5 Resizable containment bug - fixed #2956 2008-06-09 05:40:21 +00:00
Richard Worth
7a3f5e5a14 dialog - fixed autoOpen false in Safari for disconnected element - .appendTo(body) before .hide() 2008-06-09 03:38:54 +00:00
Paul Bakaus
4b186675af ui-core: added mouseCapture, replacing the condition feature before. Allows text to be selected in sortables on non-handles. 2008-06-09 01:54:28 +00:00
Richard Worth
8105c48065 whitespace only - newline at EOF 2008-06-09 01:31:31 +00:00
Paul Bakaus
fb925eb105 fixed typo 2008-06-08 15:47:27 +00:00
Paul Bakaus
a883e1f0a1 transfer: added optional className option 2008-06-08 15:39:12 +00:00
Paul Bakaus
85d3d34b56 pulsate: correctly pulsates n-times now on show/hide 2008-06-08 15:07:25 +00:00
Paul Bakaus
658307ab8f slider: fixed IE issue when handles where initialized without defined left/top values 2008-06-08 13:23:52 +00:00
Paul Bakaus
593cb1ffef core: cancel checks for type string before it's used
draggable-test: changed cancel: true test: this should cancel on all elements, but simply do nothing, since true is a unsupported value.
2008-06-08 11:00:47 +00:00
Paul Bakaus
8eca969374 core: fixed propagation issue that didn't allow resizables and sortables to work together, because the event didn't bubble out. 2008-06-08 10:20:37 +00:00
Richard Worth
fa7409b28b dialog - fixed context of button callbacks should be DOMElement, not jQuery object 2008-06-08 02:49:54 +00:00
Richard Worth
f6330e9fe8 core widget - added explicit disabled: false option 2008-06-08 00:59:41 +00:00
Richard Worth
e23a0edb70 core widget - fail gracefully if unknown method name supplied 2008-06-08 00:55:44 +00:00
Paul Bakaus
7539a095f6 draggable,sortable: fixed containment "document", added containment: "window" (fixes #2936,#2171) 2008-06-07 23:38:03 +00:00
Paul Bakaus
68d37568e0 draggable, sortable: fixed issue when handle wasn't working with elements nested in the handle (fixes #2937) 2008-06-07 23:25:47 +00:00
Paul Bakaus
47e04b888d draggable: fixed cursorAt issue (#2965) 2008-06-07 22:56:56 +00:00
Richard Worth
9383692025 one more for #2928 - Plugin instances should not be exposed in the ui parameter of callbacks 2008-06-07 19:57:55 +00:00
Richard Worth
c94ffa276b fixed #2928 - Plugin instances should not be exposed in the ui parameter of callbacks 2008-06-07 19:32:51 +00:00
Richard Worth
a635d0a7c9 renamed source -> ui 2008-06-07 17:37:43 +00:00
Richard Worth
3524ef0c26 removed extra level ui folder 2008-06-07 17:35:27 +00:00
Richard Worth
2ac4aa61e5 BEGIN trunk restructure 2008-06-07 17:30:10 +00:00
Richard Worth
eeff28a72f tests draggable - Added some more tests 2008-06-07 17:18:40 +00:00
Paul Bakaus
5414f32e2f datepicker: missing changes from theming 2008-06-07 15:14:48 +00:00
Paul Bakaus
fd8905bcd2 sortable: fixed update calls (fixes #2968) 2008-06-07 14:01:33 +00:00
Richard Worth
4f1c390e29 draggable - Improved handling of unexpected values for axis option 2008-06-07 06:10:52 +00:00
Richard Worth
182404c0c3 tests draggable - Slimmed down tests, grouped, ordered. Added a few 2008-06-07 06:09:04 +00:00
Richard Worth
f94730b2b8 tests - switched slider to use jquery.simulate 2008-06-07 03:12:00 +00:00
Richard Worth
1d5529afde Fixed #2969 - .slider("destroy") throws error - 'this.handle.unwrap("a").mouse is not a function' 2008-06-07 00:47:33 +00:00
Eduardo Lundgren
0a279c243d Added resizable test for wrapped elements 2008-06-06 20:37:32 +00:00
Richard Worth
5e6ef44bb4 effects - added standard UI plugin file headers with copyright, license, docs url, and depends list 2008-06-06 20:08:52 +00:00
Richard Worth
17d55655b9 effects - fixed two (minor) missed renames from 'ec' (enchant) to 'effects' 2008-06-06 19:54:38 +00:00
Richard Worth
4ff130a995 effects - whitespace changes, spaces to tabs, newline at EOF 2008-06-06 19:47:31 +00:00
Richard Worth
42b1860ca7 datepicker: added depends list to header 2008-06-06 19:27:43 +00:00
Eduardo Lundgren
50e2688fcd Fixed $(this).data('resizable') access to wrapped elements 2008-06-06 18:11:45 +00:00
Scott González
59645bd754 Core: Reverted back to r149: Removed wrapper changes. 2008-06-06 11:30:22 +00:00
Richard Worth
01f336e242 Added test for #2965 2008-06-06 06:34:09 +00:00
Richard Worth
5dde75c3e2 simulate - round(floor) the center x and y values 2008-06-06 03:59:57 +00:00
Richard Worth
473de51ff0 made draggable tests more robust by removing hardcoded expect values 2008-06-06 03:58:15 +00:00
Eduardo Lundgren
a18f98e547 2008-06-06 03:30:06 +00:00
Eduardo Lundgren
ebb04981a6 Fix ui.core to create the $(this).data('component') instance on the "ui-wrapper" element, that is the current "this" inside a $.ui.plugin.add. 2008-06-06 03:27:56 +00:00
Richard Worth
9ce9243b83 fixed failing test 11 in IE6 2008-06-06 01:44:32 +00:00
Richard Worth
84a0a116ce fixed failing test 14 in Opera 2008-06-06 01:41:39 +00:00
Richard Worth
4fc409193e fixed failing test 7 in IE 2008-06-06 01:39:23 +00:00
Richard Worth
7e181d93ca reverted back to minimal drag. The other may have depended on some things that got reverted recently, as I wasn't able to make it work. Also, mousemove's should happen on document, not target. 2008-06-05 13:05:28 +00:00
Richard Worth
ecb6ffb426 reverted [150] - tests should be not be changed to match broken results:
* 100 + 50 = 150; 100 + 50 != 149
 * aspectRatio: 'preserve' should not allow 150x130 if original dimensions were 100x100
2008-06-05 12:43:09 +00:00
Scott González
1ddfaa0ab0 Dialog: Removed unneeded parens. 2008-06-05 12:29:38 +00:00
Richard Worth
1d7197f719 removed x, y as they are not browser event options. Use clientX and clientY 2008-06-05 12:16:42 +00:00
Scott González
c8207f4b30 Removed leading semicolons. 2008-06-05 12:14:12 +00:00
Richard Worth
667666fbc6 set a more reasonable default for relatedTarget: undefined for IE, HEMLHtmlElement for other browsers 2008-06-05 12:11:30 +00:00
Richard Worth
b0a72dc575 reverted [158] - IE's default for relatedTarget is undefined, not document 2008-06-05 12:09:18 +00:00
Richard Worth
2dc488c550 reverted [157] there is no IE bug. pageX != clientX, pageY != clientY 2008-06-05 12:08:19 +00:00
Richard Worth
e1c8b08736 removed setting toElement/fromEelement as this is handled by the browser 2008-06-05 11:59:32 +00:00
Richard Worth
c97a452cca Removed case insensitive checks: no method or event names are case insensitive 2008-06-05 11:56:20 +00:00
Paul Bakaus
c43d214ec3 datepicker: changed all forgotten camel cased classes to dash seperated 2008-06-05 07:32:28 +00:00
Paul Bakaus
7a64afb4e3 sortable: fixed issue with dropOnEmpty not working, tolerance "guess" wasn't checked in the intersectsWith container method. 2008-06-05 06:35:16 +00:00
Eduardo Lundgren
a91370e4f5 jquery.simulate - IE won't allow assignment to toElement or fromElement 2008-06-05 00:35:05 +00:00
Eduardo Lundgren
ecca74b11f jquery.simulate fix for 2 pixels IE bug from mousecords 2008-06-05 00:32:40 +00:00
Eduardo Lundgren
6b36d59900 2008-06-05 00:28:22 +00:00
Eduardo Lundgren
cf96164d54 Removed mousemove before synchronous drag loop 2008-06-05 00:23:48 +00:00
Eduardo Lundgren
d039818cc5 2008-06-05 00:14:41 +00:00
Eduardo Lundgren
df312d2d1a Added a TODO comment on triggerAsync() 2008-06-05 00:13:08 +00:00
Eduardo Lundgren
0584aaba8c Updated jquery.simulate to do syncrhonous drag for each pixel - Needed for some tests 2008-06-05 00:03:24 +00:00
Eduardo Lundgren
cc60a11da6 Update Draggable test case for jquery.simulate 2008-06-04 23:59:47 +00:00
Eduardo Lundgren
1b5470af38 Update Resize test case for jquery.simulate 2008-06-04 23:58:41 +00:00
Scott González
6de42c648d Core: fixed broken UTF-8 characters. 2008-06-04 22:07:56 +00:00
Scott González
2b1bd34cef Widget factory: fixed #2981: Graceful handling of method calls on uninitialized plugins. 2008-06-04 22:03:17 +00:00
Paul Bakaus
126d7d925b slider: fixed mouse refactoring issue that caused clicking somewhere on the slider not to fire any callbacks 2008-06-04 21:26:33 +00:00
Scott González
0d01cc3691 Slider: fixed #2552: Disabled should be an option, not a property on the instance. 2008-06-04 19:59:38 +00:00
Scott González
98f42fc802 Core: Exposed the base widget prototype; Adding/removing disabled classes automatically.
Draggable, Droppable, Resizable, Selectable, Sortable: Removed unneeded enable/disable methods.
Dialog: Delegating standard functionality for setData to the widget prototype.
2008-06-04 19:51:59 +00:00
Scott González
f17737b2d4 Mouse: invoke drag immediately on start if the start occurs during mousemove.. 2008-06-04 19:32:33 +00:00
Scott González
2f80c18734 Mouse: trigger start on mouse down if distance 0 and delay 0; changed default distance to 1. 2008-06-04 19:13:18 +00:00
Scott González
b6858b447c Dialog: Fixed modal dialogs so they are always on top of other dialogs when they open. 2008-06-04 17:31:58 +00:00
Richard Worth
0b2be30492 Added simulate "drag" method. Fixed some issues in resizable tests. 2008-06-04 08:47:26 +00:00
Richard Worth
0646f774ad Added jquery.simulate.js as possible refactor of (low-level) parts of userAction and testmouse 2008-06-04 03:41:17 +00:00
Eduardo Lundgren
9047a63049 Modified resizable grid test for #2939 2008-06-04 02:47:06 +00:00
Richard Worth
26c16a7e6f Set svn:eol-style to native 2008-06-04 02:34:33 +00:00
Scott González
9caa12ad65 Dialog: added ability to set the resize handles. 2008-06-04 00:42:17 +00:00
Scott González
b80fb723c5 Dialog: restructured init method. 2008-06-03 23:45:25 +00:00
Eduardo Lundgren
b294b05043 Resizable grid bug on IE - fixed #2939 2008-06-03 20:00:50 +00:00
Eduardo Lundgren
ef18dbbd76 Resizable grid option automated test added 2008-06-03 19:59:41 +00:00
Scott González
29b7b4882f Dialog: added stack option. 2008-06-03 13:03:53 +00:00
Eduardo Lundgren
3237f8e164 Updating version.txt for 1.5rc1 2008-06-02 04:02:41 +00:00
Eduardo Lundgren
08fef24f56 Calculating the correct time on resizable automated test 2008-06-02 03:06:09 +00:00
Eduardo Lundgren
be2b41f706 Removing extra blank line at the end - it break the yui compressor 2008-06-02 03:05:09 +00:00
Scott González
13685f50ee unindentation 2008-06-01 23:36:34 +00:00
Marc Grabanski
6b518a257f datepicker: getDate function now gets date whether or not datepicker is opened (fixes #2832) 2008-06-01 20:30:55 +00:00
Eduardo Lundgren
6f2849fd38 alsoResize IE bug fixes 2008-06-01 20:06:21 +00:00
Marc Grabanski
dce035cc65 datepicker: changed yearRange to be relative to current year instead of selected year (fixes #2627) 2008-06-01 20:04:19 +00:00
Eduardo Lundgren
0a2cc194d5 Image-cropper real-world demo css fixed 2008-06-01 19:44:10 +00:00
Eduardo Lundgren
814e9d6ca0 Updating labels on resizable testcase 2008-06-01 19:24:46 +00:00
Eduardo Lundgren
f9e28552c4 Fix 2 pixels error on mouse coords in IE 2008-06-01 19:19:41 +00:00
Marc Grabanski
169662dc7f Added debug file to recreate any issues. 2008-06-01 18:48:16 +00:00
Marc Grabanski
1c6b62b192 Updated demo files. 2008-06-01 18:28:01 +00:00
Marc Grabanski
1392c6903e Fixed alternate stylesheet. 2008-06-01 18:07:15 +00:00
Marc Grabanski
66263d54f8 Fixed demo bug. 2008-06-01 18:00:02 +00:00
Marc Grabanski
3dfb02bc03 Changed datepicker header and demo paths. 2008-06-01 17:53:28 +00:00
Marc Grabanski
f4f8ba867f Initial commit of datepicker functional demo. 2008-06-01 17:48:33 +00:00
Paul Bakaus
1c2d48f130 sortable: fixed issue when no placeholder is defined, and a issue with the element shown without positioning at drag start 2008-06-01 15:56:49 +00:00
Paul Bakaus
75fdffacb0 resizable: resizable doesn't expose ui.instance anymore 2008-06-01 14:22:24 +00:00
Eduardo Lundgren
985a82c660 userAction fix for top when not defined 2008-06-01 13:52:50 +00:00
Paul Bakaus
737ff7309d 2008-06-01 13:45:06 +00:00
Paul Bakaus
60ae201d2f 2008-06-01 13:24:37 +00:00
Eduardo Lundgren
29e742f4b6 2008-05-31 17:57:50 +00:00
Eduardo Lundgren
85eda5f837 resizable test clean up log div 2008-05-31 17:50:44 +00:00
Eduardo Lundgren
b88e3d7978 2008-05-31 17:48:10 +00:00
Eduardo Lundgren
c2a0d25d80 userAction Performance issues 2008-05-31 17:32:20 +00:00
Aaron Eisenberger
6bd34788b2 fix object linking in options for puff and scale 2008-05-31 17:18:24 +00:00
Eduardo Lundgren
01be5dfefd fix on #main hidden class 2008-05-31 17:08:21 +00:00
Eduardo Lundgren
b1048f4cbd Remove console.log 2008-05-31 16:59:50 +00:00
Eduardo Lundgren
8a1cba91d8 Resize tests respecting ratio resize with dimensions limits 2008-05-31 16:56:09 +00:00
Paul Bakaus
d32917596e effects: modified save mthod so it now only aves css atributes stored in the actual style attribute, fixes highlight 2008-05-31 16:49:00 +00:00
Eduardo Lundgren
c068874890 Make #main test div output hidden 2008-05-31 16:33:26 +00:00
Eduardo Lundgren
8c6334af97 Resizable limit min/max dimensions tests 2008-05-31 16:26:43 +00:00
Eduardo Lundgren
2e7ad670ea Removing class ui-fake-cursor 2008-05-31 15:59:54 +00:00
Eduardo Lundgren
106d24a3a4 Resizable basic tests using userAction 2008-05-31 15:54:53 +00:00
Paul Bakaus
320e7a560d slider: implemented option "noKeyboard" to disable keyboard controls. 2008-05-31 14:34:44 +00:00
Eduardo Lundgren
956656bc2a Starting alpha tests using userAction syncrhonous drag 2008-05-30 23:36:54 +00:00
Eduardo Lundgren
e175417d95 Drag synchronously added option - Let the automated tests being done. 2008-05-30 23:34:46 +00:00
Eduardo Lundgren
10afdcedde More fixes for userAction 2008-05-30 19:18:20 +00:00
Scott González
3d16364e61 Dialog: added dialogClass option (not officially supported right now). 2008-05-30 18:08:39 +00:00
Scott González
c76f3194a1 Resizable: Flipped order of a conditional for performance benefit. 2008-05-30 15:34:21 +00:00
Paul Bakaus
feb96d88fc draggable: more intersect calculation improvements when connected to sortables 2008-05-30 11:48:11 +00:00
Paul Bakaus
5f24485abe draggable: another connectToSortable improvement: the activate/deactivate callbacks are now fired when the draggable starts dragging 2008-05-30 11:30:58 +00:00
Paul Bakaus
5b19d8e723 draggable: fixed issue with connectToSortable, where the helper property was not properly restored later on 2008-05-30 10:07:49 +00:00
Eduardo Lundgren
3c2a4f57af Start simulating tests with userAction combined with Richard's animated cursor 2008-05-30 04:35:54 +00:00
Eduardo Lundgren
c8297ce04b userAction drag method implemented 2008-05-30 04:34:52 +00:00
Scott González
42b94bf173 Tabs: Fixed #2867: Performing a global replace on templates. 2008-05-30 00:14:50 +00:00
Paul Bakaus
cd2adeb725 core: fixed mouse plugin event binding - now binds events with the namespace this.widgetName 2008-05-29 16:43:04 +00:00
Marc Grabanski
8c1d775315 Added range interface real world demo. 2008-05-29 15:23:44 +00:00
Paul Bakaus
092513f35a datepicker: added localization back to /source/i18n 2008-05-29 15:19:49 +00:00
Paul Bakaus
2d6b7469cb sortable: connecting draggables to a sortable and dropping them on the sortable now also triggers a "receive" event, where the sender will be the original draggable. Moving out of the sortable while dragging a connected draggable will not trigger the stop/update events anymore. 2008-05-29 12:37:32 +00:00
Paul Bakaus
aba9f32531 sortable: options.item can now be a function that returns a jQuery collection 2008-05-29 12:12:12 +00:00
Paul Bakaus
dea9af8b4e sortable: implemented advanced placeholder functionality - the placeholder option can now accept a object with two callbacks "element" and "update", where element has to return a valid element (like helper option) and update is called after every update, so recalculating the offset and width/height should happen there. 2008-05-29 11:51:44 +00:00
Scott González
5917978bfd accordion tests: Fixed JavaScript warnings. 2008-05-28 20:04:52 +00:00
Scott González
46cfa2f147 accordion tests: Fixed autoHeight tests. 2008-05-28 19:35:09 +00:00
Paul Bakaus
3fd0d70dee effects: removed effect 'fade' (honestly not needed)
demos: added effects demo page
effects: fixed many callback issues and other small issues
2008-05-28 18:23:55 +00:00
Scott González
dd096c1e95 mouse: cleanup 2008-05-28 14:02:56 +00:00
Paul Bakaus
1f360d7d40 datepicker: datepicker now follows the theming convention of UI (fixes #2650) 2008-05-28 12:00:00 +00:00
Paul Bakaus
ece0c9eb79 slider: fixed translateRange - axis parameter was missing (closes #2862) 2008-05-27 11:19:23 +00:00
Paul Bakaus
57c3bc5c1e slider: fixed slider, now uses subclassing of the mouse plugin 2008-05-27 11:11:49 +00:00
Richard Worth
8f117475b8 autodrag - Added beginning of selectables tests 2008-05-27 02:35:36 +00:00
Eduardo Lundgren
9a671aef8f Testing relatedTarget onmouseover 2008-05-27 02:29:55 +00:00
Eduardo Lundgren
18ed665ae6 console.log handy function fixed 2008-05-27 02:23:57 +00:00
Eduardo Lundgren
55176967d0 Avoid reattach events 2008-05-27 02:20:19 +00:00
Eduardo Lundgren
4545852eb1 userAction keyBoards events fixed for Opera 2008-05-27 02:17:50 +00:00
Richard Worth
4a577e5ba2 corrected misspelled variable name 2008-05-27 00:47:55 +00:00
Eduardo Lundgren
a68d347da2 $('div.target').userAction("click", x, y); UserAction Plugin - Simulate mouse/keys real events. 2008-05-26 21:18:03 +00:00
Eduardo Lundgren
76525dc99d $('div.target').userAction("click", x, y); UserAvtion Plugin - Simulate mouse/keys real events. 2008-05-26 21:15:21 +00:00
Richard Worth
c28d263667 draggable - ui-draggable and ui-draggable-disabled classes were not being added 2008-05-26 20:30:27 +00:00
Richard Worth
661f111abb auto tests - now runs multiple tests with status 2008-05-26 20:29:22 +00:00
Richard Worth
48009db7e8 autodrag - Added simple test queue 2008-05-26 14:30:37 +00:00
Richard Worth
d685f520ee reverted rev50 - broke Opera for some reason 2008-05-26 13:58:29 +00:00
Richard Worth
02155d1457 2008-05-26 13:53:31 +00:00
Richard Worth
b6d16accb5 Created ui.testMouse. Fixed none.png to work in Safari (needs at least one pixel with 1% opacity) 2008-05-26 12:41:59 +00:00
Paul Bakaus
097fc4edae 2008-05-26 12:05:22 +00:00
Paul Bakaus
e65ce14284 sortable: implemented tolerance: "guess", which is also the default tolerance mode now, resolves issues with using tolerance "pointer" (closes #2837) 2008-05-26 12:02:02 +00:00
Paul Bakaus
7b538f65e0 draggable: fixed #2791 2008-05-26 11:39:25 +00:00
Paul Bakaus
062d02ae5c sortable: fixed containment option 2008-05-26 11:29:02 +00:00
Paul Bakaus
356ea57634 sortable: refactored big parts of sortable with new parts of draggable - scrolling problems should be fixed now, as well as many others. 2008-05-26 11:24:50 +00:00
Richard Worth
f65500a161 2008-05-26 10:19:46 +00:00
Richard Worth
a1ca614a88 Added platform cursors 2008-05-26 10:18:11 +00:00
Paul Bakaus
18296272ad sortable: option dropOnEmpty wasn't working correctly - in fact, you could always drop on empty containers. Now it checks again for the option, but it's default is true. 2008-05-26 09:10:48 +00:00
Paul Bakaus
e7a179ef42 draggable: removed helpr animation from connectToSortable in favor of callbacks 2008-05-25 18:29:53 +00:00
Paul Bakaus
d0d8ee752d sortable,draggable: made connectToSortable work again, now works with multiple sortables (closes #2785) 2008-05-25 18:24:02 +00:00
Paul Bakaus
57266e1ba4 draggable, droppable: added a class do the active draggable helper, that will be ignored by droppables as droppable target (fixes #2886) 2008-05-25 16:50:18 +00:00
Paul Bakaus
0f9bb627ee core: reverted change that caused all plugins to malfunction - will later be introduced when the tests are ready. 2008-05-25 16:41:01 +00:00
Paul Bakaus
70702aee59 draggable: fixed absolute positioned element's scroll positions 2008-05-25 16:06:24 +00:00
Paul Bakaus
b391290844 effects.core: fixed parsing of IE left/top values in createWrapper (closes #2915) 2008-05-25 15:50:29 +00:00
Paul Bakaus
074bd8d1ab draggable: fixed #2919 2008-05-25 15:39:24 +00:00
Paul Bakaus
620ed33295 resizable,selectable,slider: changed this.disabled to this.options.disabled (fixes #2552) 2008-05-25 14:24:02 +00:00
Richard Worth
c0f0e4d2cc merged experimental mouse branch 2008-05-25 04:04:57 +00:00
Richard Worth
0f2369e8d8 Move license files to root. Added version file. 2008-05-25 03:34:18 +00:00
Richard Worth
363d702c77 Switched from jQuery 1.2.5 to 1.2.6 2008-05-24 22:30:03 +00:00
Richard Worth
e219f8cf80 2008-05-24 20:53:02 +00:00
Richard Worth
9449c3f2b1 tests automated draggable - improved to work in IE6, FF2, Safari, Opera 2008-05-24 20:52:04 +00:00
Richard Worth
813472aa8f tests automated draggable - some refactoring 2008-05-24 18:49:23 +00:00
Eduardo Lundgren
26b2908040 Resizable automated tests - Resize fixed 2008-05-24 14:55:02 +00:00
Richard Worth
058fcb6d5b Added draggable automated test - wip 2008-05-24 14:09:23 +00:00
Eduardo Lundgren
b5bc8683ef Resizable automated tests prototype started 2008-05-24 07:07:20 +00:00
Paul Bakaus
63091e2c98 2008-05-23 13:32:32 +00:00
Paul Bakaus
67f393fd7c 2008-05-23 12:24:41 +00:00
Paul Bakaus
b0e979eefd 2008-05-23 11:14:15 +00:00
Paul Bakaus
606cd83577 2008-05-23 09:29:26 +00:00
Paul Bakaus
ab281b36d7 2008-05-23 09:26:18 +00:00
Paul Bakaus
489160abd8 2008-05-23 09:23:30 +00:00
Paul Bakaus
7ed79d0be5 2008-05-23 09:14:39 +00:00