Commit Graph

862 Commits

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