Commit Graph

565 Commits

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