Commit Graph

2664 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
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
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
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
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
Jörn Zaefferer
2d1b9b391e Widget delegation: First draft 2011-06-08 22:14:37 +02:00
gnarf
d31dd18561 effects.clip: Style Guidance, reorganizing vars for better compression 2011-06-04 16:03:15 -05:00
Scott González
e530d06c98 Tooltip: Pass the tooltip element in the open and close events. 2011-05-30 18:42:06 -04:00
Scott González
1b52cefc26 Widget: Fixed _show() and _hide() implementation and added tests. 2011-05-30 18:27:48 -04:00
Hans Hillen
6d01873dd8 Fix various pull request comments and coding standards issues 2011-05-30 23:37:14 +02:00
Jörn Zaefferer
27a4fdd8ed Spinner: disable text selection on buttons (plus minmal whitespace cleanup) 2011-05-30 20:08:58 +02:00
Scott González
8c085cd27c Tooltip: Fixed handling of disabled tooltips. 2011-05-29 20:50:21 -04:00
Scott González
b6cda3dfee Tooltip: Added some comments. 2011-05-29 19:41:57 -04:00
Scott González
0fc41bcc4d Tooltip: Use bgiframe if available 2011-05-29 19:28:35 -04:00
Scott González
133fba2ad9 Tooltip: Don't close tooltips on mouseleave if the element is still focused. 2011-05-29 19:21:31 -04:00
Scott González
917d2b1358 Tooltip: Don't mess with the title attribute if it doesn't exist. Prevents the creation of a title attribute if there wasn't one to begin with. 2011-05-29 13:34:37 -04:00
Scott González
2a92b3ad8e Tooltip: Change default collision detection to 'flip fit' since the default vertical positioning is centered and can't flip 2011-05-29 12:29:11 -04:00
Scott González
8fc6ee6a19 Tooltip: Coding standards. 2011-05-28 20:30:14 -04:00
Scott González
9e4576bca9 Tooltip: Alphabetized options. 2011-05-28 20:19:23 -04:00
Scott González
74df32f91e Tooltip: Removed click handler. 2011-05-28 20:15:26 -04:00
Scott González
6bc220587e Tooltip: Fixed tracking of tooltip elements. 2011-05-28 19:38:01 -04:00
Scott González
2155993096 Tooltip: Fixed tooltipClass option and added test. 2011-05-28 17:55:45 -04:00
Scott González
4dbfdcede3 Tooltip: Allow content updates via async response regardless of whether a sync response came back. Added more tests. 2011-05-28 17:36:57 -04:00
Scott González
2fbd310a15 Tooltip: Added a destroy method to remove generated tooltip elements. 2011-05-28 16:20:01 -04:00
Scott González
b6aee87763 Menubar: Whitespace. 2011-05-28 15:42:28 -04:00
Scott González
6a5b21fda2 All: Moved version numbers into prototypes. Fixed #7436 - Widget: Store version numbers on instances. 2011-05-28 15:39:55 -04:00
Scott González
2f3284811c Tooltip: Proper handled of disabled option. 2011-05-28 15:25:05 -04:00
Scott González
d43118dfba Tooltip: Cleanup. 2011-05-28 11:43:57 -04:00
Scott González
d4f6f17c8d Tooltip: Changed custom animation demo and changed the logic for showing tooltips so custom position options can perform animations. 2011-05-28 10:18:39 -04:00
Scott González
e7be72ff06 Tooltip: Coding standards. 2011-05-27 20:05:20 -04:00
kborchers
1d984e76b7 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-05-27 15:10:53 -05:00
Scott González
12f73d623e Merge pull request #352 from kborchers/bug_5003_3
Droppable: Added dragStart and dragStop to ddmanager and call them from draggable to recalculate droppable positions after a drag causes a scroll. Fixes #5003 - Scroll on Droppable Demo Breaks Demo
2011-05-27 12:29:28 -07:00
kborchers
67bd872fe1 Droppable: Added dragStart and dragStop to ddmanager and call them from draggable to recalculate droppable positions after a drag causes a scroll. Fixes #5003 - Scroll on Droppable Demo Breaks Demo 2011-05-27 12:01:42 -05:00
Scott González
8a972f5cce Autocomplete: Whitespace. 2011-05-27 08:35:18 -04:00
Jay Merrifield
09e88d6220 Mouse: Optimize the cancel locator, works around a bug where .add(event.target) in IE8 can take a long time when there are multiple siblings. Fixes #7118 - IE Bug Large ComboBox (Dialog) 2011-05-26 23:42:51 -04:00
Jay Merrifield
e34dbfeef0 Dialog: Removed the height() tinkering which stops the dialog from shrinking. Fixes #5916 - Dialog: shrinks on drag in IE in standards mode, worse in quirksmode. 2011-05-26 23:30:56 -04:00
David Murdoch
c7eae7b264 Dialog: Make close() a noop if the dialog is already closed. Fixes #7327 - Dialog box size and close animation bugs. 2011-05-26 19:29:11 -04:00
Jeff Remy
981e96948f Resizable: correct aspectRatio handling with min/max dimensions. Fixed #4951 - Resizable with aspectRatio true & a maxWidth doesn't obey ratio once hit max width. 2011-05-26 19:08:58 -04:00
Andrew Powell
597a313ab6 Button: adding event.preventDefault. Fixes #5945 - Disabled buttons still allow clicks 2011-05-26 12:28:25 -04:00
Glenn Goodrich
c49dbe0f01 Button: modified the event bindings for focus and blur. Fixed #6711 - checkbox/radio button do not show focused state when using Keyboard Navigation 2011-05-26 11:28:17 -04:00
David Murdoch
40c0088721 Fix visual test in IE6 and move the new helper functions for getting scrollbar properties to $.position 2011-05-26 14:22:12 +00:00
tomykaira
7d232f7534 effects.scale: fix: calculate top / left by outerHeight / Width. Fixed #6096 - effects.scale origin bottom bug 2011-05-26 11:15:14 +09:00
David Murdoch
cde7cc0e6f updated tests to account for scrollbar width/height 2011-05-26 01:15:05 +00:00
David Murdoch
c11ac9c3f3 Now takes scrollbar width into account in collision detection 2011-05-26 00:53:16 +00:00
Hans Hillen
ab2bbd3bab Key event fix 2011-05-26 00:31:16 +02:00
Scott González
fe4ae30458 Merge pull request #294 from kborchers/bug_4088
Sortable: Changed to check the parent's length so that the dom position of the removed element is not updated. Fixed #4088 - Unable to remove() ui.draggable (sortable item) immediately after the drop callback.
2011-05-25 13:12:37 -07:00
tomykaira
129d5c75ac effects.blind: Save the wrapper status if already wrapped. Fixes #6245 - position: absolute is lost when .stop() is used with .show('blind'). 2011-05-25 15:52:53 -04:00
Scott González
af35f0bbc9 Spinner: Changed casing of option numberformat -> numberFormat. 2011-05-25 15:44:43 -04:00
Hans Hillen
f45fc08f86 wrapping tab order for popup 2011-05-25 14:58:26 +02:00
kborchers
ab365be03d Datepicker: Added checks for the disabled option. Fixed #5665 - Datepicker: Disabled parameter doesn't work 2011-05-20 13:44:14 -05:00
gnarf
4fc5ea141d Unit Tests & effects.scale: Fixing bugs in effects unit tests - Particularly IE, found a bug in scale.js in the meantime. Fixes #7395 - Size based effects are breaking unit tests in IE - also leaking a global var 2011-05-18 18:13:37 -05:00
Jörn Zaefferer
4f0f407df3 Merge remote branch 'treyhunner/topic/autocomplete-pasting' 2011-05-18 17:47:01 +02:00
Jörn Zaefferer
92b0f6702a There's no guard against unparsed characters at the end of the date string, any extra characters are just ignored
Fixes #7244 - Datepicker: parseDate() does not throw an exception for long years
2011-05-18 17:30:26 +02:00
Jörn Zaefferer
ba6dd5c180 Merge branch 'master' of github.com:jquery/jquery-ui 2011-05-18 17:12:52 +02:00
Jörn Zaefferer
1c193085e1 Merge remote branch 'kborchers/bug_3623' 2011-05-18 17:07:02 +02:00
kborchers
4ff8d90a82 Accordion: Added check to not allow 0 height on empty panels causing height issues on non-empty panels. Fixed #7335 - Accordion: Incorrect size when a panel is empty 2011-05-18 10:54:36 -04:00
Scott González
e0fafbb735 Button: Refactored formResetHandler and fixed scope. Foxes #7261 - Refresh scope in formResetHandler unintentionally wide. 2011-05-18 10:32:59 -04:00
Jörn Zaefferer
d1f86cb2ff Merge remote branch 'origin/master' 2011-05-18 15:58:42 +02:00
Jörn Zaefferer
bdd2362754 Merge remote branch 'kzys/trac-6656' 2011-05-18 15:51:07 +02:00
Scott González
a0f16a00b9 Dialog: Reduce old overlay dimensions to 0x0 to avoid sizing issues. Fixes #5637 - Dialog: Dimensions of reused overlay may cause scrollbars. 2011-05-18 09:34:50 -04:00
Scott González
a47bfa196b Spinner: Coding standards. 2011-05-17 21:07:44 -04:00
Scott González
03939fc8c1 Tabs: Don't cancel existing ajax requests when programmatically loading a tab. Fixes #7204 - Tabs: Programmatically loading a tab shouldn't cancel active ajax requests. 2011-05-17 16:23:10 -04:00
Scott González
ad53b55f61 Tabs: Fixed load event with back compat enabled. 2011-05-17 15:46:41 -04:00
Scott González
a9d4b52836 Tabs: Removed some animation cleanup code that doesn't appear to be necessary. 2011-05-17 13:15:44 -04:00
Scott González
5f10fa6511 Tabs: Escape all special characters when sanitizing hash selectors. Fixes #4681 - Tabs: _sanitizeSelector needs to escape '.'. 2011-05-17 10:02:22 -04:00
David Murdoch
e4a42991df Removing unnecessary variables, caching 'within' in tests where its beneficial, and making some other changes based on the code review 2011-05-16 23:46:21 +00:00
kborchers
8e8a7b015f Sortable: Changed to check the parent's length so that the dom position of the removed element is not updated. Fixed #4088 - Unable to remove() ui.draggable (sortable item) immediately after the drop callback. 2011-05-16 16:25:03 -05:00
Scott González
5e58859347 Tabs: Added tests for load method. 2011-05-16 14:41:27 -04:00
David Murdoch
965cb7359e Tabs: When adding a new tab with an existing panel, don't move it. Fixes #4578 - adding tab moves targeted panel. 2011-05-16 12:30:23 -04:00
Jay Merrifield
41205cef4b Datepicker: Made the day of year calculator be more accurate. Fixes #6827 - Datepicker: Incorrect value for "oo" during Daylight Saving Time. 2011-05-16 07:52:01 -04:00
Trey Hunner
adb35572a9 Autocomplete: Trigger search timeout on all input events. Fixes #6666 - keyboard-autorepeat on Firefox and paste event
The input event triggers after all changes to an input field including
paste/cut events.
2011-05-15 12:50:26 -07:00
gnarf
463849e4c3 Tabs: Removing queue logic, _hideTab, and _showTab - Replaced with _toggle - Fixes #7357 Tabs: Remove queueing logic 2011-05-14 06:31:41 -05:00
David Murdoch
cf96d22532 position now passes all tests! 0/ 2011-05-13 21:57:16 +00:00
David Murdoch
939b6989c7 Update position to work properly when window and/or within element is scrolled. 2011-05-13 20:54:25 +00:00
Scott González
c9e187cd9d Merge pull request #263 from kborchers/bug_4995
Dialog: Create modal overlay after dialog is shown and check scrollHeight and offsetHeight in all IE versions. Fixed #4995 - Modal Dialog's overlay dissapears in IE when content is tall
2011-05-13 13:36:09 -07:00
Scott González
2adfc03efe Merge pull request #266 from kborchers/bug_4838
Draggable: Changed logic to only subtract left and top offsets of containment if left and top are not already 0. Fixed #4838 - containment: 'document' is incorrect for top and left in draggable
2011-05-13 12:35:18 -07:00
Kris Borchers
a69a1788bc Button: Don't fire click/change events if mouse was dragged during click of toggle (checkbox/radio) button. Fixed #6970 - Button state inconsistencies after (accidental) drag-clicking the button. 2011-05-13 15:28:10 -04:00
David Murdoch
2f4da6f13d Update var name to avoid confusion 2011-05-13 19:17:42 +00:00
Scott González
aec3f18932 Merge pull request #268 from kborchers/bug_6950
Draggable: Check for grid elements set to 0 to prevent divide by 0 error causing invalid argument errors in IE. Fixed #6950 - ie 8 invalid drag and drop error
2011-05-13 12:17:33 -07:00
kborchers
d136e4333e Draggable: Check for grid elements set to 0 to prevent divide by 0 error causing invalid argument errors in IE. Fixed #6950 - ie 8 invalid drag and drop error 2011-05-13 10:23:44 -05:00
Scott González
7550018260 Class animation: Fixed handling of duration. 2011-05-12 21:03:42 -04:00
Scott González
ea403891b9 Merge remote branch 'gnarf37/ticket-3939' 2011-05-12 20:56:34 -04:00
Scott González
dd00f7f3b4 Merge pull request #256 from dcneiner/button-blur
Fixed #6242
2011-05-12 17:48:25 -07:00
Scott González
523790b111 Merge pull request #257 from dcneiner/buttonset-rtl
Fixed #6796
2011-05-12 17:44:13 -07:00
kborchers
6e6d0b749c Draggable: Changed logic to only subtract left and top offsets of containment if left and top are not already 0. Fixed #4838 - containment: 'document' is incorrect for top and left in draggable 2011-05-12 16:27:12 -05:00
kborchers
331c4602a9 Dialog: Create modal overlay after dialog is shown and check scrollHeight and offsetHeight in all IE versions. Fixed #4995 - Modal Dialog's overlay dissapears in IE when content is tall 2011-05-12 15:14:58 -05:00
kborchers
29b36bb409 Dialog: Changed IE6 overlay width adjustment to apply to all IE versions. Fixed #3623 - Opening a Modal Dialog shows a horizontal scroll bar 2011-05-12 13:31:15 -05:00
Andrew Powell
a6227be2c0 Datepicker: removed conditional mozilla browser check block. Fixes #7322 - Year selector disappears after setting an option in Firefox 2011-05-12 11:28:37 -04:00
David Murdoch
b6497996ce Replace comma with semi-colon. How'd that get there? 2011-05-12 13:28:01 +00:00
Scott González
1845015c09 Revert "Datepicker: Fixed #7043 - Using multiple months always renders 6 rows of dates even if only 5 are needed."
This reverts commit ac459ff7df.
2011-05-12 08:17:16 -04:00
gnarf
2dcf723151 effects.core: Rework animateClass to support a 'children' option - Fixes #3939 - Option to animate children elements in animateClass 2011-05-12 07:11:01 -05:00
gnarf
c241275a30 Effects.core: Style Commit - double-quotes and threeqals and whitespace 2011-05-12 02:51:10 -05:00
Doug Neiner
50a4186ef9 Button: Added rtl detection so corner classes would properly be applied to buttonsets. Fixed #6796. jQueryui - buttonset on rtl 2011-05-12 01:51:05 -04:00
Doug Neiner
8df834f68c Button: no longer calls _resetButton() after changing the disabled option. Fixed #6242 - Button .enable() strange behavior on Webkit (Google Chrome, Safari) 2011-05-12 01:16:06 -04:00
David Murdoch
9e4e359705 fix spacing and add in a missing comma 2011-05-11 16:52:43 -07:00
David Murdoch
abf3a86c8b Fix issue when window is "within". 2011-05-11 16:44:20 -07:00
David Murdoch
c6afaa1072 Fix #5645 - Position: Allow for arbitrary element to be containing element 2011-05-11 16:30:21 -07:00
gnarf
c89bbc1839 Class animation: Cleaned up detection of what we can animate and fixed border styles. Fixes #7109 - animateClass doesn't like going from borderStyle: none to borderStyle: *. 2011-05-11 17:09:05 -04:00
Scott González
8b8f5bff76 Merge pull request #242 from gnarf37/effects-unit
Effects unit tests - Partial fix for #7353
2011-05-11 13:14:13 -07:00
Scott González
caca915888 Merge pull request #220 from kzys/trac-6850
Fixed #6850 - Disable datepicker should disable month and year dropdowns.
2011-05-11 12:32:29 -07:00
Scott González
9bd731da14 Tabs: Minor cleanup of deprecated code. 2011-05-11 15:01:57 -04:00
Garrison Locke
a645630eba Datepicker: Removed duplicate call to _updateDatepicker when changing option in Firefox. Fixed #7322 - datepicker: Year would disappear when changing option. 2011-05-11 14:22:04 -04:00
Jörn Zaefferer
83424c6c33 Merge branch 'master' of github.com:jquery/jquery-ui 2011-05-11 19:49:16 +02:00
Jörn Zaefferer
b9153258b0 Widget: Added $.widget.extend() which does deep extending, but only on plain objects. 2011-05-11 13:37:40 -04:00
Adam Baratz
7fb6ca146e Slider: add handles in single DOM operation. Fixed #7259 - optimize handle creation. 2011-05-11 13:13:09 -04:00
Kato Kazuyoshi
98fcb477d6 Draggable: Remove id when cloning helpers. Fixes #4564 - Draggable+Sortable Demo duplicates DOM Ids. 2011-05-11 13:06:53 -04:00
Scott González
d3e21cf59a Merge pull request #223 from kzys/trac-7043
Fixed #7043 - Datepicker: Using multiple months always renders 6 rows of dates even if only 5 are neededf
2011-05-11 08:08:37 -07:00
Scott González
1298f939b9 Tabs: Simplify logic for showing/hiding tabs. 2011-05-11 10:08:06 -04:00
Scott González
b70256c368 Menu: Fixed variable name. 2011-05-11 08:43:37 -04:00
Scott González
24864de57d Menu: Use appropriate methods for getting scroll values for .prop()/.attr() compat. Fixes #7354 - Autocomplete: Scrollable results don't visually update with jQuery 1.6. 2011-05-11 08:37:27 -04:00
Jörn Zaefferer
0352c2c71f Menu: Remove default preventDefault. Add more meaningful href's on menu
and menubar demos. Change doesn't seem to affect autocomplete as that
doesn't use href-attributes anyway.
2011-05-11 13:39:58 +02:00
Jörn Zaefferer
c17f245d98 Autocomplete: Revert fix for #7024, broke regular menu selection.
Disabled test for now (need to reopen ticket).
2011-05-11 13:19:46 +02:00
gnarf
783f134aaa effects: Updating bounce/pulsate/shake to fire callbacks before the next anim starts 2011-05-10 16:25:08 -05:00
gnarf
27a7deebf2 Merge branch 'master' into effects-unit
Conflicts:
	ui/jquery.effects.pulsate.js
