Commit Graph

1361 Commits

Author SHA1 Message Date
Scott González
6f1b0d80be Rewrote animateClass to work in webkit. Fixes #3112 - SwitchClass doesn't have any effect in Safari 3.1.1.
Based on trunk and effects dev branch implementations.
2009-09-18 13:15:57 +00:00
Jörn Zaefferer
20201c2854 dialog: filter invalid option-position values, convert title argument to string (ala closeText) 2009-09-17 14:56:03 +00:00
Richard Worth
e2d873e6f0 renamed all ui.*.js files to jquery.ui.*.js, all effects.*.js files to jquery.effects.*.js per announcement and discussion here http://groups.google.com/group/jquery-ui-dev/msg/d565a0c56e0cb935 2009-09-17 10:39:12 +00:00
Ca-Phun Ung
0508fd0e04 dialog: Fixes #4826 - Setting resizable false toggles resizable on dialog 2009-09-15 16:53:39 +00:00
Jörn Zaefferer
7f2683aa81 dialog: always convert value for closeText option to a string (fixes options-tests) 2009-09-15 08:40:17 +00:00
Jörn Zaefferer
4f69883996 progressbar: option-test fails for non-numeric values, so anything non-numeric is now normalized to 0 2009-09-15 08:38:11 +00:00
Jörn Zaefferer
b9b604936e accordion: remove deprecated alwaysOpen option (collapsible was introduced in last stable release); fixed collapsible-false accordion in combination with activate method (with fasly-argument to close all); changed activate-option default to 0 (which was the "computed" default anyway); lots of fixes for the testsuite, while removing some of the "missing" tests: header accepts only a selector (updated spec to make that more clear), while testing animations in unit tests is rather pointless 2009-09-15 08:33:28 +00:00
Jörn Zaefferer
1252150c76 resizable: make global _store variable local 2009-09-15 08:21:20 +00:00
Jörn Zaefferer
e6efe11ac4 datepicker: fixed two global variables 2009-09-15 08:14:11 +00:00
Scott González
25d97c7760 Widget factory: Namespace the remove event handler. 2009-09-06 16:19:30 +00:00
Scott González
bba67df747 Widget factory: Added support for deep extending multiple option hashes on init. 2009-08-28 00:39:43 +00:00
Scott González
6c6218fa12 Widget factory: Support passing multiple option hashes on init. Fixes #4784. 2009-08-26 02:06:19 +00:00
Scott González
99d09ecfaf Dialog: Moved positioning and overflow to CSS. Fixes #2848 - Fixed positioning for dialogs. 2009-08-26 01:40:01 +00:00
Paul Bakaus
fd618d042f draggable, sortable: include originalPosition in ui hash, implements #3782 2009-08-23 17:40:44 +00:00
Paul Bakaus
d2e43a07c0 sortable: removed deprecated ui.absolutePosition from ui hash, fixes #3991 2009-08-22 13:58:36 +00:00
Paul Bakaus
957774c685 sortable: toArray/serialize should not include the placeholder, fixes #4138 2009-08-22 13:48:04 +00:00
Paul Bakaus
d28166805f droppable: greedy childs that dont accept the draggable dont block propagation anymore, fixes #4570 2009-08-22 12:25:50 +00:00
Paul Bakaus
fefa5bd342 draggable: scope option failed when no droppables within that scope exist, fixes #4289 2009-08-22 11:48:48 +00:00
Paul Bakaus
14922e41da draggable: position and offset were undefined in start callback, fixes #4380 2009-08-22 08:10:19 +00:00
Paul Bakaus
2189deaa2c draggable: made stack accept a selector instead of a complex hash, min value is autodetermined now, implements #4365 2009-08-22 07:59:09 +00:00
Paul Bakaus
374f2cbb55 draggable: direct removal of draggable element on drop event doesnt make used plugins fire an error anymore, fixes #4550 2009-08-21 14:13:47 +00:00
Chi Cheng
5293096526 Datepicker: Add yearSuffix value for Chinese/Korean. fixes #4793 2009-08-19 16:33:32 +00:00
Jörn Zaefferer
6681e7ba98 accordion: Fix for #4695, refactored 2009-08-11 19:08:23 +00:00
Jörn Zaefferer
417d5b29b4 accordion: Fix for #4695 2009-08-11 18:58:03 +00:00
Jörn Zaefferer
e132c1b363 accordion: fix for #4436 2009-08-11 18:46:00 +00:00
Richard Worth
7b506cf2ae Fixed accordion option active getter and setter. Normalized getter to number, 0-based index. 2009-08-11 00:45:01 +00:00
Jörn Zaefferer
425e76355a accordion: fix for #4754; related tests were failing before, fixed them, too (checked to correct sizes in Firebug) 2009-08-06 18:44:36 +00:00
Jörn Zaefferer
f3444e81f5 draggable: inline comment to clarify some odd check 2009-08-06 18:10:10 +00:00
Jörn Zaefferer
a3b405d635 datepicker i18n: missing comma (syntax checking editors are great) 2009-08-06 17:32:55 +00:00
Scott González
5e89481ab8 Added zIndex method. Fixes #4709 - Add zIndex setter/getter method. 2009-08-05 13:30:55 +00:00
Scott González
1a28670720 Slider: Create a copy of the options.values array for the return value of _value(). Fixes #4751 - Dragging slider modifies values, even if callback returns false.
Thanks bkrausz.
2009-08-04 23:35:08 +00:00
Scott González
aacecd6450 Resizable: Don't allow resizing when disabled. Fixes #4743 - Disable Resize. 2009-08-04 02:02:57 +00:00
Scott González
d6385b039b Dialog: Support hash, array, string for cursorAt option. Use position plugin. Partial fix for #2525 - Standardised way to pass coordinates to plugins. 2009-08-03 14:28:54 +00:00
Scott González
52ca525112 Position: fixed comment wording. 2009-08-03 13:17:56 +00:00
Scott González
61e06a0e13 Sortable: Support hash, array, string for cursorAt option. Partial fix for #2525 - Standardised way to pass coordinates to plugins. 2009-08-03 13:17:00 +00:00
Scott González
ec4d469a36 Draggable: Support hash, array, string for cursorAt option. Partial fix for #2525 - Standardised way to pass coordinates to plugins. 2009-08-03 13:13:13 +00:00
Chi Cheng
a962d52902 Position: set "at" option while align to cursor, fixes collision:flip not work with default value 2009-08-02 16:17:07 +00:00
Chi Cheng
abeb13af40 Position: set "at" option while align to cursor, fixes collision:flip not work with default value 2009-08-02 14:02:32 +00:00
Scott González
4f03ac24fd Accordion: Don't stop propagation when clicking in headers. Fixes #4732 - accordion steals header clicks. 2009-07-31 00:23:41 +00:00
Scott González
c0ba6ccda7 Position: Removed default options hash. 2009-07-31 00:15:36 +00:00
Chi Cheng
ff4064916e Position: Allow without "at" option passed. (Not need it when align to cursor.) 2009-07-30 14:06:31 +00:00
Chi Cheng
175f36076b Position: Allow without "at" option passed. (Not need it when align to cursor.) 2009-07-30 13:21:21 +00:00
Keith Wood
20e13a4d77 Datepicker: Fixed #4131 Could week numbers [be] added to the Datepicker 2009-07-29 08:33:33 +00:00
Keith Wood
e84694a0c4 Datepicker: Default duration changed 2009-07-29 08:27:31 +00:00
Paul Bakaus
0bbf926015 sortable: fixed issues with nested containers (fixes #4703,#4611, thanks kae!) 2009-07-28 05:50:23 +00:00
Chi Cheng
010a225af3 Effects: handle switch parameter in toggleClass, fixes #4722 2009-07-27 17:35:54 +00:00
Chi Cheng
f35bae5a7f Position: rollback 2009-07-27 15:30:25 +00:00
Chi Cheng
85193b54c9 position: add document link; values should be string but not defaultValue variant 2009-07-26 09:36:29 +00:00
Chi Cheng
ee3a1718fb position: make it work without ui.core.js 2009-07-25 19:56:11 +00:00
Chi Cheng
f450302692 Stackfix: restrict version test to IE version 2009-07-25 13:19:42 +00:00
Scott González
eff793d014 Copied position plugin from /branches/dev/positionTo r2971. 2009-07-24 18:24:13 +00:00
Scott González
30bfc47c35 Dialog: Use :data(resizable) instead of :ui-resizable to check if the dialog is resizable. Fixes a bug when the resizable plugin isn't loaded and the :ui-resizable selector therefore doesn't exist. 2009-07-24 02:00:31 +00:00
Scott González
d6f7a57eb1 Dialog: Update position option after drag. Fixes #4679 - Dialogs should remember their position after drag.
Thanks wewals.
2009-07-23 02:47:38 +00:00
Keith Wood
1df4659b7d Datepicker: Fixed #4691 Datepicker positioning is off if the window has almost the same height as the calendar div 2009-07-22 08:39:44 +00:00
Keith Wood
ef4000d9df Datepicker: Fixed #3891 Autosize input field 2009-07-22 08:37:28 +00:00
Keith Wood
d2bd01aecb Datepicker: Fixed #4684 Datepicker bug when textbox id contains '$' 2009-07-22 08:34:27 +00:00
Keith Wood
61e15b1f76 Datepicker: Fixed #4647 setDate cannot be called multiple times 2009-07-22 08:28:01 +00:00
Scott González
269a441268 Highlight effect: refactor. 2009-07-21 04:21:50 +00:00
Scott González
33c16ae163 Dialog: Contain resizing to the document. Fixes #4664 - uiDialog.resizable needs containment:'document' to agree with uiDialog.draggable.
Thanks AudreyT.
2009-07-21 00:03:39 +00:00
Scott González
c35ed2cab5 Dialog: Removed drag and resize option handling from setDataSwitch hash (legacy from when dialog didn't have its own events). 2009-07-16 16:32:35 +00:00
Jörn Zaefferer
dcdccf0789 Fixed the regression introduced in r2861 2009-07-15 08:32:22 +00:00
Scott González
226ff67a00 animateClass: Don't animate scrollbar properties. Fixes #4676 - toggleClass breaks in IE sometimes. 2009-07-13 00:51:03 +00:00
Scott González
a716261ab6 Dialog: Changed beforeclose option to beforeClose. Fixes #4669 - Dialog: beforeclose option should be beforeClose. 2009-07-11 00:36:36 +00:00
Scott González
1a03453654 Widget factory: Force event types to be lowercase. Fixes #4668 - All event types should be lowercase even if the corresponding callback is camelcase. 2009-07-11 00:30:46 +00:00
Scott González
2ebc73e2b7 Dialog: Use _trigger for drag and resize events instead of executing callbacks directly. Fixed #4629 - Dialog events not being triggered. 2009-07-10 20:00:06 +00:00
Jörn Zaefferer
b5ac948fa6 updated header for ui.stackfix.js, after confirming with Brandon the copyright change (he's already listed in AUTHORS.txt) 2009-07-09 14:41:18 +00:00
Jörn Zaefferer
a2899b145f replacing bgiframe with ui.stackfix, updated dialog and its demos accordingly 2009-07-09 11:17:19 +00:00
Scott González
f51cdf206c Scale: Reset opacity after animation. Fixed #4274 - New show hide effects don't execute correctly in IE. 2009-07-09 04:00:35 +00:00
Scott González
292d9df1ce Draggable: Removed absolutePosition from ui hash. Fixes #3990 - Remove absolutePosition from ui hash. 2009-07-09 03:22:57 +00:00
Scott González
ceb661f959 Droppable: Removed absolutePosition from ui hash. Fixes #3989 - Remove absolutePosition from ui hash. 2009-07-09 03:16:23 +00:00
Richard Worth
56b0da59d7 Fixed #4551 - Sortable connectWith fails if item is floated. Props dhlavety and jlillywhite. 2009-07-07 10:41:42 +00:00
Keith Wood
bf500e6b8b Datepicker: Fixed #4634 Incorrect month number when using selectOtherMonths 2009-07-05 05:26:14 +00:00
Keith Wood
a84392c270 Datepicker: Fixed #4646 Localization error in ui.datepicker-es.js 2009-07-05 05:15:33 +00:00
Scott González
44ec979713 Widget factory: Convert falsy data values to an empty hash in _trigger. Fixes #4650: ui hash not always provided in events/callbacks. 2009-07-04 03:39:19 +00:00
Jörn Zaefferer
b6bdbb4211 accordion fix for #4653: added tests, adopted no-auto-height demo to also cover navigation option; fixed an unrelated bug, where ui-accordion-content-active was never removed 2009-07-03 21:05:22 +00:00
Keith Wood
681bcc4ad0 Datepicker: Fixed #4613 Datepicker Swiss-French (fr-CH) localization 2009-06-22 02:43:30 +00:00
Keith Wood
35a4052aba Datepicker: Fixed #4536 Datepicker maxDate doesn't take into account column layout 2009-06-22 02:08:19 +00:00
Keith Wood
3b5c91fdc6 Datepicker. Fixed #3657 showOtherMonths should allow the selection of days from other months 2009-06-21 07:28:51 +00:00
Scott González
82df8dbf53 Tabs: Added defaults for callback options. Fixed 4619 (Tabs doesn't define default for select option). 2009-06-20 13:17:05 +00:00
Keith Wood
f07a17bbf0 Datepicker: default, min, and max dates can be specified as date strings in the current format 2009-06-16 08:44:56 +00:00
Keith Wood
37f4f74493 Datepicker: Fixed #4592 Basque (euskara) localization 2009-06-16 08:42:15 +00:00
Scott González
f505d5a230 Refactored puff effect. 2009-06-15 02:21:44 +00:00
Scott González
25398447f1 Effects core: Removed jQuery.fn.morph (same as jQuery.fn.switchClass). Fixed #4602 (Remove jQuery.fn.morph). 2009-06-15 02:18:47 +00:00
Scott González
2f161c13de Effects core: Tweaked color animation. 2009-06-15 02:15:56 +00:00
Scott González
58b37be5ac Widget factory: Make methods chainable if the return value is undefined. Fixed #4601 (Allow undefined return value for chainable method calls). 2009-06-15 02:01:11 +00:00
Scott González
d8d7cf27c3 Fixed Italian localization for datepicker. (Fixed #4599 - Datepicker i18n: Fix Italian localization). Thanks Antonello Pasella. 2009-06-13 12:52:48 +00:00
Scott González
f22f205cfc Effects core: Fixed indentation for color animation overrides. 2009-06-12 13:26:45 +00:00
Klaus Hartl
b129e79ba7 UI Tabs: a fix for messed up animations and ajax tabs 2009-06-12 08:36:03 +00:00
Scott González
83eafe63d9 Effects core: Reorganized method overloading. 2009-06-11 21:21:35 +00:00
Scott González
4175ca180a Effects core: Refactored .effect() method; now uses _normalizeArguments and honors jQuery.fx.off. Fixes #4328 (IE6 with fx.off and highlight throws a script error). 2009-06-11 13:06:20 +00:00
Keith Wood
e50d9d3515 Datepicker: Fixed #4514 Dialog doesn't accept initial date as Date 2009-06-11 10:27:30 +00:00
Scott González
f18399da4f Effects core: Changed callback option to complete. Fixes #4586 (Effects callback should be "complete" not "callback"). 2009-06-10 01:25:21 +00:00
Scott González
347f86d99a Effects core: Refactored show/hide/toggle methods. 2009-06-10 01:22:38 +00:00
Keith Wood
e318d42f13 Datepicker: Fixed #4556 Hungarian locale typo 2009-06-09 08:40:22 +00:00
Scott González
27c3c52625 Dialog: adjusting minHeight when the height option is less than the minHeight to prevent unexpectedly large dialogs. Fixes #4101 (Ui Dialog height does not adjust minHeight). Fixes #4122 (Dialog's content area isn't resized when height is adjusted). 2009-06-09 01:10:33 +00:00
Scott González
8634ba993c All mouse-based plugins: Extend $.ui.mouse.defaults. Changed $.ui.mouse.defaults.cancel to ":input,option" which is used by every plugin as its default. Fixes #4584 ($.ui.mouse.defaults never used). 2009-06-09 00:46:00 +00:00
Keith Wood
ce94b548d0 Datepicker: Added Vietnamese localisation 2009-06-06 05:59:23 +00:00
Richard Worth
5f83018470 eol-style and mime-type 2009-05-22 03:29:00 +00:00
Jörn Zaefferer
7f2cbf8ae6 Partial fix for #3773 2009-05-12 08:51:48 +00:00
Jörn Zaefferer
4b970c7441 Fix for #4282, fixes 14 tests 2009-05-11 12:32:43 +00:00
Jörn Zaefferer
892824558c Fix for #4222 2009-05-11 11:43:48 +00:00
Jörn Zaefferer
f6b219fdc4 fix for #4492: added missing semicolons 2009-05-07 10:50:38 +00:00
Keith Wood
c4b86dcfbe Datepicker: Fixed #4474 Pressing Return (keyCode 13) overwrites manually inserted input in DatePicker 2009-04-26 07:25:15 +00:00
Keith Wood
2d67c203bf Datepicker: Fixed #4480 Date format and first day for regional default values in "ui.datepicker-ca.js" 2009-04-26 07:02:43 +00:00
Keith Wood
068fd93e89 Datepicker: Added Azerbaijani localisation 2009-04-26 02:38:44 +00:00
Andrew Powell
30ad533948 updated the condition to assert that values.legnth ==2 and range: true. (fixed #3736 - Slider: some handles get stuck when using two or more handles) 2009-04-19 23:50:48 +00:00
Scott González
1c2fd6f9ee Effects Core: Proper handling for .toggle(true). Fixes #4473 - effects.core corrupts jQuery toggle(<boolean switch>) functionality. 2009-04-19 21:19:23 +00:00
Scott González
1b31f1aee8 Dialog: Using new delayed focus method. Also fixed a bug where focus would leave the dialog for a fraction of a second when cycling through the tabbable elements. 2009-04-18 18:49:49 +00:00
Scott González
8c5ca934c3 Dialog: Expanded all self-closing tags for HTML conformance. 2009-04-18 15:03:56 +00:00
Scott González
a3c2a255ad Dialog: Using local variables to improve minification. 2009-04-18 15:01:13 +00:00
Scott González
ddff678220 Progressbar: Removed getter property. 2009-04-18 14:34:20 +00:00
Scott González
cedf663e2f Core: Added asynchronous focus. Fixed #3559 - :focusable, :tabbable, setFocus(). 2009-04-18 13:04:07 +00:00
Scott González
15788355fa Accordion - Removed easeslide animation. Fixes #4204 - Easeslide does not work (Accordion). 2009-04-18 02:32:11 +00:00
Scott González
6ca335f94c Accordion: Gracefully falling back to a linear animation for any non-existant animation specified for the animated option. Fixes #4392 - Accordion: option animated true causes JavaScript error. 2009-04-17 23:05:37 +00:00
Keith Wood
8f503d8d31 Datepicker: Fixed #3861 Manually entered date does not update altField 2009-04-16 10:42:04 +00:00
Scott González
62f11b4a2e Progressbar: Modified value method to act as both a getter and setter. Fixed #4427 - progressbar('value') returns a reference to this instead of the value. 2009-04-16 01:57:56 +00:00
Scott González
1195854aaa Merged in widget-factory branch and added tests. Fixes #4411 - Widget factory should auto detect getters. 2009-04-15 02:33:28 +00:00
Keith Wood
3c7b612993 Datepicker: Fixed #4462 - Estonian localization 2009-04-14 12:58:53 +00:00
Andrew Powell
5a2ca0e637 Fix for 4427. Per Scott G; Widgets cannot presently have getters and setters with the same name. Scott's changes to the widget factory enable this and will be merged soon. 2009-04-12 22:05:53 +00:00
Keith Wood
a4065729e2 Datepicker: Fixed #4348 - Datepicker positioned outside body when scrollbar enabled 2009-04-10 10:09:03 +00:00
Keith Wood
c7a21a83dd Datepicker: Restored keystrokes for yearly movements 2009-04-10 08:20:11 +00:00
Keith Wood
0375dcb04a Datepicker: Removed more remnants of range select functionality 2009-04-10 08:05:51 +00:00
Keith Wood
f754cf1111 Datepicker: Apply min/max settings on setDate 2009-04-10 08:04:57 +00:00
Keith Wood
1f2dcf8af9 Datepicker: Fixed #4054 - Datepicker overlay problem in IE6 2009-04-10 07:57:26 +00:00
Keith Wood
b94d5cf673 Datepicker: Removed remnants of yearly steps 2009-04-10 07:46:35 +00:00
Scott González
8936687c18 Dialog: Fixed the case where you open two modal dialogs and then close the top dialog and inputs in the first dialog were no longer usable - Fixes #4309. 2009-04-02 02:00:45 +00:00
Richard Worth
fbb912524d fixed #4391 - ui-state-hover, ui-state-active and disabled sliders 2009-04-02 00:10:52 +00:00
Keith Wood
fc75c3e3ad Datepicker: added Windows ticks format 2009-04-01 10:56:58 +00:00
Keith Wood
e55ee9e6e9 Datepicker: fixed #4285 - Week of the Year off by one during daylight saving time
And simplified calculation
2009-04-01 10:41:22 +00:00
Keith Wood
fea2eeb0d7 Datepicker: fixed #4085 - Can not display year and month correctly in Japanese 2009-04-01 10:34:16 +00:00
Keith Wood
89905e277e Datepicker: Removed remnants of range select functionality 2009-04-01 10:25:38 +00:00
Keith Wood
4d5f8d4ae0 Datepicker: fixed #4301 - option dateFormat getter does not return same value as setter 2009-04-01 10:11:35 +00:00
Scott González
a39d0d9350 Dialog: Don't bind overlay event handlers if the overlays are destroyed before the setTimeout block is executed - Fixes #4065 - modal dialog + button locks page. 2009-03-28 16:33:59 +00:00
Scott González
12b47dc1ea Widget factory: Fixed $4266 - Add custom selectors for widgets. 2009-03-28 00:52:56 +00:00
Scott González
4e64af70b6 Widget factory: Fixed #4366 - Deep copy options on init. 2009-03-28 00:06:34 +00:00
Keith Wood
05a935c993 Fixed #4240 - Datepicker destroy affects other datepickers - appended text too 2009-03-22 05:47:08 +00:00
Keith Wood
df5139bd30 Datepicker: fixed #4362 Update Croation localization 2009-03-19 10:33:22 +00:00
Richard Worth
dfe72422e5 Fixed #4341 - Selectable: option appendTo is ignored, helper always appends to body 2009-03-18 12:22:08 +00:00
Richard Worth
7b55667bf3 Fixed #4331 - Accordion requires theme CSS to function in IE 2009-03-18 10:25:55 +00:00
Richard Worth
b025e67259 Fixed #4318 - Slider: method destroy does not remove ui-slider-range 2009-03-18 08:58:53 +00:00
Richard Worth
fa4bd636e3 Fixed #4240 - Datepicker destroy affects other datepickers 2009-03-18 01:56:38 +00:00
Richard Worth
765e7b25bf Fixed #4199 (resizable with containment boundary - aspectRatio breaks.) with patch from #4349 (Resizable with Containment Aspect Ratio Bug (Includes patching instructions)) props tcarnell and garside 2009-03-17 11:20:31 +00:00
Jörn Zaefferer
ecbc1a35c3 formatting 2009-03-15 12:20:37 +00:00
Chi Cheng
dd601d526c Datepicker : albanian localization. fixed #4313 2009-03-10 19:10:50 +00:00
Richard Worth
7e3b8483a3 Fixed #4315 (Slider: clicking on slider with negative values causes error 'closestHandle is undefined') 2009-03-10 11:17:21 +00:00
Richard Worth
4bfadc4514 Fixed #4292 (Slider: ui.value incorrect in slide event if handle at value 0) 2009-03-10 01:35:09 +00:00
Richard Worth
439d93bf8b Fixed #4292 (Slider: ui.value incorrect in slide event if handle at value 0) 2009-03-09 12:36:50 +00:00
Chi Cheng
b25247ec6d Datepicker: Update Ukrainian Localization 2009-03-07 18:28:26 +00:00
Chi Cheng
248d67eaa9 Datepicker: Update Romanian Localization, thanks Ionut G. Stan 2009-03-07 04:59:57 +00:00
Chi Cheng
7e8ea7a36a Droppable: short _init code. 2009-03-05 18:18:49 +00:00
Chi Cheng
73163f471e Droppable: droppable('option', 'accept', selector) fails. fixes #4278 2009-03-05 15:18:07 +00:00
Richard Worth
d2fa4b4446 Dialog: fix dialog height from being reset after drag in Safari. related to r2152 and #4252 2009-03-03 10:29:18 +00:00
Richard Worth
a5c31c097c accordion: call .blur() so ui-state-focus class gets removed from last-focused header. See r1945 2009-03-02 12:37:00 +00:00
Richard Worth
8fecd015cf Fixed #3053 - when resizing a image a row of pixels can disappear
props raziel057
2009-03-02 10:39:16 +00:00
Richard Worth
b38b6a7546 Fixed #4127 - Resizable: displacement of element (in case of constraint resize area)
props raziel057
2009-03-02 10:11:38 +00:00
Klaus Hartl
18171c2f89 Tabs: fixed a few issues in rotate method extension 2009-03-01 15:27:40 +00:00
Klaus Hartl
240a588bce Tabs: few fixes required in destroy method, removed ol as tabifyable element 2009-03-01 14:32:29 +00:00
Scott González
676ea7f248 Dialog: Actually removed dragHelper and resizeHelper options. Fixes #4252 - undocumented dragHelper and resizeHelper options should be removed. 2009-03-01 00:52:03 +00:00
Klaus Hartl
a02ac5f372 Tabs: fixed stopping a rotation 2009-02-28 22:10:30 +00:00
Richard Worth
517d5ab62c resizable: add ui-resizable-resizing class during resize 2009-02-28 21:23:19 +00:00
Richard Worth
df8d64a36a Dailog: fixed #4254 - Dialog: undocumented dragHelper and resizeHelper options should be removed 2009-02-28 21:21:45 +00:00
Richard Worth
5b00c21719 slider: use handle width / 2 instead of marginLeft to find offset of mousedown relative to center of handle (fixes #4063 - slider: horizontal slider handle jumps up when you click on it IE6) 2009-02-28 20:45:05 +00:00
Richard Worth
bd3dc48e02 changed ui.jquery.com to jqueryui.com 2009-02-27 11:41:40 +00:00
Klaus Hartl
e744869d8f better performing check for base and href in IE 2009-02-26 21:39:44 +00:00
Scott González
eade720a3b Dialog: Fixed bug where dialogs wouldn't close if there was no animation. 2009-02-26 01:27:34 +00:00
Klaus Hartl
2ec68cba61 Tabs: refactored - replaced noisy $property names 2009-02-25 22:15:49 +00:00
Klaus Hartl
53aad38b66 Tabs: refactored so that it's using queue, fixes #4060 2009-02-25 22:09:45 +00:00
Klaus Hartl
48e551ee0c Tabs: fixes #4033 as well for the case a base tag is being used 2009-02-25 20:16:27 +00:00
Scott González
9581c73625 Dialog: Passing parameters to moveToTop properly. Fixed #4214 - Dialog z-index adjusted incorrectly on mousedown. 2009-02-25 05:29:01 +00:00
Scott González
47cdc542e8 Sortable: Removed accurateIntersection option (Fixes #4225). 2009-02-25 04:15:48 +00:00
Richard Worth
639da64b34 slider: only return false on handle keydown if one of arrow keys or pgup/down are pressed (otherwise tab is broken) 2009-02-23 12:57:33 +00:00
Klaus Hartl
12d2b5e720 Tabs should not use toggleClass() for state handling, fixes #4212 2009-02-22 18:54:29 +00:00
Klaus Hartl
3b1ce9460a Tabs: some refactoring to avoid redundant code 2009-02-22 17:40:16 +00:00
Klaus Hartl
48fa8d8286 Tabs: fixed remaining JSLint warnings 2009-02-22 14:00:11 +00:00
Klaus Hartl
0f9b9fe1b7 Tabs: avoid !0 == true 2009-02-22 12:11:44 +00:00
Klaus Hartl
66761ebe9a removed invalid character, added missing semicolon 2009-02-22 12:01:33 +00:00
Klaus Hartl
10636ee6fe Tabs: cookie was not considered if page url contains some fragment identifier, fixes #4210; fixed issue with jQuery 1.3.2 :visible selector; started to fix JSLint warnings... 2009-02-22 11:54:00 +00:00
Scott González
d94afbee78 Dialog: When animating dialog close, wait until after the animation completes before triggering the close event. Fixes #4207 - Dialog close event occurs too early with hide effect. 2009-02-21 17:02:52 +00:00
Richard Worth
3342fb841a Slider: Fixed min and max range sliders to add ui-slider-range-min or ui-slider-range-max class and not set corresponding left/right/top/bottom inline, only width/height
(fixes #4182 - slider min/max classes aren't being added to range div)
(fixes #3850 - Slider Range With Fixed Max Demo Bug in Opera)
2009-02-21 11:40:05 +00:00
Klaus Hartl
1ca5ae160c Tabs: normalization of href attribute required in IE, fixes #4134 2009-02-19 20:19:13 +00:00
Paul Bakaus
0d523ed684 effects core: the second argument passed to effect methods wasn't checked for being a callback function (fixes #4181 - Effects methods don't allow callback as the second parameter) 2009-02-19 13:25:02 +00:00
Keith Wood
3ef80b3b0f Fixed #4156 Serbian localizations 2009-02-19 10:30:43 +00:00
Scott González
47cd5b6fca Resizable: Fixed containment within relative/absolute positioned parent. Fixes #3882 - Left Margin Calculated Incorrectly (Using Containment). Patch provided by Brad Dunbar. 2009-02-19 02:49:54 +00:00
Scott González
dcbd427cdf Dialog: Removed $.ui.dialog.topMostDialog - added for performance improvement, but not needed and could cause problems. 2009-02-19 02:35:19 +00:00
Scott González
3c7e1b3ff9 Dialog: Refactored event delegation to cancel events for modal dialogs. Fixes #2807 - dialogUI + modal mode = slow. 2009-02-19 02:20:20 +00:00
Scott González
835cbf1833 Dialog: Use event delegation to cancel events for modal dialogs. Fixes #2807 - dialogUI + modal mode = slow. 2009-02-19 02:07:05 +00:00
Scott González
06a513b753 Dialog: Refactored moveToTop, greatly improving performance for opening dialogs in IE. Partial fix for #2807 - dialog UI + modal mode = slow. 2009-02-19 01:49:33 +00:00
Klaus Hartl
07809340c8 Tabs: solved spinner issues and ajax loading not being stopped when selecting a static page tab, fixes #4109, #3929 2009-02-18 21:44:34 +00:00
Scott González
f39561cc7f Slider: Removed support for auto orientation, set default to horizontal. Fixed #4174. 2009-02-18 03:00:03 +00:00
Paul Bakaus
2ffcf02de3 slider: limit the returned floats to 5 digits after the decimal point, corrects JS float errors (fixes #4124 - Value should always be constrained to valid step values) 2009-02-17 13:01:19 +00:00
Paul Bakaus
9c4b8a9141 slider:
- fixed propagation of change event within _slide (fixes #4005 - slider and change callback with range: true)
- normalized all ui hash information
2009-02-17 12:21:42 +00:00
Paul Bakaus
77043b9bf2 slider: animate option was ignored if only one handle (fixes #4167 slider:animation for single handles broken) 2009-02-17 11:13:30 +00:00
Scott González
55081dae77 Slider: Fixed divide by zero error when min and max are the same. Fixed #4155 - IE6 error by min==max. 2009-02-17 01:39:25 +00:00
Scott González
6754eaa338 Cleaned up transfer effect. Despite the huge diff, I didn't change any logic and barely changed any actual code. 2009-02-17 01:20:50 +00:00
Scott González
49b76873ad Transfer effect: Use innerWidth/Height instead of outerWidth/Height and then subtracting border. Fixed #4153 - Transfer throws 'Invalid Argument' in IE7 without CSS border property. 2009-02-17 01:07:30 +00:00
Eduardo Lundgren
eb5858f69f Resizable: Fixed #4147 - Little jump when a resizable is about to reach the coordinate 0 (in x- or y-axis) 2009-02-15 14:51:59 +00:00
Klaus Hartl
26f1b0330f Tabs: using closest() is shorter 2009-02-14 15:56:44 +00:00
Scott González
f869dab6b0 Mouse: Fixed #4146: Don't set the flag to prevent click events if mouseup occurs on a diferent element than mousedown (was preventing the next click event from occuring). 2009-02-14 04:27:31 +00:00
Scott González
a7eb669c01 Mouse: Stop immediate propagation of click events. Partial fix for #3177 - click is fired for draggagble elements on mouseUp. 2009-02-14 03:02:38 +00:00
Klaus Hartl
f3feb25712 Tabs: mouseover/focus handling for added tabs, plus test, fixes #4097 as well as focus/blur handling when using keyboard 2009-02-13 23:05:16 +00:00
Paul Bakaus
64b66a4d81 sortable: pageX/pageY already do not include scroll offsets in safari, therefore it does not need to be substracted again (fixes #4041) 2009-02-13 13:28:20 +00:00
Paul Bakaus
39d164b95e draggable: pageX/pageY already do not include scroll offsets in safari, therefore it does not need to be substracted again (fixes #4142) (only if css position is fixed) (removed redundant check) 2009-02-13 13:05:24 +00:00
Paul Bakaus
5030b57801 draggable: pageX/pageY already do not include scroll offsets in safari, therefore it does not need to be substracted again (fixes #4142) (only if css position is fixed) 2009-02-13 12:47:52 +00:00
Paul Bakaus
8623a3e9a5 draggable: pageX/pageY already do not include scroll offsets in safari, therefore it does not need to be substracted again (fixes #4142) 2009-02-13 12:42:42 +00:00
Paul Bakaus
e0f3b0ef32 draggable,sortable: if the offset parent is the body, top/left values should always be normalized to 0 (fixes #4141 - margin on body in safari caused bump) 2009-02-13 12:26:44 +00:00
Scott González
9f93e8db3a Sortable: Removed sortIndicator option. Fixed #4118 - option sortIndicator is undocumented. 2009-02-13 03:47:53 +00:00
Scott González
a5d5c4f60a Resizable:
- Fixed destroy method.
  - Removed preventDefault option (Fixed #4135 - preventDefault should not be an option as there's not use case for false).
2009-02-13 03:36:56 +00:00
Scott González
2916159a08 Dialog: Don't set focus to elements in the titlebar on open. Fixes #4126 - focus on dialog open should be constrained to the contents of the dialog.
NOTE: This breaks accessibility in Safari, which doesn't allow setting focus to elements that are not natively tabbable.  However, our current stance is that people who require accessibility will not be using Safari specifically for this type of reason.
2009-02-13 03:06:43 +00:00
Scott González
16c0c8f259 Prevent loading core files multiple times. Fixes #4130 - Too much recurson with double include. 2009-02-13 02:25:21 +00:00
Paul Bakaus
8ba40888a5 datepicker: temporary solution for inline click events with noConflict(true), introduces another global called DT_jQuery to deal with the inline events (fixes #4055, going to be removed with scheduled rewrite) 2009-02-11 13:40:21 +00:00
Paul Bakaus
8bc04f67e3 progressbar: removed unused variables, some whitespace changes (fixes #4052) 2009-02-11 13:04:18 +00:00
Paul Bakaus
7989bf1bee draggable: fixed numerous issues with over/out logic on connected sortable lists (fixes #3988) 2009-02-10 15:05:01 +00:00
Paul Bakaus
51c338b9ed all: fixed jslint warnings 2009-02-10 13:11:34 +00:00
Paul Bakaus
2e0f967680 sortable: if current item was removed by user, it was reappended by the clearing logic (fixes #4088) 2009-02-10 10:07:25 +00:00
Paul Bakaus
4e61b952f3 core: prevent calling plugins if the node doesn't exist in DOM anymore (has been removed by the user) (fixes #4087) 2009-02-10 09:14:59 +00:00
Paul Bakaus
8ccbc0ac55 accordion: chaining breaks if value in height() is negative (fixes #4102) 2009-02-10 08:59:24 +00:00
Richard Worth
fddd2c3965 slider: fixed failing visual test: slider_in_container_with_scrollbars 2009-02-10 03:48:21 +00:00
Richard Worth
176b2d21cd dialog: added some missing defaults 2009-02-09 11:15:23 +00:00
Eduardo Lundgren
e1320a794c Resizable: Fixed #4099 - Copy .data("resizable") to the wrapper element 2009-02-09 04:36:43 +00:00
Eduardo Lundgren
e49aa9a3d7 Resizable: Fixed #4090 - proportionallyResize option should be removed (made internal) 2009-02-09 04:33:50 +00:00
Eduardo Lundgren
43de7e0e50 Resizable: Fixed #4092 - preserveCursor option should be removed 2009-02-09 03:59:16 +00:00
Eduardo Lundgren
78e8a1b789 Resizable: Fixed #4098 - Remove transparent option 2009-02-09 03:56:02 +00:00
Scott González
0413807dfb Dialog: Don't allow the height of the content area to be negative. 2009-02-09 02:32:43 +00:00
Scott González
615127e8c5 Resizable: Fixed #4093: Removed disableSelection option. 2009-02-09 01:36:51 +00:00
Richard Worth
e4c5712974 Removed unused code obsoleted by #3906 and r1754 2009-02-08 00:55:16 +00:00
Richard Worth
8a12510ca1 droppable: defaults - alpha order 2009-02-07 18:28:29 +00:00
Scott González
86a26f17ff Dialog: Fixed #4086: Allow changing the dialogClass option after init. 2009-02-07 14:28:14 +00:00
Klaus Hartl
915a3a4117 Tabs: cleanup - no longer supports tabifying via list element, must use container 2009-02-05 19:58:38 +00:00
Klaus Hartl
fbc6ff5f81 Tabs: fixed bug related to setting selected via data method, cleaned up mess in tests 2009-02-05 19:36:31 +00:00
Klaus Hartl
78adee126c Tabs: removed useless array joins, consistent usage of "ui-tabs-selected" class 2009-02-05 19:11:12 +00:00
Klaus Hartl
8aee174cdb Tabs: Added tests for select method while at the same time implemented consistent handling of possible values to pass, addresses #4051 2009-02-05 19:02:47 +00:00
Scott González
dd3636c97a Dialog: Removed shadow option due to introducing too many bugs. (Reopens #3681). 2009-02-05 14:30:59 +00:00
Richard Worth
5a6e2bdbb6 Fixed 4062 - slider: vertical slider handle jumps up when you click on it 2009-02-05 06:01:10 +00:00
Richard Worth
93fbdd41b3 Fixed #3804 (Multiple Slider Focus Issues) 2009-02-05 05:25:12 +00:00
Richard Worth
65172cdeb2 accordion defaults in alpha order 2009-02-05 04:34:38 +00:00
Scott González
fc9ebfb3f4 Draggable/Sortable: Partial fix for #4009: Fixed ui hash for sortable activate/deactivate callback when receiving a draggable. 2009-02-05 04:21:21 +00:00
Scott González
2f2342caeb Draggable/Sortable: Partial fix for #4009: Fixed ui hash for sortable receive callback when receiving a draggable. 2009-02-05 04:12:23 +00:00
Scott González
0c8eed67f5 Draggable: Removed ridiculousness (some of it anyway). 2009-02-05 03:44:08 +00:00
Scott González
57f0188239 Mouse: Fixed #4061: Prevent errors when manually triggering mousedown events on elements that use $.ui.mouse (event.originalEvent isn't defined). 2009-02-05 02:33:21 +00:00
Paul Bakaus
27a7442a37 effect core: speed wasn't detected in all situations (fixes #4057) 2009-02-05 01:39:58 +00:00
Klaus Hartl
b81731dd76 Tabs: fixed duration for show animation - setting wasn't considered 2009-02-04 20:46:54 +00:00
Richard Worth
08a75c4991 Fixed #4050 (Dialog: undefined class being added to ui-dialog element) 2009-02-03 04:20:42 +00:00
Richard Worth
8bc22ea6f3 draggable: missed internal use of ui.absolutePosition 2009-02-03 03:02:30 +00:00
Richard Worth
4b3b9d8fb0 sortable defaults 2009-02-03 02:23:07 +00:00
Richard Worth
87796aff53 Fixed #4038 (sortable: cssNamespace option should be removed) 2009-02-03 02:18:12 +00:00
Richard Worth
b534fcccb9 sortable: changed sortable option cursor default value to 'auto' instead of 'default' 2009-02-03 01:22:34 +00:00
Richard Worth
d5f41446dd sortable defaults 2009-02-03 01:20:55 +00:00
Klaus Hartl
24c51e5a95 Tabs: introduced "collapsible" option while deprecating "deselectable", fixes #4029 2009-02-02 20:15:06 +00:00
Jörn Zaefferer
bf16dc1853 accordion: use synced animations only when animating two elements; optimize for only-one 2009-02-02 14:02:20 +00:00
Richard Worth
4ad531044e Fixed #4037 (droppable: cssNamespace option should be removed, addClasses option added) 2009-02-02 07:18:27 +00:00