Commit Graph

2387 Commits

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