2011-05-10 16:16:34 -05:00
Scott González
85ac420a1e Tabs: Fixed select event. 2011-05-10 14:04:50 -04:00
Scott González
7fddb1c5b5 Tabs: Fixed show event. 2011-05-10 13:56:59 -04:00
Jörn Zaefferer
7f8ccc523a Autocomplete: Add comment to fix for #7269 2011-05-10 17:43:21 +02:00
Jörn Zaefferer
0e1bfaf1fa Merge remote branch 'treyhunner/topic/arrow-keys' 2011-05-10 17:40:49 +02:00
Jörn Zaefferer
1426f7edf3 Merge remote branch 'origin/master' 2011-05-10 17:10:45 +02:00
Scott González
b546f316be Merge remote branch 'gnarf37/ticket-7067' 2011-05-10 11:00:14 -04:00
Jörn Zaefferer
c844bbd2ed Merge remote branch 'kborchers/bug_7024' 2011-05-10 16:59:22 +02:00
Scott González
1a974109ef Merge pull request #234 from carsonmcdonald/issue6948
Resizable: Skip autohide hover action when resizable is disabled. Fix #69
2011-05-10 07:52:28 -07:00
Scott González
36fccdda14 Tabs: Fixed cookie implementation. Fixes #7144 - Tabs: Deprecate cookie option. 2011-05-10 09:15:08 -04:00
kborchers
73ed73890c Autocomplete: Added check to determine if menu has just been created to override mouseover event and reset that variable from autocomplete on close. Fixed #7024 - Autocomplete menu options are activated even if mouse is not moved 2011-05-09 16:22:11 -05:00
Scott González
9ea6db634f Tabs: Only trigger tabsload on success. 2011-05-09 16:55:31 -04:00
Scott González
7157af2550 Tabs: Added tests for cache option. Fixes #7131 - Tabs: Add beforeload event; deprecate ajaxOptions and cache options. 2011-05-09 15:04:01 -04:00
Scott González
f1180e5341 Merge pull request #235 from kborchers/bug_4333_2
Mouse: Changed mouseHandled check to a local var rather than using originalEvent. Fixed #4333 - Nested draggables problem in IE
2011-05-09 10:10:17 -07:00
Scott González
5ae44f8a3b Tabs: Refactored spinner implementation. Fixes #7134 - Tabs: Deprecate spinner option. 2011-05-09 12:52:00 -04:00
kborchers
9c50bdfde0 Mouse: Changed mouseHandled check to a local var rather than using originalEvent. Fixed #4333 - Nested draggables problem in IE 2011-05-09 11:43:45 -05:00
Carson McDonald
0e2bc5efe2 Resizable: Skip autohide hover action when resizable is disabled. Fix #6948 - Resizable autoHide Doesn't Work With Resizable's disable 2011-05-09 11:00:12 -04:00
Richard D. Worth
2e882de30e Merge pull request #229 from kzys/strange-whitespace
'NO-BREAK SPACE' (U+00A0) is not 'SPACE' (U+0020).
2011-05-09 06:50:19 -07:00
Jörn Zaefferer
24c0d9195a Popup: Fix keyboard handling to prevent scrolling on keydown 2011-05-07 16:23:31 +02:00
Jörn Zaefferer
cd92ad09f5 Promote menubar and popup to their own top level files 2011-05-07 16:22:04 +02:00
Kato Kazuyoshi
27f943bf36 Dialog: 'NO-BREAK SPACE' (U+00A0) is not 'SPACE' (U+0020). 2011-05-07 16:02:06 +09:00
Kato Kazuyoshi
ac459ff7df Datepicker: Fixed #7043 - Using multiple months always renders 6 rows of dates even if only 5 are needed. 2011-05-07 06:32:13 +09:00
Kato Kazuyoshi
2063a113d6 Datepicker: onClose callback should be triggered by show. Fixed #6656 - onClose event not triggered. 2011-05-07 06:03:14 +09:00
Kato Kazuyoshi
4585182c70 Datepicker: Disabled datepicker should disable own select element too. Fixed #6850 - Disable datepicker should disable month and year dropdowns. 2011-05-07 04:53:37 +09:00
Scott González
476777f1e9 Merge pull request #218 from kborchers/bug_6775
Datepicker: Moved the setting of  _datepickerShowing to after postProcess. Fixed #6775
2011-05-06 10:29:02 -07:00
eddiemonge
d522dad718 Tabs: Removed executable file permissions. Fixes #7329 - Tabs doesn't need to have execute permissions. 2011-05-06 13:17:12 -04:00
kborchers
88d8209fdd Datepicker: Moved the setting of _datepickerShowing to after postProcess to prevent being able to tab away leaving the datepicker open. Fixed #6775 - DatePicker remains open when tabbing out 2011-05-06 10:40:43 -05:00
Eike Send
a7f1659cdc Button: stop disabled button from firing click events. fixes #5945. Behavior was inconsisten between BUTTON and A elements. 2011-05-05 14:45:06 +02:00
Scott González
116acb4cb2 Merge pull request #200 from kzys/trac-6704-2
Fixed #6704 - Display overflow when multiple datepickers have different numberOfMonths.
2011-05-04 14:09:37 -07:00
Scott González
511b86b31e Merge pull request #201 from kzys/trac-7062
Fixed #7062 - $.datepicker.parseDate does not work for some locale date strings.
2011-05-04 14:00:20 -07:00
Kato Kazuyoshi
f505de68fd Datepicker: Remove BOM. Fixed #6734 - Datepicker i18n: Problem with JavascriptPacker. 2011-05-05 05:29:13 +09:00
Kato Kazuyoshi
a891e81e06 Datepicker: Greedy matching in month name. Fixed #7062 - $.datepicker.parseDate does not work for some locale date strings. 2011-05-05 05:06:27 +09:00
Kato Kazuyoshi
fc97ccd398 Datepicker: Remove old "ui-datepicker-multi-N" before add new one. Fixed #6704 - Display overflow when multiple datepickers have different numberOfMonths. 2011-05-05 04:11:48 +09:00
gnarf
d61e0656c5 Merge branch 'master' into effects-unit 2011-05-04 01:38:41 -05:00
Jörn Zaefferer
66b96cbbe4 Tooltip: Also close on click. Essential for tooltips on menu buttons. 2011-05-04 08:21:57 +02:00
Jörn Zaefferer
a444287642 Menu: Restore _destroy - remove tabIndex (gets added), don't remove ID
(can get generated, but removing only generated ideas hopefully isn't
necessary). May have to fix that later.
2011-05-03 21:58:26 +02:00
gnarf
126d46c050 effects.pulsate: tweaking 'times' - if showing / hiding the animation has an extra 'half' time as opposed to removing a 'half' time 2011-05-03 10:48:00 -05:00
gnarf
d5f6a71cfa effects.bounce: Fixing hide bounce distance calculation 2011-05-03 08:51:53 -05:00
gnarf
e8bece27ab effect.bounce: ignoring the margins for the height calc 2011-05-03 08:45:21 -05:00
gnarf
34d9e038bd effect.bounce: fixing default distance to be 1/3 the size of the bouncing box - thx @scott_gonzalez for catching this 2011-05-03 08:39:02 -05:00
gnarf
1f3f7bf787 Effects (blind): direction now accepts up/down/left/right as well as vertical(up) and horizontal(left) - Fixes #4480 - Invert the blind effect. 2011-05-03 09:16:30 -04:00
gnarf
61904162cf effects.pulsate: set default mode to 'effect' 2011-05-03 07:22:34 -05:00
Scott González
cbce3585bc Tabs: Added tests for deprecated select method. Fixes #7138 - Tabs: Deprecate select method. 2011-05-03 07:48:08 -04:00
Scott González
92bcb2504f Tabs: Fixed back-compat for selected option. Fixes #7135 - Tabs: Rename selected option to active. 2011-05-03 07:14:19 -04:00
Scott González
45c727d75e Tabs: Fixed enabled and disabled methods. Fixes #7142 - Tabs: Deprecate enable and disable events. 2011-05-03 06:31:12 -04:00
Jean-Francois Remy
5e44b3ce88 Position: Handled scrolled windows properly with collision: fit. Fixes #7211 - Position: Collision: fit doesn't work at top of window when scrolled. 2011-05-03 04:38:17 -04:00
Adam Baratz
51df02ee4e Dialog: remove unneeded DOM manipulations. Fixed #7258 - optimize initialization. 2011-05-02 18:03:14 -04:00
Scott González
3d5d58d854 Merge pull request #187 from virgofx/master.
Fix #7270 - Draggable iFrameFix
2011-05-02 14:49:05 -07:00
Scott González
4f63e5ca6c Merge pull request #191 from whittet/patch-1.
Bug fix for another use case, see comment by whittet here: http://bugs.jq
2011-05-02 14:46:01 -07:00
Scott González
d09599b201 Merge pull request #192 from ef4/master.
Fixed #4445 containment ignored when scrolling in overflow div
2011-05-02 14:42:33 -07:00
Jörn Zaefferer
0496a50238 Tooltip: Replace offset property with inline my+offset to make it easier
to override the offset. Fixes the odd offset in the video player demo.
Also doesn't need units.
2011-05-02 18:22:00 +02:00
adambaratz
74d195e396 Datepicker: bind hover events using delegate. Fixed #7256 - minimize event binding in Datepicker initialization. 2011-05-02 09:53:13 -04:00
gnarf
c13ef9e037 Widget: show/hide effects added BackCompat 2011-05-02 07:49:11 -05:00
gnarf
c9fb452867 widget: Updating code for show/hide to use new effects API namespace - DRY'ed out a bit as well 2011-05-02 06:49:59 -05:00
Jörn Zaefferer
d8e60e9a8a Merge branch 'master' into tooltip-animations 2011-05-02 13:12:36 +02:00
Jörn Zaefferer
a03c222f05 Tooltip: Overhaul widget animations code to allow delay with plain show/hide 2011-05-02 13:11:58 +02:00
gnarf
1eada21549 effects.*: Updating fade, pulsate, scale, shake to pass units 2011-05-01 06:24:22 -05:00
gnarf
d82a44ab4b Some minor tweaks to the effects, trying to clean up code a bit + style guidance 2011-05-01 06:19:38 -05:00
gnarf
668d28e30e effects.bounce: removing the opti for duration, the normalizeArguments in core will ALWAYS set a duration, no need to default here 2011-05-01 06:18:31 -05:00
gnarf
40ebb0f846 effects.*: Normalizing animation time - 1000 ms effect should only take 1000 ms - Fixes #7067 - Also making sure the queued animations run DIRECTLY after the effect 2011-05-01 06:07:57 -05:00
gnarf
321fd39057 Some minor tweaks to the effects, trying to clean up code a bit + style guidance 2011-05-01 03:44:33 -05:00
adambaratz
fe3b36b8ef Core: reuse tabindex value. Fixed #7257 - optimize :tabbable. 2011-04-29 08:24:27 -04:00
Scott González
1bacdec6be Tabs: Cleaned up add and remove methods. 2011-04-28 21:35:04 -04:00
Scott González
09faa7c9fa Tabs: Added more tests for refresh method and changed the implementation a bit. 2011-04-28 14:38:57 -04:00
David Petersen
5d23e8eacd Tabs: Fix issues with refresh method, add refresh method tests 2011-04-28 13:13:42 -04:00
David Petersen
dcb1720f31 Tabs: Remove refresh dependancy in _setOptions 2011-04-28 12:08:39 -04:00
Scott González
d819cdd3a9 Tabs: Fixed disable method and cleaned up tests for enable and disable methods. 2011-04-28 12:04:08 -04:00
Edward Faulkner
d620749611 Draggable: containment now updates dynamically to handle scrolling container. Fixed #4445 containment ignored when scrolling in overflow div 2011-04-28 10:43:02 -04:00
David Petersen
0e7769c669 Tabs: enable/disable handle when current state already matches, fix error when disabled = true and enable gets called 2011-04-28 09:37:56 -04:00
David Petersen
abe4c37748 Tabs: simplify disabled logic 2011-04-28 09:37:47 -04:00
David Petersen
a1473042b4 Tabs: Make sure prototype.url is defined before trying to shim it 2011-04-28 09:07:54 -04:00
Scott González
60d4e0ae42 Class Animation: Use .attr( "class" ) instead of .attr( "className" ) and adjust the queueing logic for jQuery 1.6 compatibility. Fixes #7275 - $.effects.animateClass broken in jQuery 1.6." 2011-04-27 10:42:21 -04:00
whittet
2bf061ea6f Bug fix for another use case, see comment by whittet here: http://bugs.jqueryui.com/ticket/6702 2011-04-27 07:21:29 -07:00
Jörn Zaefferer
cd61fb1b55 Merge branch 'master' into menubar
Conflicts:
	ui/jquery.ui.menu.js
2011-04-26 22:05:44 +02:00