Rick Waldron
07ec849f62
Position: Update fullname reference; jQuery => $. Fixes #8029 - Position: There is a reference to the global jQuery variable.
2012-01-19 08:21:54 -05:00
Scott González
3a1031e58b
Button: Properly handle disabled option on init. Fixes #8028 - Getting unset disabled option on button widget returns jQuery object, not default value.
2012-01-18 16:37:04 -05:00
Scott González
266fb1e89e
Draggable: Position helper in the same relative position as the original element, compared to the pointer.
2012-01-15 15:18:12 -05:00
Scott González
0e96a50231
Droppable: Account for draggable helper when calculating proportions.
2012-01-15 13:44:52 -05:00
Scott González
2c9ee0252d
Droppable: Only react to drag events if they're not canceled. Fixed pointer intersection.
2012-01-15 13:35:23 -05:00
Scott González
003bbf42fc
Draggable: Pass pointer position in the ui hash for all events.
2012-01-15 13:34:46 -05:00
Scott González
66a594ec76
Droppable: Added TODOs.
2012-01-15 13:08:41 -05:00
Scott González
178c21c0b4
Interaction: Rename position hash to pointerPosition and use x/y instead of left/top.
2012-01-15 12:57:39 -05:00
Scott González
3a90f455e6
Droppable: Refactored touch tolerance.
2012-01-15 12:49:44 -05:00
Scott González
d4bc923f56
Droppable: Fixed intersect tolerance.
2012-01-15 12:40:06 -05:00
Scott González
98795e3d91
Droppable: Use internal guid instead of jQuery.guid.
2012-01-15 11:52:01 -05:00
Scott González
b0fda0cd14
Draggable: Added handle option.
2012-01-14 16:15:02 -05:00
Scott González
d31f31cfa8
Interaction: Added _isValidTarget(), equivalent of _mouseCapture().
2012-01-14 16:14:39 -05:00
Scott González
b9db636cbe
Draggable: Cleanup.
2012-01-14 15:49:58 -05:00
Scott González
3077b608c8
Interaction: Ignore MSPointer events if they're initiated from a mouse, but not from the primary button.
2012-01-12 21:25:19 -05:00
Scott González
eee63a2e24
Datepicker i18n (nl-BE): Removed BOM.
2012-01-12 16:49:50 -05:00
clear00
c0dfa1173c
Datepicker i18n: Fix monthNames, monthNamesShort, dayNames, showMonthAfterYear on the Korean translation . Fixed #8010 - Datepicker i18n: Fix some issues on the Korean translation
2012-01-13 05:01:01 +09:00
ryanolton
82cf9e297f
Datepicker: added check to account for multiple pickers on one page. Fixed #5818 – multiple DatePickers won't trigger close event
2012-01-12 11:22:48 -05:00
Scott González
d6c3360dec
Interaction: Added TODO for MSPointer.
2012-01-11 22:47:34 -05:00
Scott González
8f712d8928
Interaction: Save some bytes.
2012-01-11 22:34:46 -05:00
Scott González
3ffb6c6a2e
Interaction: MSPointer: Optimize by ignoring MSPointerMove events with the same x/y coords as the previous event.
2012-01-11 22:31:39 -05:00
Scott González
f09288d18f
Interaction: MSPointer: Prevent mouse event promotion. Properly retrieve x/y coordinates. Handle cancel events.
2012-01-11 22:04:41 -05:00
Jörn Zaefferer
370bc00150
Menubar/Popup: Remove remaining artifact (trigger option) from menu. Missed that before
2012-01-11 19:58:46 +01:00
Scott González
a13894672a
Interaction: Initiail MSPointer implementation.
2012-01-08 22:17:19 -05:00
Scott González
7332f0e0dd
Interaction: Initial implementation of W3C Touch Events.
2012-01-08 22:01:29 -05:00
Scott González
a96232a591
Droppable: Removed interaction as dependency.
2012-01-08 21:54:49 -05:00
Scott González
c50c5c01ee
Droppable: Hook directly into drag events.
2012-01-08 21:53:47 -05:00
Scott González
e41a10b559
Interaction: Normalize top/left coordinates in hooks.
2012-01-08 21:48:53 -05:00
Scott González
49ea77eff7
Draggable: Use pageX/Y instead of clientX/Y.
2012-01-08 15:21:20 -05:00
Scott González
726d3f67c2
Interaction: Fixed unbinding of mousemove and mouseup event handlers.
2012-01-07 20:49:49 -05:00
Scott González
ed463ab80c
Merge branch 'master' into interactions
2012-01-07 20:49:06 -05:00
Scott González
3cf98e5ca1
Widget: Set guid on event handler proxies so direct unbinding works.
2012-01-07 20:48:42 -05:00
Scott González
5240f72293
Merge branch 'master' into interactions
2012-01-07 20:46:41 -05:00
Scott González
122b463c44
Droppable: Cleanup.
2012-01-07 20:45:10 -05:00
Scott González
66d11338a9
Draggable: Fixed comments about events.
2012-01-07 20:44:51 -05:00
Scott González
247c29ee93
Draggable, Droppable: Updated dependencies.
2012-01-07 12:20:49 -05:00
Scott González
b7a0c6a4cf
Draggable: Cleanup.
2012-01-07 12:18:08 -05:00
Scott González
43a93e5c33
Droppable: Cleanup.
2012-01-07 11:55:33 -05:00
Scott González
31ebe7e7da
Spinner: Allow strings for min, max, and step options, converting immediately to numbers based on numberFormat and culture.
2012-01-07 09:12:27 -05:00
Corey Frang
f63820769d
Effects: Whitespace fixes & using parseFloat instead of parseInt
2012-01-05 11:46:50 -06:00
rozwell
48659c643f
Effects: Blind effect bugfix - Pull Request #563 - No Ticket
2012-01-05 11:43:51 -06:00
Jörn Zaefferer
85348eeebe
Menubar/Popup: Remove both to streamline the 1.9 release. Will revert this delete on the menubar branch, while development on master can continue without them.
2012-01-04 16:42:16 +01:00
Alex Rhea
3c4e40d8d7
Removed regex from function and split return into two lines.
2012-01-03 13:18:13 -05:00
Alex Rhea
eef633e32a
Bug fix for isLocal function in jQuery Tabs.
...
isLocal function was not compatible with HTML5 push state as the url
could have changed since the page was loaded as in cases with
Backbone.js
2012-01-03 13:00:02 -05:00
kborchers
f0007ec745
Menu: Change first() and last() to isFirstItem() and isLastItem()
2011-12-23 09:48:14 -06:00
kborchers
c88add2269
Menu: Fix close delay and increase the default delay
2011-12-20 11:49:48 -06:00
Scott González
76c7bf6c3f
Merge pull request #553 from AlbertoMonteiro/master
...
Dialog: When destroy is called place the element back in original DOM position. Fixed #4980 - Dialog: Destroy should place element back in original DOM position
2011-12-15 12:59:39 -08:00
Alberto Monteiro
a4b7feabd3
Dialog: When destroy is called place the element back in original DOM position. Fixed #4980 - Dialog: Destroy should place element back in original DOM position
2011-12-15 17:52:49 -03:00
kborchers
cf1470dcef
Menu: Replace accidentally removed scroll-handling code in focus
2011-12-15 13:28:33 -06:00
kborchers
a8d0e4c804
Menu: Fix focus handling to keep focus on the menu and prevent jumping around within the menu on mousedown
2011-12-15 12:43:28 -06:00
kborchers
65f5d9073d
Menubar: Update the items option in Menu to the renamed menus option
2011-12-01 12:57:31 -06:00
kborchers
490dc4d36b
Merge branch 'master' into menubar_otherStructures
2011-12-01 12:53:35 -06:00
kborchers
ce7918fc73
Menu: Change items option to menus
2011-12-01 12:39:16 -06:00
kborchers
afdc577e9c
Menu: Remove the isScrolling check which nolonger seems necessary.
2011-11-30 08:39:10 -06:00
James Khoury
ce0afde900
Dialog: Modified the dialog._size() to use outerHeight in calculating the nonContentHeight. Fixed #7692 - dialog: dialog height bug is incorrect when .ui-dialog padding set.
2011-11-28 16:52:10 -05:00
meh-cfl
06f6fa8524
Autocomplete: Don't invoke a search from arrow keys when the element can have multi-line text. Fixes #7639 - Key up/key down in textarea's should optionally not toggle auto-complete.
2011-11-28 16:33:23 -05:00
Dave Stein
5d029ffab0
Draggable: Removed scrollSpeed/Sensitivity options. Consolidated scrolling code for different scrollParents
2011-11-27 18:32:34 -05:00
Dave Stein
da1b946e66
Droppable: Answered TODO comment about Math.round
2011-11-27 17:55:04 -05:00
Dave Stein
2799b4a67f
Draggable: Replaced .offset() with math. Added TODO about absolute elements within relative container
2011-11-27 17:27:55 -05:00
Dave Stein
c0c1a1d16c
Draggable: Replaced todo with actual comment in regards to CSS.
2011-11-27 17:09:50 -05:00
Dave Stein
722e4bcf18
Droppable: Added pointer intersect
2011-11-27 16:59:11 -05:00
kborchers
74a3f2ce08
Menu: Move mousedown handler into _bind and fix focusing of the Menu after click. Fixes focus issues with Selectmenu and Autocomplete.
2011-11-23 22:37:55 -06:00
Shannon
2445e20a85
Autocomplete: Making sure we do not show search menu after a blur. Fixed #7423 - Tab out of autocomplete with remote source can leave menu showing.
2011-11-23 13:39:45 -05:00
Scott González
a28fb9f98f
Merge branch 'master' into interactions
...
Conflicts:
ui/jquery.ui.draggable.js
ui/jquery.ui.droppable.js
2011-11-23 12:33:44 -05:00
Scott González
dbaa744f0c
Interaction: Initial implementation for base interaction plugin.
2011-11-23 12:03:09 -05:00
Scott González
51e1d576f6
Draggable: Cleanup.
2011-11-23 09:03:02 -05:00
Scott González
35dd0417bd
Selectable: Explicitly check event.ctrlKey now that jQuery differentiates between meta and ctrl. Fixes #7858 - ctrl-click to select multiple elements not working.
2011-11-22 08:31:11 -05:00
Scott González
24fc8d6827
Merge pull request #463 from jason-oster/master
...
Merge #463 .
2011-11-21 13:32:30 -08:00
Michael P. Jung
fdc332ed5f
Droppable: Make sure._drop is called for all relevant droppables. Fixes #6009 - Upper droppable should receive draggable. Fixes #6085 - Parent droppable takes precedence over dynamically created child droppable.
2011-11-21 16:16:32 -05:00
Scott González
5fb9629766
Widget: Simplify data normalization in _trigger().
2011-11-21 11:31:51 -05:00
Scott González
91ef69d750
Widget: Don't use $.event.props when creating events.
2011-11-21 11:14:19 -05:00
Jörn Zaefferer
66f9e12797
Widget: Remove method argument from _super and _superApply. Was a left-over from first implementation, not necessary anymore.
2011-11-18 17:08:40 +01:00
Scott González
e9f5c1857f
Droppable: Cleanup.
2011-11-17 19:48:09 -05:00
Scott González
4792d5b7af
Draggable: Cleanup.
2011-11-17 19:48:04 -05:00
Kris Borchers
e6f55967ab
Merge pull request #493 from solarprominence/patch-1
...
Datepicker: Corrected translation of the weekHeader in Ukrainian localization. Fixes #7896 Datepicker: Fix Ukrainian localization's week header
2011-11-17 14:38:28 -08:00
David De Sloovere
dfbd9be72d
Datepicker: added i18n for nl-BE. Fixes #7895 Datepicker: Add Dutch (Belgium) Localization
2011-11-17 13:43:02 -06:00
David Soms
9ebbcfe87e
Datepicker: Updated catalan translation using globalize.js as a reference ( https://github.com/jquery/globalize/blob/master/lib/cultures/globalize.culture.ca.js ). Fixes #7894 Datepicker: Update Catalan Localization
2011-11-17 13:30:01 -06:00
stojce
b2d05f8b76
Datepicker: Added Macedonian i18n for date picker plugin. Fixes #7893 Datepicker: Add Macedonian Localization
2011-11-17 12:45:36 -06:00
William Griffiths
6525365944
Datepicker: Added Welsh/UK localization. Fixes #7892 Datepicker: Add Welsh/UK Localization
2011-11-17 12:34:33 -06:00
Michel Weimerskirch
326bfec626
Datepicker: Added Luxembourgish translation. Fixes #7891 Datepicker: Add Luxembourgish Translation
2011-11-17 11:52:32 -06:00
Scott González
69f6f585ae
Merge pull request #501 from maljub01/master
...
Fixed ticket #7800 - Draggable helper="clone" doesn't remove the dragged clone if original element is removed upon drop
2011-11-17 07:31:03 -08:00
Jörn Zaefferer
a8a0b022cd
Merge pull request #469 from polomoshnov/patch-1
...
Resizable: Removed unnecessary code.
2011-11-17 06:56:45 -08:00
Scott González
4f95be1bb4
Merge pull request #429 from ckdake/master
...
Just a small typo fix
2011-11-17 05:52:24 -08:00
Scott González
924e80e576
Spinner: Handle changes to numberFormat and currency options.
2011-11-16 12:07:46 -05:00
Richard D. Worth
97bc2d9de9
Selectable: add ui-selectee class to elements matching filter on refresh. Fixes #7716 - Selectable: new elements added programatically don't have class ui-selectee
2011-11-16 10:52:12 -05:00
Scott González
e5464f8f19
Accordion: Fixed back-compat for icons.headerSelected when icons option is null.
2011-11-16 08:00:03 -05:00
Dave Stein
dac3dddd9e
Droppable: Put tolerance in allowed array
2011-11-13 18:41:29 -05:00
Dave Stein
3914cebe66
Droppable: Intersect tolerance added
2011-11-13 18:39:04 -05:00
Dave Stein
9ee7c90a59
Droppable: Added refreshPosition public method
2011-11-13 17:49:37 -05:00
Dave Stein
e8e7847a41
Droppable: over, out, and drop callbacks working
2011-11-13 17:42:05 -05:00
Dave Stein
3c6455df0b
Droppable: 2.0 initial commit
2011-11-13 17:28:56 -05:00
Dave Stein
38c06026a1
Draggable: Fixed offset calculation. Offset now passed back in uiHash.
2011-11-13 17:14:19 -05:00
Scott González
1b165148a6
Widget: Set event.target in ._trigger(). Fixes #7852 - Droppable event target changes under jQuery 1.7.
2011-11-10 07:58:58 -05:00
Richard D. Worth
1856a84d59
Popup: increased delay between focusout and focusin/mouseup as it was sometimes not high enough
2011-11-09 08:45:10 -05:00
Scott González
8fd6101c3c
Widget: Define this.document properly when instantiating a widget on a document or window. Fixes #7835 - Undefined property when creating widgets.
2011-11-07 08:39:22 -05:00
Dave Stein
1ca93b4a6c
Draggable: Added in iframeFix option
2011-11-06 17:42:35 -05:00
Dave Stein
7941f7c13f
Draggable: Redid f7ec502992
after bad merge.
2011-11-06 16:39:17 -05:00
Dave Stein
536a11893a
Draggable: Removed answered TODO
2011-11-06 16:31:09 -05:00
Dave Stein
a7cc9f8c1f
Draggable: Added back to fork
2011-11-06 16:27:06 -05:00
Dave Stein
ec9c1cf6f4
Draggable: Proper use of ._trigger for detecting preventDefault. _uiHash now returns position and helper - removed offset.
2011-11-06 16:20:56 -05:00
Gaëtan Muller
124cf3cc6c
Accordion: Fixed #7238 - Problem with accordion slide animation fixed width calculation
2011-11-06 15:21:22 +01:00
Scott González
3de7d8b68c
Position: Check for fraction support.
2011-11-02 11:09:00 -04:00
Scott González
f76873c2d2
Tabs test: Increase delay in load test.
2011-11-02 09:35:20 -04:00
Scott González
f11dab34cc
Datepicker: Changed Kazakh locale from kz to kk. Fixes #7829 - Kazakhstan language code.
2011-11-01 18:16:04 -04:00
Corey Frang
f7ec502992
Draggable: Using this.document and this.window instead of doc/win
2011-10-27 21:39:33 -05:00
Corey Frang
ec846fb723
Merge branch 'master' into interactions
2011-10-27 21:35:05 -05:00
Corey Frang
35e4ccae91
Widget: Removing code to merge clean
2011-10-27 21:34:48 -05:00
Scott González
e1e43e3109
Draggable: Add ui-draggable class.
2011-10-27 14:20:55 -04:00
kborchers
e206e54935
Menubar: Refactored _next, _prev, _right and _left into a single method called _move and then created next and previous public methods that call _move. Very similar to how Menu handles keyboard interaction.
2011-10-26 22:54:12 -05:00
=
1337573adc
Squashed commit of the following:
...
Draggable:
Fixed when cssPosition is being set.
Scrolling handles non-doc overflow.
_handleScrolling handles scrolling up and left now
Made window, doc, and window part of base widget
All parts of drag may be stopped via stopPropagation
User can now override position of draggable on start, drag, and stop
Whitespace fix
Moved overflowWidth and overflowHeight into overflow.width and overflow.height
2011-10-25 21:54:03 -04:00
ddstreet
e3156ea286
Effects Core: Do not overwrite css or class changes that aren't animated during class animation. Fixed #7106 - animateClass: css and class changes during animation are lost
2011-10-25 17:40:37 -05:00
Scott González
4cc61b459d
Autocomplete: Add 1px to the width of the menu to avoid wrapping in Firefox. Fixes #7513 - Autocomplete: long text wraps in Firefox.
2011-10-25 17:19:26 -04:00
Scott González
6625060d83
Widget: Use parentWindow if defaultView doesn't exist.
...
Thanks ronchalant
2011-10-21 09:26:07 -04:00
Scott González
a0856efef3
Widget: Added window and document properties. Fixes #7801 - Widget: Add document and window properties.
2011-10-20 16:57:47 -04:00
Scott González
c145f1698a
Button: Create text span in correct document.
2011-10-20 13:28:31 -04:00
kborchers
92c61b3507
Menubar: Allow structures other than just UL/LI
2011-10-19 13:59:07 -05:00
Corey Frang
2f89f35643
Widget: Refactoring setOptions loop to remove unnesecary closure / that reference
2011-10-19 12:54:08 -05:00
kborchers
164ebf8202
Popup: Remove any references to "that" and use _delay instead of setTimeout.
2011-10-19 10:13:05 -05:00
Hans Hillen
3c258bfa3c
Rewrite popup/menu interaction to make popup managed by menu (adds trigger option to menu). Makes popup agnostic of menu and allows datepicker to use popup (soon).
2011-10-19 12:05:37 +02:00
Marwan Al Jubeh
c3c8400289
Core, Draggable: Fixed #7800 - Draggable helper="clone" doesn't remove the dragged clone if original element is removed upon drop
2011-10-17 19:14:54 +03:00
Scott González
bdd602e21b
Spinner: Re-enable autocomplete if the page is unloaded so the browser will remember the current value when navigating through history.
2011-10-17 10:12:35 -04:00
Scott González
81b2ef4a60
Autocomplete: Re-enable native autocomplete whent he page is unloaded. Fixes #7790 - Autocomplete-enabled text input does not keep value when using back button in browser.
2011-10-17 09:25:36 -04:00
Scott González
a0946d0364
Draggable: Remove all ids when using helper: true.
2011-10-17 08:26:12 -04:00
Scott González
63374dcb52
Autocomplete: Avoid handling keypress when keydown modified the search term. Fixes #7799 - Autocomplete regression - Cannot type '&' in IE and Chrome.
2011-10-17 08:11:23 -04:00
Scott González
c4df28939c
Draggable: Use ._bind().
2011-10-14 15:03:10 -04:00
Scott González
ee094ccf4d
Draggable: Cleanup.
2011-10-14 14:29:03 -04:00
Corey Frang
d4d8d74b10
Scale: We can't detect this reliably currently, so assume all elements are positioned with left and top
2011-10-14 10:24:01 -05:00
Florian Gutmann
42d33f2f86
Dialog: fix small memory leak when having lot's of instances. Fixes #7793 - Small memory leak in ui dialog.
2011-10-14 11:18:48 -04:00
Scott González
26bcf972e6
Spinner: Fixed mousewheel stop timer.
2011-10-13 16:47:01 -04:00
Scott González
4694f85d4c
Spinner: Adjust height check for IE 6 rendering.
2011-10-13 16:39:14 -04:00
kborchers
9a274c0675
Menu: Check if menu is scrolling to prevent inadvertent mouseover events from being fired on scroll
2011-10-12 16:13:34 -05:00
Scott González
75415b35ea
Autocomplete: Don't react to the escape key if the menu isn't open. Fixes #7579 - autocomplete overwrites input erroneously when user hits ESC before timeout expires.
2011-10-12 16:25:59 -04:00
Scott González
84e99650bf
Autocomplete: Added missing semicolon.
2011-10-12 13:58:02 -04:00
Scott González
d8b0ce8db2
Autocomplete: Use strict equality check.
2011-10-12 13:53:50 -04:00
Scott González
ea19645c20
Autocomplete: Don't react to menu blurs. Fixes #7742 - Autocomplete: Blur should not change the value of the input.
2011-10-12 13:38:38 -04:00
kborchers
f24ab94f86
Popup: Removed the focusout and focusin handlers which are nolonger necessary. Also updated the tooltip style demo to have a little more interactive content.
2011-10-11 00:06:09 -05:00
igor milla
f25937b215
jquery.ui.datepicker-uk.js : Corrected translation of the weekHeader.
2011-10-11 02:09:08 +03:00
Scott González
fa26847f91
Tabs: Force ajax tabs to resolve asynchronously to avoid a bug caused by cached XHRs resolving immediately in IE.
2011-10-10 15:34:47 -04:00
=
c8e13708eb
Draggable: Scrollbars being handled when scrollParent is document
2011-10-09 00:54:47 -04:00
=
e43ce91212
Draggable: No longer overwriting _trigger
2011-10-08 23:34:26 -04:00
=
7745d61a24
Draggable: No longer using disableSelection in favor of preventDefault
2011-10-08 23:30:03 -04:00
=
7ef6df95eb
Draggable: Helper option can now take function that returns DOMElement
2011-10-01 12:38:48 -04:00
=
1f23656fe2
Draggable: Fixed coding style, moved properties out of prototype
2011-10-01 12:05:36 -04:00
Marian Rudzynski
8d09f750a4
Menubar: moved mouseleave _bind call into existing _bind block, added the mouseenter binding back in to help with accidental quick mouseouts causing the menu to close and use same close time for all
2011-10-01 10:56:49 -04:00
David Leal
663719863f
Autocomplete: Fix stray reference to element.val().
2011-10-01 12:06:40 +01:00
Scott González
1e395ecf08
Accordion: Fixed nested accordions.
2011-09-30 17:06:22 -04:00
Corey Frang
e8ba367a58
Effects: fixing an animateClass issue when the class was empty
2011-09-29 20:45:23 -04:00
Corey Frang
dda67fc171
Effect core: Making animate class cross-frame safe, style guidence
2011-09-29 18:55:58 -04:00
kborchers
ac8a19b62d
Menubar: Fixed an issue with autoExpand binding that caused the menu to close on fast mouseenter by changing to _bind on the parent menubar item
2011-09-29 14:23:26 -05:00
Scott González
c2f036277c
Spinner: Added culture option.
2011-09-28 18:30:58 -04:00
Scott González
d85c67dd96
whitespace
2011-09-27 22:02:07 -04:00
Dave Stein
cb828a52bd
Draggable: Code style better matching style guideline
2011-09-27 21:33:38 -04:00
Dave Stein
05b1d23990
Draggable: Initial commit for new implementation, clone is only usable option
2011-09-27 21:10:59 -04:00
Richard D. Worth
228b1b191b
Sortable: replaced hard-coded sortable with this.widgetName, and removed lines from destroy that are handled by super. Fixes #7741 - ui.sortable is not working when it is extended
2011-09-27 07:57:06 -04:00
Jörn Zaefferer
cf3e655be1
Autocomplete: Delay option just delays request, doesn't clear existing timeout, therefore not preventing unncessary requests. Calling abort() on existing requests has no effect for JSONP, but even then its unncessary to start a request if the user is still typing. Works fine in 1-8-stable.
2011-09-24 19:07:08 +02:00
Jörn Zaefferer
bf51b0e71c
Spinner: Fix the IE6-height-fix to not break the spinner when initialized while not visible
2011-09-24 14:36:39 +02:00
polomoshnov
0b4f80899c
Removed unnecessary code.
2011-09-23 13:57:02 +12:00
Corey Frang
34a0479d1c
Menu: Refactoring the collapseAll to deal with some issues selecting - Updating unit tests. Thanks @kborchers
2011-09-22 15:30:46 -05:00
Jörn Zaefferer
cb372b7c20
Popup: Make menu dependency actually optional, cleanup demos
2011-09-21 22:54:29 +02:00
Jörn Zaefferer
a3866bf057
Popup: Use duration:fast for default animations. Also fix two missing semicolons.
2011-09-21 22:48:55 +02:00
kborchers
2196b74a31
Popup: Added show/hide animations and a demo
2011-09-21 10:42:07 -05:00
Jörn Zaefferer
6d430e4fd3
Merge remote branch 'kborchers/menu_notJustUL'
2011-09-19 10:18:04 +02:00
kborchers
7f808b2047
Position: Check to also make sure to only flip if more of the element is inside "within"
2011-09-16 11:52:22 -05:00
Scott González
a60a99ee48
Merge remote branch 'kborchers/bug_7686'
2011-09-16 10:45:35 -04:00
Jay Oster
c36b43d0ee
Datepicker: Fix this
reference in _hideDatepicker(). Fixed #7722 - Datepicker: Does not properly clear current instance when hidden.
2011-09-15 17:02:18 -07:00
kborchers
9e617bbad1
Menu: Add support for structures other than UL/LI plus visual and unit tests
2011-09-14 10:29:36 -05:00
Scott González
6807d588ee
Spinner: Work around a bug in IE 6 with the height of the buttons.
2011-09-14 09:41:57 -04:00
Scott González
91786d550b
Spinner: Added missing dependency to header comment.
2011-09-14 09:01:29 -04:00
Scott González
42337dd959
Spinner: Fix step mismatches whenever stepping, paging or using the value setter.
...
Thanks Nate Ferrero
2011-09-14 08:55:22 -04:00
Richard D. Worth
cedac75bcc
Datepicker i18n hu: Corrected four-digit year in dateFormat. Fixes #7714 - Hungarian translation
2011-09-13 05:06:06 -04:00
Richard D. Worth
b8821d945e
Datepicker i18n hu: Corrected some spellings and abbreviations as well as dateFormat. Fixes #7714 - Hungarian translation
2011-09-13 04:57:31 -04:00
Jörn Zaefferer
61290de86d
Spinner: Replace var that with this and _delay
2011-09-13 00:28:29 +02:00
Jörn Zaefferer
45ed8d8447
Popup: Replace var that with this and _delay
2011-09-13 00:27:54 +02:00
Jörn Zaefferer
e1ec6f8ebb
Menu: Refactor to get rid of var that. Cleanup some odd formattings and unneeded temp vars
2011-09-13 00:24:43 +02:00
Jörn Zaefferer
ae0c4e44ff
Merge remote branch 'kborchers/menu_autoCollapse'
2011-09-12 23:54:19 +02:00
Jörn Zaefferer
bf26bf1ac4
Menu: Get rid of var self
, replacing with that
or calls to _delay
2011-09-12 23:52:17 +02:00
Jörn Zaefferer
3a0340f4ee
Widget: return timer value from _delay
2011-09-12 23:47:09 +02:00
Jörn Zaefferer
30482cd04b
Widget: Get rid of var self
2011-09-12 23:41:01 +02:00
Jörn Zaefferer
2a6ca3fb39
Widget: Add a _delay method. Will be used in various places to replace setTimeout with custom binding (mostly getting rid of var self/that)
2011-09-12 23:37:14 +02:00
Jörn Zaefferer
609e1f87f4
Menu: Replace regular bind call with _bind
2011-09-12 23:19:19 +02:00
kborchers
af76ad1c82
Datepicker: Added additional check to checkExternalClick to work when clicking in another datepicker and removed old fix. Fixes #7686 - infinite loop when onclose event shows a second calendar
2011-09-12 13:30:41 -05:00
kborchers
94317d7aa4
Menu: Added autoCollapse as the default and added a unit test
2011-09-12 08:43:49 -05:00
Scott González
7216c08b2f
Spinner: Added ability to specify custom incremental function.
2011-09-09 20:08:51 -04:00
Scott González
4387d19030
Spinner: Default min and max options to null.
2011-09-09 19:24:10 -04:00
Scott González
c1cda180a9
Tabs: Find panels using aria-controls instead of index for remove method. Fixes #7698 - Panels do not sort when a tab is sorted which can cause a mismatch error when a tab is removed.
2011-09-06 13:01:01 -04:00
Scott González
08450c3b2d
Button: Fixed RTL detection to default to LTR. Fixes #7697 - Buttonset: Incorrect corners for disconnected elements.
2011-09-06 11:00:42 -04:00
Jörn Zaefferer
02c821da6e
Popup: Missing semicolon. Can't use :ui-button selected if button isn't loaded.
2011-09-05 17:59:36 +02:00
Scott González
c5ba0535cf
Autocomplete: Fixed setting of valueMethod for textareas. Fixes #7674 - Autocomplete doesn't work with textareas.
2011-08-30 20:45:48 -04:00
Scott González
87f78973b9
Tabs: Pass the required deep parameter to cloneNode(). Fixes completely broken tabs in Opera.
...
Thanks monoblaine.
2011-08-30 20:22:35 -04:00
Corey Frang
dfe75e1b55
Dialog: Update to 96e5c24
- keyup apparently doesn't work like I thought it would everywhere, switching back to keydown.
2011-08-20 18:05:39 -05:00
Corey Frang
96e5c241e1
Dialog: Tabbing out of a modal dialog was possible because keypress doesn't fire for tabs everywhere, switched to keyup. Added Unit Test - Caught by @DomenicDenicola - Fixes #3123 - Tabbing stops in modal dialog
2011-08-19 06:03:59 -05:00
Jörn Zaefferer
fb57cc8aba
Tooltip: Change default to flipfit for both dimensions, now that it is available. Fixes positioning issue when tooltipped element is at the top of the screen.
2011-08-18 21:39:27 +02:00
Jörn Zaefferer
25f2113cc1
Merge remote branch 'kborchers/position_flipfit2'
2011-08-15 11:32:49 +02:00
Scott González
1aea0ff4b8
Spinner: Removed value option. Don't change empty values to zero on init. Don't enforce min/max on blur.
2011-08-13 19:05:04 -04:00
kborchers
80bbebd489
Position: Added better collision detection for flip and fit, added visual tests for each and updated the unit tests to take the changes into account. In the process, I removed the rounding that was being done to the position since older jQuery couldn't handle the fractions. There was another pull for this same issue and I have merged the unit tests from that pull into this commit. Also added flipfit!
2011-08-12 22:19:52 -05:00
Scott González
257021b1af
Spinner: Fixed precision when stepping.
...
Thanks hughlomas
2011-08-12 23:11:35 -04:00
Scott González
6c1bf56029
Spinner: Moved all event handlers into an object.
2011-08-12 22:33:44 -04:00
Scott González
4587f2de68
Widget: Use this.widget() for event delegation.
2011-08-12 22:10:31 -04:00
Scott González
18a3b53988
Tabs: Fixed detection of local vs. remote tabs. Fixes #4941 - Mishandling of base tag. Fixes #4836 - Self refering href only partially detected.
2011-08-11 16:48:58 -04:00
Chris Kelly
478a01582c
Typo fix: loose -> lose
2011-08-10 16:01:44 -04:00
Scott González
ac04462d22
Tabs: Cleanup.
2011-08-10 09:30:52 -04:00
Scott González
de7fd4c130
Spinner: Fixed integration with globalize.
2011-08-10 09:15:47 -04:00
Jörn Zaefferer
56e9cd7119
Replace $.global with Globalize, update Spinner to use it. Related demos currently broken due to previous changes.
2011-08-10 14:55:16 +02:00
Scott González
bb79b41871
Datepicker: Revert "Datepicker: Removing unnessecary typeof check. Fixed #6669 - Datepicker: _selectDate restores focus to non-object" Fixes #7623 - DatePicker reappears after selection in ie8.
...
This reverts commit 5f0a2f01c4
.
2011-08-10 07:55:19 -04:00
Scott González
7c7d3df8e7
Spinner: Return formatted value when using value method.
2011-08-09 21:38:19 -04:00
Scott González
92766654ae
Widget: Wrap the remove event trigerring in a try/catch. Fixes #7510 - jQuery.data throws a script error in certain circumstances.
2011-08-09 11:45:41 -04:00
Karl Kirch
d146297356
Datepicker: Added ability to stop datepicker from beforeShow. Fixes #7602 - Ability to stop datepicker from appearing with beforeShow event handler.
2011-08-09 09:55:50 -04:00
Scott González
7f812f8be9
Mouse: Work around a bug in IE 8 where disabled inputs don't have a nodeName. Fixes #7620 - Mouse: Error in IE 8 with disabled inputs.
2011-08-09 09:32:01 -04:00
Scott González
e827a0e280
Revert "Datepicker: Added onSelect.apply() call to _setDate method if onSelect is defined. Fixed #6264 - Datepicker: onSelect does not fire when setDate is called"
...
This reverts commit effdd5d19c
.
2011-08-09 08:26:33 -04:00
Jörn Zaefferer
f8f38e86c4
Merge remote branch 'kou/autocomplete-destroy-search-timeout'
2011-08-09 12:09:52 +02:00
Scott González
8c5a6f7241
Spinner: Use a polynomial instead of hard-coded blocks for incremental stepping.
2011-08-07 19:21:23 -04:00
Scott González
2a8a77a9b2
Spinner: More tests. Don't trigger spin when programmatically stepping or paging.
2011-08-07 19:11:49 -04:00
Scott González
6c84531d7c
Spinner: Fixed double firing of change event when setting the value option directly.
2011-08-07 12:38:01 -04:00
Scott González
6c9dac29a5
Spinner: Don't need to call _format() and _aria() in _setOptions() since it's wrapped as a modifier.
2011-08-07 12:30:33 -04:00
Scott González
dd0a436c37
Spinner: Trigger change event when the value is changed programmatically.
2011-08-07 12:27:14 -04:00
Scott González
bea9933a8b
Spinner: Re-render value if numberFormat option changes.
2011-08-07 11:35:38 -04:00
Scott González
051b9e07d9
Spinner: Use _getCreateOptions() for value.
2011-08-07 08:20:14 -04:00
Kouhei Sutou
b83a2063cf
Autocomplete: ensure clear searching timeout on destroy.
2011-08-07 15:50:34 +09:00
Scott González
e9cdd576f4
Merge branch 'spinner-getCreateOptions'
...
Conflicts:
ui/jquery.ui.spinner.js
2011-08-06 20:08:50 -04:00
Scott González
e4898fdfc6
Spinner: Added comment with formula that approximates current incrementing logic.
2011-08-06 17:10:09 -04:00
Scott González
b10c4cdab5
Spinner: Define defaults for callbacks.
2011-08-06 17:08:50 -04:00
Scott González
2b22bbdd6a
Spinner: Only trigger change when the field has blurred and the value has changed.
2011-08-06 15:32:19 -04:00
Scott González
08a7a11a1b
Spinner: Don't set focus on stop, focus should already be correct. Always remove ui-state-active on blur, since we no longer blur when interacting with buttons.
2011-08-06 15:26:12 -04:00
Scott González
64cdaa82e6
Spinner: Keep the focus on the text field even when using the buttons.
2011-08-06 15:07:34 -04:00
Scott González
fb5cad37ce
Spinner: Don't clear invalid values on blur (but clear the value option).
2011-08-06 13:28:25 -04:00
Scott González
4d2ac1abca
Spinner: Don't stop propgation of mousedown. Added TODOs.
2011-08-06 13:27:42 -04:00
Scott González
e4c0f202c8
Spinner: Use _getCreateOptions() instead of custom _markupOptions().
2011-08-06 12:58:37 -04:00
Scott González
c1da941f9f
Spinner: Invoke _markupOptions() before _draw().
2011-08-06 12:53:49 -04:00
Scott González
c4bd14f1bb
Spinner: Don't stop propagation for keydown events.
2011-08-06 12:49:11 -04:00
Scott González
6981cab9c4
Spinner: Cleanup, use ._bind() and ._hoverable().
2011-08-06 12:38:59 -04:00
Corey Frang
065aef537b
Button: Adding quotes to the attribute selector for labels - Fixes #7534 - Button label selector omits quotes / fails for ids with ":"
2011-08-03 22:16:34 -05:00
Scott González
e15c32d067
Merge pull request #413 from kborchers/bug_4333_3
...
Mouse: Changed mouseHandled check to a local var rather than using originalEvent. Fixed #4333 - Nested draggables problem in IE
2011-08-02 16:24:27 -07:00
Corey Frang
8108ec82db
Effects: Adding a check to retain focused elements after wrapping and unwrapping in animations - Fixes #7595 - Wrapper-creating jquery-ui animations will discard any focus state during the animation - Thanks @rubyruy
2011-08-02 16:54:24 -05:00
kborchers
dafc941b36
Mouse: Changed mouseHandled check to a local var rather than using originalEvent. Fixed #4333 - Nested draggables problem in IE
2011-08-02 08:36:22 -05:00
Scott González
70687f7955
Datepicker: Removed click handling for month and year dropdowns. Fixes #6198 - Datepicker Month and Year dropdowns in IE have to click twice.
...
Thanks jdufresne
2011-08-01 15:28:37 -04:00
Scott González
350e4ab5b8
Revert "Mouse: Changed mouseHandled check to a local var rather than using originalEvent. Fixed #4333 - Nested draggables problem in IE"
...
This reverts commit 9c50bdfde0
.
2011-08-01 14:16:16 -04:00
Corey Frang
38028f6de1
Autocomplete: Correcting readOnly from readonly - @scottgonzalez
2011-07-29 13:12:34 -05:00
Jörn Zaefferer
0ff3396e88
Widget delegation: Small if-simplify refactoring
2011-07-28 21:55:38 +02:00
Jörn Zaefferer
a57c435257
Whitespace
2011-07-28 15:56:57 +02:00
Jörn Zaefferer
5e35a0c55b
Widget delegation: Put back the simple click event handler where it was.
2011-07-28 15:55:56 +02:00
Jörn Zaefferer
5b45d618dc
Widget delegation: Further simplify menu code, blur handler also doesn't do anything
2011-07-28 15:53:55 +02:00
Jörn Zaefferer
9e2efe95b2
Widget delegation: Further simplify menu code
2011-07-28 15:52:52 +02:00
Jörn Zaefferer
02aad7b0ae
Widget delegation: Update menu to use _bind with delegation. Clean up test.
2011-07-28 15:47:59 +02:00
Jörn Zaefferer
5a45f483d7
Merge branch 'master' into widget-delegation
2011-07-28 15:16:20 +02:00
kborchers
e16e99a154
Menu: Added focusing first menu item when menu receives focus and collapseAll when menu loses focus (blur).
2011-07-26 08:52:33 -05:00
Jörn Zaefferer
f89091105f
Merge remote branch 'kborchers/menu_home_end'
2011-07-25 23:57:51 +02:00
Scott González
19a9de7e66
Merge branch 'master' into core-1.6.1
...
Conflicts:
demos/menubar/default.html
tests/unit/autocomplete/autocomplete.html
tests/visual/effects/effects.all.html
ui/jquery.ui.menu.js
ui/jquery.ui.popup.js
2011-07-25 11:53:14 -04:00
Scott González
f59a3e91e3
Datepicker: Use .attr() for size.
2011-07-25 11:13:54 -04:00
kborchers
23340f1162
Menu: Added Home moves to first item and End moves to last item in currently active menu or submenu. Also fixed PageUp and PageDown so that they don't wrap back around to other end of menu. Also fixed scrolling to use activeMenu rather than element to all. Also added unit tests for keyboard nav
2011-07-25 09:13:13 -05:00
Scott González
e2a9b0c568
Merge pull request #368 from kborchers/bug_3532_2
...
Accordion: Stop current hide animation, jump to last animation and calculate percentages for padding in addition to height. Fixes #3532 - Accordion: Activating a panel during animation fails
2011-07-20 06:30:51 -07:00
kborchers
5f02a8ff1f
Accordion: Stop current hide animation, jump to last animation and calculate percentages for padding in addition to height. Fixes #3532 - Accordion: Activating a panel during animation fails
2011-07-20 08:19:01 -05:00
kborchers
8224c675e1
Menu: Passed the original event that causes a blur through collapseAll to blur, then trigger a blur on the menu. Fixes failing unit test provided by @rwaldron which has been included in this commit
2011-07-19 16:15:59 -05:00
Richard D. Worth
5002bf6185
Datepicker i18n: Corrected Dutch abbreviation of month name March. Fixed #7566 - Dutch march name translation
2011-07-19 11:03:22 -04:00
Richard D. Worth
b8af0d1f75
Datepicker: show inline datepicker setting explicit display:block instead of using .show() in case it is disconnected. Fixed #7552 - A Datepicker created on a detached div has zero height
2011-07-19 07:59:21 -04:00
kborchers
6d0859f716
Menu: Changed closeAll to collapseAll and updated in Menubar, also updated a reference to left in Menubar to collapse.
2011-07-14 11:38:03 -04:00
Jörn Zaefferer
11d24ee84c
Menu: Fix formatting and whitespace (was supposed to update previous commit)
2011-07-14 11:10:28 -04:00
kborchers
f41d2378f9
Menu: Check if submenu is already open and if so, don't call open again. Fixes Firefox bug where a mouseover of an icon adjusted the position of a submenu by a half pixel
2011-07-14 11:08:28 -04:00
Jörn Zaefferer
2803417dc4
Tooltip: Handle ESCAPE key event to close tooltip when target has focus.
2011-07-13 18:06:16 -04:00
kborchers
bc93b3ff08
Menu: Remove the ui-state-active class from the siblings of the newly activated menu item without a delay to fix a bug where mouseover of a menu item directly adjacent to the active item would cause a 1 pixel jump due to both items having a class with a border (ui-state-active and ui-state-focus)
2011-07-13 15:33:17 -05:00
Jörn Zaefferer
7856b264a2
Menubar: Trigger select event after running all other methods. Allows the select-handler to destroy the widget without errors.
2011-07-13 11:03:31 -04:00
Scott González
06676f4696
Accordion: Fixed key handling.
2011-07-12 20:50:43 -04:00
Scott González
0080f2d581
Use .attr() for boolean ARIA attributes.
2011-07-12 11:36:34 -04:00
Jörn Zaefferer
bfbb9e3b23
Merge remote branch 'bmsterling/position'
2011-07-12 11:10:40 -04:00
kborchers
9f5050ee06
Menu: Added close on click outside using technique from popup
2011-07-12 11:03:10 -04:00
Scott González
0dc4a48762
Dialog: Append the dialog to the body early to make sure styles from the classes get applied.
2011-07-12 09:16:22 -04:00
Benjamin Sterling
d5452c0ec2
Position: Add flip-classes. Fixes #5937 - Position: Add ability to determine if the element is flipped via css
2011-07-11 19:49:56 -04:00
Jörn Zaefferer
954419f94e
Merge remote branch 'kborchers/menubar-autoExpand'
2011-07-09 22:40:14 -04:00
kborchers
40aa8f5715
Menubar: Added the autoExpand option and modified the default demo to show functionality
2011-07-07 09:29:50 -05:00
Jörn Zaefferer
0245b72af8
Merge remote branch 'kborchers/menu-expand-collapse'
2011-07-06 16:56:23 -04:00
kborchers
5d2b683761
Menu: Changed left and right methods to collapse and expand respectively.
2011-07-05 10:02:33 -05:00
Jörn Zaefferer
96de2aa04a
Merge remote branch 'pgraham/master'
2011-06-28 16:41:36 -05:00
Philip Graham
76e2b98a31
Updated guard against unparsed characters to allow extra characters as long as they are separated from the date by whitespace. This maintains compatibility with timepicker extensions.
...
Fixes #7244 - Datepicker: parseDate() does not throw an exception for long years
2011-06-28 16:40:28 +00:00
marcneuwirth
effdd5d19c
Datepicker: Added onSelect.apply() call to _setDate method if onSelect is defined. Fixed #6264 - Datepicker: onSelect does not fire when setDate is called
2011-06-28 10:59:08 -05:00
marcneuwirth
a56aa861b1
Datepicker: Added onSelect.apply() call to _doKeyDown method when enter button pushed if onSelect is defined. Fixed #7124 - Datepicker: onSelect does not fire when enter button is pushed
2011-06-28 10:49:47 -05:00
Corey Frang
d18cd7ed0f
Effects.core: Check Visibility vs 'hide' and 'show' modes, finish immediately if neccessary - Fixes #6715 - Hide and Show try to affect hidden and showing elements
2011-06-23 07:22:34 -05:00
marcneuwirth
5f0a2f01c4
Datepicker: Removing unnessecary typeof check. Fixed #6669 - Datepicker: _selectDate restores focus to non-object
2011-06-22 04:03:55 -05:00
gnarf
ab627e03a6
Effects.*: DRY the complete callback execution into the 'done' callback passed into an effect
2011-06-21 01:18:19 -05:00
gnarf
65a6c46e55
Effects.*: Style Guidance
2011-06-21 01:18:11 -05:00
gnarf
1c1a3b1a36
Effects.*: Updating Effect Method API to avoid duplicating the queue call - Fixes #7318 - Add the queue functions to $.fn.effect()
2011-06-21 01:18:01 -05:00
Jörn Zaefferer
5297b7bc42
Whitespace cleanup
2011-06-20 22:31:28 +02:00
Jörn Zaefferer
8b14b35dc7
Widget delegation: Fix impl and add basisc test
2011-06-19 14:59:18 +02:00
Jörn Zaefferer
aa7f8195f8
Merge branch 'master' into widget-delegation
2011-06-19 14:45:20 +02:00
Scott González
fb210ae1ec
Merge pull request #353 from kborchers/bug_7043
...
Datepicker: Calculate the max number of rows necessary when displaying months. Fixes #7043 - Datepicker: Using multiple months always renders 6 rows of dates even if only 5 are needed
2011-06-16 10:35:04 -07:00
Corey Frang
4bdbab9a67
Merge pull request #322 from kborchers/bug_5665
...
Datepicker: Added checks for the disabled option. Fixed #5665 - Datepicker: Disabled parameter doesn't work
2011-06-16 00:40:10 -07:00
gnarf
c1f71f1c2f
Effects.scale: Update the position of the element post animation to avoid jumping - Fixed #4316 - Element jumps to wrong position after scale effect with origin: ['middle','center'] parameter
2011-06-14 15:10:54 -05:00
beatryder
b0182d7822
Spinner: modified _spin and _setOption to call new method _trimValue to check for min/max values. Fixed #7264 - Spinner returns values beyond min and max, off by one
2011-06-13 20:42:45 -05:00
kborchers
ed7802090f
Datepicker: Reset this.maxRows (rows in a month) on each row in a multi-row datepicker.
2011-06-13 10:54:40 -05:00
tomykaira
3e0d3c9225
Effects.transfer: check the target is fixed or not, and consider scrolling. Fixed #5547 - Transfer effect to fixed positioned element.
2011-06-10 15:52:27 -05:00
Scott González
154c5e5fd1
Position: Coding standards.
2011-06-10 16:07:03 -04:00
gnarf
85eeaf0b05
menu: Second pass style guidance
2011-06-10 07:23:01 -05:00
gnarf
e993a9b210
menu: Partial Style Guidance - Fixing JSLint Warnings
2011-06-10 05:28:13 -05:00
Jörn Zaefferer
3315502ba4
Merge remote branch 'hanshillen/popup-hh'
2011-06-10 12:17:12 +02:00
Hans Hillen
7ccb0e52c4
Use of _bind, maintain original tabindex value for popup
2011-06-10 11:42:43 +02:00
gnarf
1350e547ff
Merge branch 'effects-clean'
2011-06-09 20:43:28 -05:00
tomykaira
2c8151848d
effects.core: Convert elements height/width to px and restore after animation in all effects. Fixed #5245 - Relative width elements break when wrapped for effects
2011-06-09 20:38:09 -05:00
tashekelahi
19dcac2129
Position: added check for undefined value of offset. Fixed #7458 - ui.position offset property creates error when set to undefined
2011-06-09 21:05:33 -04:00
Jörn Zaefferer
7281f9f229
Update menubar to forward menu option to nested menus, update default demo to set within update to the demo frame (for /demos) or window (standalone). Update visual test to have more useful defaults
2011-06-09 17:14:21 +02:00
Jörn Zaefferer
433ed6eecf
Merge remote branch 'davidmurdoch/ticket-5645'
2011-06-09 16:40:50 +02:00
Scott González
3dea8f1786
Widget: Added ability to get deep options. Fixes #7459 - Widget: Extend .option() to get partial nested options.
2011-06-09 09:47:18 -04:00
Scott González
da84672db8
.attr() -> .prop()
2011-06-08 17:02:57 -04:00