Commit Graph

3552 Commits

Author SHA1 Message Date
Nate Eagle
3829a37ca1 Dialog: Awesome new stacking and overlay implementation. Fixes the following tickets:
Fixes #3534 - Dialog: Modal dialog disables all input elements on page.
Fixes #4671 - Dialog: Modal Dialog disables vertical scroll bar in Chrome & Safari.
Fixes #4995 - Dialog: Modal Dialog's overlay dissapears in IE when content is tall.
Fixes #5388 - Dialog: Don't change z-index when already at the top.
Fixes #5466 - Dialog: "modal" Dialog Incorrectly Cancels Input Events.
Fixes #5762 - Dialog: Get rid of z-index workaround, document it instead.
Fixes #6267 - Dialog: checkboxes that inherit a z-index < jqueryui.dialog z-index don't work.
Fixes #7051 - Dialog: modal prevents tab key from moving focus off slider handle.
Fixes #7107 - Dialog: Modal dialog event loss with high zindex child elements (FF 3.6).
Fixes #7120 - Dialog: Modal operation interrupts drag drop marker functionality on gmaps.
Fixes #8172 - Dialog: Change event cancelled when opening modal dialog from another modal dialog.
Fixes #8583 - Dialog: Mouse event wrongly stopped.
Fixes #8722 - Dialog: Remove stack option.
Fixes #8729 - Dialog: Remove zIndex option.
2012-10-24 16:56:19 -04:00
Scott González
eaadcc0eeb Widget: Bind the remove event to the element, not the .widget() element. 2012-10-24 12:00:03 -04:00
Kato Kazuyoshi
5f9d5c54c3 Effects (size): Adjusting behavior of toggled size effects - See gh-203 - Partial Fix for #7041 2012-10-24 10:27:12 -05:00
Jörn Zaefferer
721a4b4ae0 Widget: Fix _on to use element argument for delegated events. Fixes #8658 - Widget: this._on delegates using instance.widget() instead of passed element 2012-10-24 10:42:21 -04:00
Scott González
848ab48583 Widget: Use existing widgetEventPrefix when extending. Fixes #8724 - widgetEventPrefix is lost when extending existing widget. 2012-10-24 10:13:51 -04:00
Jörn Zaefferer
ba752cf7ed Tooltip: Run _disable when disabled option is set on create. Fixes #8712 - Tooltip: Disabled tooltips on initialization. 2012-10-24 10:02:21 -04:00
Scott González
86a958d3aa Core: Update :focsable and :tabbable to handle parents with no height/width, but visible overflow. Fixes #8643 - :focusable pseudo-selector does not find elements if parent has 0x0 dimension. 2012-10-23 15:12:54 -04:00
Scott González
11effcbd35 Dialog: Don't use deprecated offset option for .position(). Fixes #8675 - Dialog: Position with pixels in array doesn't work with back compat disabled. 2012-10-23 14:50:02 -04:00
Maciej Mroziński
f4b3cd5271 Accordion: Remove code that sets accordion height. Fixed #8696 - Multiple collapsible Accordions won't work together. 2012-10-23 14:11:22 -04:00
Marc-Andre Lafortune
8bb05d23e2 Widget: Destroy only when element is the actual target. Fixes #8652 - Widget: Destroy only when element is the actual target. 2012-10-23 14:06:30 -04:00
Scott González
5e0a2ca1e5 Widget: Fixed $.widget.extend() to never copy objects by reference. 2012-10-23 11:45:16 -04:00
Mike Sherov
e1230997aa Build: Enable "unused" option in jshint - Remove unused variables from codebase. - Closes gh-788
Squashed commit of the following:

commit 7f19f92c64
Author: Mike Sherov <mike.sherov@gmail.com>
Date:   Tue Oct 23 10:34:28 2012 -0400

    put back in fake args for signatures that we want to keep

commit 257505a9e6
Author: Mike Sherov <mike.sherov@gmail.com>
Date:   Tue Oct 23 08:10:20 2012 -0400

    changes per @scott_gonzalez

commit 12725480cb
Author: Mike Sherov <mike.sherov@gmail.com>
Date:   Mon Oct 22 22:54:05 2012 -0400

    clean up unused vars in ui directory

commit 563595e7ae
Author: Mike Sherov <mike.sherov@gmail.com>
Date:   Mon Oct 22 22:37:42 2012 -0400

    clean up unused vars in grunt and tests
2012-10-23 09:37:46 -05:00
Scott González
7af1ec727b Tooltip: Position below the element and set a max width of 300px to more closely match native tooltip behavior. Fixes #8718 - tooltip flickers when too long. 2012-10-23 10:15:28 -04:00
Mike Sherov
d67522e329 Build: Upgrade to the latest Grunt and JSHint - Closes gh-786 2012-10-22 17:04:08 -05:00
Scott González
9b908878ae Widget: $.widget.extend(): Properly handle extending a string with an object. Fixes #8713 - Passing an object as ui.resizable handles parameter does not work. 2012-10-22 15:36:11 -04:00
Trey Hunner
49f9b849b9 Remove trailing whitespace and add final newlines 2012-10-21 22:45:41 -04:00
Scott González
eb4178f819 Fixed some jshint errors. 2012-10-21 18:23:32 -04:00
Corey Frang
8b76684a92 Effects: Allow 'null' for options - Fixes #8670 - null reference when using effects - Closes gh-783 2012-10-21 16:46:57 -05:00
Scott González
eb392b3035 Accordion: Fix back-compat for active option. 2012-10-21 15:54:19 -04:00
Andrew Couch
0b3e59f149 Tooltip: Do not attempt to position if tooltip is hidden. Fixed #8644 - Delayed tooltips set to track should reposition when being shown for the first time. 2012-10-21 13:15:59 -04:00
Andrew Couch
3b2d1e7736 Tooltip: handle removal of elements with delegated tooltips. Fixed #8646 - Delegated tooltips don't close when the tooltipped element is removed 2012-10-21 13:15:44 -04:00
Jörn Zaefferer
6b48ef5eca Tooltip: Only bind blur when opening via focus, mouseleave for mouseover. Remove the keep-open-on-focusout workaround. Now matching behaviour described in ARIA Authoring Practices. Fixes #8699 - Moving focus on click of a tooltipped element shows native tooltip in IE/Firefox on Windows 2012-10-21 12:50:12 -04:00
Jörn Zaefferer
77a55f1291 Tooltip: Fix nested tooltips (on hover) by closing parent tooltips and removing title attributes. Fixes #8700 - Overlapping tooltipped elements shows native tooltip for one of the elements 2012-10-21 12:49:32 -04:00
Jörn Zaefferer
9d5f91ece2 Tooltip: Comment why we need to use closest 2012-10-19 20:57:13 -04:00
Jörn Zaefferer
99aa0ff8d1 Selectmenu: Fix data naming, should be [namespace]-[widgetname]-[value] 2012-10-19 18:22:12 -04:00
Andrew Couch
5bd5ef15f9 Effect: fix typo in comment ft "optinos" => "options" 2012-10-18 10:56:44 -04:00
David Petersen
c2802d7aa0 Accordion: handle active: null. Fixes #8694: 1.9 Accordion - active: null allows panels to be collapsible. 2012-10-18 00:08:37 -04:00
David Petersen
35dc9307fc Dialog: Use _hide() to make sure close event gets triggered. Fixes #8684 - jQuery dialog with hide options does not trigger close event. 2012-10-17 20:28:27 -04:00
David Petersen
dda1925d0f Slider: Count the handles after setting up a range. Fixes #7922 - Slider with range doesn't work if values are not set. 2012-10-17 20:08:50 -04:00
David Petersen
f37008eeb1 Slider: Update UI when min or max option changes. Fixes #7477 - Setting min/max options does not update view. 2012-10-16 23:15:10 -04:00
TJ VanToll
5e24a1ce4b Button: Check for ui-state-disabled during refresh. Fixes #8237 - Button: Anchor tags cannot be disabled within buttonset. 2012-10-16 23:09:26 -04:00
David Petersen
8ce35198da Tabs: Remove anchor clone in isLocal. Fixed #8653 - Tabs are not working inside iframe in IE6/7. 2012-10-16 22:58:42 -04:00
Robert Beuligmann
8e1e956248 Selectmenu: corrections based on code review. 2012-10-16 10:57:49 -05:00
Dale Kocian
1a69667887 Dialog: Added mousedown event handler on dialog title to focus. Fixed #8063 - Dialog: Escape closes incorrect dialog. 2012-10-16 09:17:21 -04:00
Robert Beuligmann
20d19dbbf1 Selectmenu: ARIA tweaks for keyboard events and closed menu operation 2012-10-15 16:58:31 -05:00
Jörn Zaefferer
112185ec8d Spinner: Remove ui-state- classes from spinner, along with the background:none TR override. Fixes #8654 - Spinner background-color 2012-10-14 16:46:38 -04:00
Scott González
025266e002 Resizable: Use .insertAfter() instead of .after() to avoid recursively destroying. Fixes #8662 - Infinite loop - new to jQuery UI 1.9.0. 2012-10-13 14:50:51 -04:00
Scott González
bd3a348776 Tooltip: Change the default items selector to exclude disabled elements. Fixes #8661 - Tooltip doesn't hide on disabled anchor element [IE only]. 2012-10-12 20:26:47 -04:00
Felix Nagel
c59fbbaad7 Merge branch 'master' into selectmenu 2012-10-12 22:56:45 +02:00
Scott González
94221c4e5b Tabs: Use aria-controls instead of the anchor's href to match against location.hash. Fixes #8660 - Tabs: Set initial active tab from location hash for ajax tabs. 2012-10-12 11:07:04 -04:00
John Chen
bae06d2b1e Sortable: Calculating item distance and direction using a more robust algorithm to better support sorting among nested sortables. Fixes #8572 - Wrong placeholder positions. Fixes #8573 - Can't drag an item out of an inner sortable. Fixes #8574 - Hard to put an item between two inner sortables.
Use the item which has the least distance between the mouse
pointer and one of its borders to rearrange, with direction being
determined by the nearest border.
Also we use this algorithm to rearrange even when currentContainer
is not changed to override the defective rearrangment in
_mouseDrag
2012-10-10 14:56:03 -04:00
John Chen
20e6064711 Draggable: Fix a bug when dragging into nested sortables there are duplicated placeholders. Fixes #7777 - Draggable and Nested Sortables bug. 2012-10-10 14:46:52 -04:00
John Chen
77a4aaf47a Sortable: Fix a bug of removing an item while iterating an array. Fixes #8571 - Out of range problem in when dragging a nested sortable. 2012-10-10 14:39:38 -04:00
Scott González
a3f1a34d3b Remove use of $.browser; add $.ui.ie and $.ui.ie6 temporarily. 2012-10-10 11:45:48 -04:00
Scott González
fa62f21e5a Tabs: Handle extraneous list items when using ui-tabs-active to set the initially active tab. Fixes #8568 - jQuery ui tabs: wrong default active li if ul contains extraneous elements. 2012-10-09 09:07:11 -04:00
Richard D. Worth
1e6e4ce4dc Dialog: add required closing tag </button>. Fixes #8639 - jQuery 1.9.0 dialog on a XHTML page is broken if buttons are defined 2012-10-09 08:41:18 -04:00
Scott González
0a31a82831 Tooltip: Better cleanup on destroy. Fixes #8627 - The Tooltip destroy method is not clearing up the data properties. 2012-10-05 12:52:02 -04:00
Scott González
96f2aa4c72 Tooltip: Check if event exists before checking properties in open(). Fixes #8626 - Programatically opening a tooltip with out giving an event results in a javascript error. 2012-10-05 11:26:49 -04:00
Scott González
d434c9a442 typo 2012-10-04 11:59:11 -04:00
Scott González
f5261f359e Tooltip: Stop tracking the mouse if the element gains focus. Fixes #8622 - Tooltip tracks mouse when the element has focus. 2012-10-04 11:14:37 -04:00
Felix Nagel
cca4e77a95 Merge branch 'master' into selectmenu 2012-10-03 22:37:03 +02:00
Scott González
2c50b1b8b5 Accordion: Only adjust height animations for heightStyle: content. Fix tests that punch .animate(). 2012-10-01 16:52:54 -04:00
Scott González
d20f05ea37 Accordion: New approach to synchronizing animations. Fixes #4178 - Accordion animation a bit jumpy in some browsers. 2012-10-01 16:25:23 -04:00
Scott González
4ab4684cfc Dialog: Don't try to place the dialog next to itself on destroy. Fixes #8613 - Destroying a dialog removes the original element from the DOM. 2012-10-01 15:34:44 -04:00
Scott González
7882bf4548 Updated docs URLs for core files. 2012-09-29 16:32:52 -04:00
Scott González
149567e476 Updated docs URLS. 2012-09-26 18:06:20 -05:00
Scott González
7023ed4699 Tabs: Account for non-tab list items on init. Fixes #8568 - jQuery ui tabs: wrong default active li if ul contains extraneous elements. 2012-09-12 09:28:51 -04:00
Jared A. Scheel
19a9d57868 Draggable: Always clean up iframes. Fixes #8555 - Draggable: iframeFix option leaves iframes in DOM when using a selector. 2012-09-06 12:30:11 -04:00
Scott González
e162fddd95 Menu: Don't move focus from the active item on click. Fixes #8552 - selected value overwritten/not correctly set. 2012-09-05 16:07:36 -04:00
Scott González
6abb10766c Dialog: Only bind focus-trapping event once. Fixes #8551 - After repeated opening and closing of a modal dialog, focus navigation using tab becomes slow. 2012-09-04 17:00:26 -04:00
Scott González
e242868f56 Tooltip: Allow strings for content option. 2012-08-31 15:41:45 -04:00
Scott González
dee7c8bd44 Tooltip: Update open tooltips if the content option changes. Fixes #8544 - Unable to update tooltip content dynamically. 2012-08-31 15:38:21 -04:00
Felix Nagel
daadc84416 Merge branch 'master' into selectmenu 2012-08-30 22:57:37 +02:00
Bernhard Sirlinger
dec9c54632 Effects (Shake): Divide duration by number of animation steps. Fixed: #8531 - Shake effect: Duration is multiplied based on number of shakes. 2012-08-30 11:23:07 -04:00
Scott González
13fa4a9dac Tabs: Don't apply a spinner when nested tabs are loading. Fixes #8529 - tabs with in tabs, heading appears as Loading.... 2012-08-30 09:44:57 -04:00
Philipp Benjamin Köppchen
bce0838938 Droppable: greedy children now consider only parents with same scope as parents. Fixed #8524 - Nested greedy droppables trigger parents events even when scopes are different 2012-08-29 08:24:14 -04:00
Scott González
96cabd59ab Effects: Cleanup. 2012-08-27 17:23:30 -04:00
Scott González
93556a8e18 Menu: If the active element no longer exists after a refresh, blur the menu. 2012-08-27 08:05:27 -04:00
Scott González
6e7bd4d895 Revert "Datepicker: Modified _updateDatepicker to not update display if updated instance is not current instance." This revert fixes a more serious problem: Fixes #8522 - Calendar doesn't render when moving between datepicker controls.
This reverts commit b4ef2f7ebb.
2012-08-26 17:21:23 -04:00
Pierre-Henri Ausseil
767af39f7f Autocomplete: Fixed an invisible character tht lead to a failure of the function. 2012-08-26 17:09:39 -04:00
Kris Borchers
d372882af1 Datepicker: Replace HTML entities with characters in es, fi, gl, is, it, pt-BR, pt and sl i18n files. Fixes #8515 - Datepicker: Translation displays HTML entities when setting some formats 2012-08-23 20:25:12 -05:00
Jiayi Yang
a922d4d5b6 Datepicker: Updated zh-CN, zh-HK, and zh-TW locales. Fixes #8511 - Localization Issue: the monthNameShort in Chinese is wrong. 2012-08-23 21:00:29 -04:00
Scott González
8aa410b2fc Core: Whitespace. 2012-08-23 07:35:40 -04:00
Scott González
c343598d2a Core: Deprecate .enableSelection() and .disableSelection(). Fixes #7755 - Core: Deprecate .disableSelection() and .enableSelection(). 2012-08-23 07:30:29 -04:00
Martin Hoch
b9ef00f0c7 Sortable: Fixed container change detection. Fixes #5159 - Remove and receive events on nested sortables. 2012-08-22 22:04:40 -04:00
Martin Hoch
2b899cc843 Sortable: Fixed jerkiness with nested-sortables. Fixes #4857 - Nested lists don't work properly with sortable. 2012-08-22 22:02:39 -04:00
Scott González
651460792b Position: Properly handle flip collision when the window is scrolled. Fixes #8481 - Position in flip mode does not take into consideration scrollTop and scrollLeft. 2012-08-17 10:34:00 -04:00
Scott González
af67883226 Tabs: Set ajaxOptions in intial $.ajax() call. Fixes #8504 - Ajax in Tabs not passing data in 1.9. beta 1. 2012-08-17 09:08:07 -04:00
Scott González
536d112aa9 Upgrade jQuery Color to 2.0.0. Fixes #6969 - Effects: 'borderColor' property is buggy. 2012-08-14 08:46:15 -04:00
Felix Nagel
c179902468 Simplify licensing. 2012-08-11 19:57:17 +02:00
Felix Nagel
b6e246784d Selectmenu: remove unbind Menu document event to reset mouseHandled flag, related to revision b8ad711dee 2012-08-11 19:55:06 +02:00
Felix Nagel
dd272e7568 Merge branch 'master' into selectmenu 2012-08-11 19:45:43 +02:00
Scott González
30b579f598 Datepicker: Unescape double escaped ids when handling events. Fixes #8480 - Datepicker 1.8.22 escaped id does not work. 2012-08-09 16:32:16 -04:00
Scott González
485ca7192a Simplify licensing. 2012-08-09 15:09:50 -04:00
Scott González
e68bee9b84 Mouse: Don't try to unbind delegated event handlers if they don't exist. Fixes #8416 - Draggable breaks during drag if any other draggable is removed or destroyed. 2012-07-31 16:27:43 -04:00
kborchers
7e1cb95d37 Menu: Open submenu on click of parent item and only close menu when clicking item without submenu. 2012-07-31 00:00:07 -05:00
Scott González
b68b116adf Autocomplete: Fixed spacing. 2012-07-30 12:48:47 -04:00
Mark Aaron Shirley
1626c97caa Datepicker: Changed body selector to document.body. Fixed #8464 - Datepicker does not properly scope the body selector. 2012-07-27 09:40:11 -07:00
Corey Frang
ed64ccfef4 Effects: Fixing call to outerHeight/Width in slide effect for compat with 1.8 core 2012-07-20 18:50:34 -05:00
Corey Frang
85d259483e Effects: Fixing bug in blind effect caused by 48659c64 - auto doesn't parse 2012-07-20 18:35:32 -05:00
Corey Frang
4e3d31e1ee Effects: Fixing call to outerHeight/Width in drop effect for compat with 1.8 core 2012-07-20 18:07:45 -05:00
Luis Dalmolin
147ec7bd62 Datepicker: Fixed position problem when input is in a fixed element. Fixes #5626 - DatePicker doesn't work inside fixed div. 2012-07-17 16:22:03 -04:00
Maciej Mroziński
cb44dc6c28 Datepicker: Deleted z-index style on hidden input. Fixed #7449 - Datepicker dialog has a negative z-index. 2012-07-17 16:16:27 -04:00
Maciej Mroziński
b4ef2f7ebb Datepicker: Modified _updateDatepicker to not update display if updated instance is not current instance. Fixed #6814 - datepicker('setDate') incorrectly overwrites current display with two datepickers. 2012-07-17 16:08:31 -04:00
Scott González
549b97ed6c Selectmenu: Fixed event unbinding. 2012-07-17 15:27:26 -04:00
Felix Nagel
44f9b8fb09 Selectmenu: updated copyright notice 2012-07-16 20:36:01 +02:00
Baoju Yuan
dcea4f043a Sortable: Reset fromOutside property when canceling helper removal. Fixes #8430 - draggable with sortable makes sortable event receive triggered wrong. 2012-07-16 10:26:02 -04:00
kborchers
5eb1aeec4e Menu: Remove unnecessary click delay and change focus delay for AT to the default delay 2012-07-13 13:36:00 -05:00
kborchers
be0be892d3 Menu: Fix issue with missing active item when clicking a menu item more than once 2012-07-12 23:01:13 -05:00
kborchers
b8ad711dee Menu: Add a flag and remove previous attempt to prevent select events from being fired by click events bubbling up through nested menus 2012-07-12 22:45:56 -05:00
Felix Nagel
001bd3d502 Selectmenu: trim trailing spaces 2012-07-13 00:23:00 +02:00
Felix Nagel
b19986a851 Selectmenu: changed _unbind to _off 2012-07-13 00:18:05 +02:00
Felix Nagel
8f5f4b38cd Selectmenu: changed _bind to _on 2012-07-13 00:10:49 +02:00
Felix Nagel
5092d0296a Merge branch 'master' into selectmenu 2012-07-12 23:57:55 +02:00
Jörn Zaefferer
e054e28836 Spinner: Introduce icons option to make button icons customizable, mostly for consistency 2012-07-12 18:07:40 +02:00
Jörn Zaefferer
7759fb4dba Menu: Rename icon option to icons.submenu 2012-07-12 17:50:34 +02:00
Scott González
566c5f4058 Menu: Alphabetize options. 2012-07-10 12:07:00 -04:00
Scott González
dc689139ea Menu: Remove ability to pass a function as the position option. 2012-07-10 11:52:09 -04:00
Scott González
3a7c1bc07a Effects: Work around jQuery 1.6.2 returning undefined for falsy values in .data(). 2012-07-10 09:00:26 -04:00
Scott González
2ed34e4f1f Menu: Cleanup from 019dcc26e3. 2012-07-10 08:36:39 -04:00
kborchers
db3fabedb4 Menu: Expose the submenu indicator icon as an icon option 2012-07-10 00:14:54 -05:00
kborchers
1a22a675d8 Menu: Remove unnecessary returns from expand and collapse 2012-07-10 00:14:54 -05:00
kborchers
22d078aac6 Menu: Move regular expression creation outside of the loops 2012-07-10 00:14:54 -05:00
kborchers
019dcc26e3 Menu: Remove incorrect scroll check behavior from focus event handler 2012-07-10 00:14:53 -05:00
Scott González
a79d09a905 Widget: Create lowercase pseudo selectors. Fixes #8433 - Widget: Create lowercase pseudo selectors. 2012-07-09 16:02:43 -04:00
Scott González
1991a9073d Menu: Remove extraneous spaces from selector. 2012-07-09 12:57:01 -04:00
Scott González
5085981241 Effects: Update jQuery Color. 2012-07-09 11:46:37 -04:00
Timmy Willison
2d643032c5 Core: Adjust data pseudo creation to use new Sizzle pseudo creation for pseudos with arguments. 2012-07-07 14:28:52 -04:00
Lee Rowlands
5a952856a0 Dialog: Prevent tabbing out of modal dialog. Partial fix for #7862 - Dialog: modal accessibility. 2012-07-05 21:23:39 -04:00
Scott González
be58dcf708 Menu: Added missing position dependency to header comment. 2012-07-05 14:17:56 -04:00
Scott González
a4534bb993 Update copyright to jQuery Foundation. 2012-07-04 09:08:08 -04:00
Scott González
730446edca Effects: Update jquery-color. 2012-06-28 05:45:25 -07:00
Scott González
722f488e46 jshint: Add boss: true to suppot jquery-color. 2012-06-25 20:28:19 -04:00
Scott González
13d560b8f0 Upgrade to jquery-color 2.0pre. Fixes #6910 - Trying to animate the background color of a document fragment can easily fail. Fixes #5215 - Effects color: Add support for rgba animations. Fixes #4372 - Animate backgroundColor to 'transparent'. Fixes #5393 - getColor reports inaccurate color for transparent elements in Webkit. Fixes #3806 - Feature request: expose getRGB and getColor. 2012-06-25 19:25:27 -04:00
Scott González
ab39099f66 Autocomplete: More verbose checking for multi-line to work around IE treating inputs as contentEditable. 2012-06-25 11:59:35 -04:00
Scott González
405cbefe5c Autocomplete: Check for contenteditable via isContentEditable property rather than [contenteditable] selector. Properly accounts for properties vs. attributes and 'inherit'. 2012-06-25 11:41:24 -04:00
Mike Hollis
535ef2a01c Button: Trim button text before setting as title attribute. 2012-06-25 09:52:42 -04:00
Steven Roussey
392423ca51 jQuery may be redefined or not exist do to noConflict, so using the global is bad, instead use the scoping function's $ 2012-06-18 15:09:28 -07:00
Scott González
378dacfda1 Menu: Cleanup. 2012-06-18 12:33:52 -04:00
Scott González
92fb5567a2 Effects: Renamed all files. 2012-06-15 12:47:12 -04:00
Scott González
d569b52838 Effects (fade): Delegate hiding and showing to core. Fixes #8267 - dialog fadein broken since 1.9m4. 2012-06-15 07:35:08 -04:00
Scott González
e2bbe04bc7 Tabs: Change array join to string. 2012-06-14 21:22:36 -04:00
Scott González
eda0526b73 Sortable: Remove workaround for Safari 3. 2012-06-14 18:46:38 -04:00
Scott González
3ff2db226c Resizable: Remove IE hidden element hack. It seems illogical and I have no idea what it's trying to fix. 2012-06-14 18:45:27 -04:00
Scott González
ab1d9b8ba1 Draggable: Remove workaround for Safari 3. 2012-06-14 18:32:27 -04:00
Scott González
30c064427b Datepicker: Remove workaround for old Opera. 2012-06-14 18:25:06 -04:00
Scott González
1374f8271a Datepicker: Removed unused isArray() function. 2012-06-14 18:09:53 -04:00
Scott González
f1e1f8ae15 Tabs: Fixed event triggering for select method. 2012-06-14 13:42:02 -04:00
Scott González
d740e450aa Tooltip: Reposition tracking tooltips when they gain focus. 2012-06-14 12:40:03 -04:00
Jörn Zaefferer
5c2cf39dff Tooltip: Add track option 2012-06-14 12:38:13 -04:00
Scott González
ff39bed57a Widget: Added _off() for removing event handlers. Fixes #7795 - Widget: _on and _off. 2012-06-14 12:33:16 -04:00
Scott González
00d4beb0ca Widget: Create eventNamespace property instead of constantly rebuilding it. 2012-06-14 11:17:20 -04:00
Jörn Zaefferer
28b14ec47c Generate a uuid for each widget for unique namespaces. Fixes #8385 - Widget: _bind() on elements such as document are dangerous 2012-06-14 10:39:41 -04:00
Scott González
6d9c77a268 Tabs: Better event binding/unbinding. 2012-06-13 10:40:41 -04:00
Scott González
9608e98149 Widget: Rename _bind() to _on(). Partial fix for #7795 - Widget: _on and _off. 2012-06-13 08:00:45 -04:00
Scott González
e8b623207a Tooltip: When calling the content response method multiple times, only update the content, don't do any other processing. 2012-06-13 05:18:48 -04:00
Scott González
3d5c6183a3 Tabs: Removed TODO about making .load() accept nodes; it's unnecessary. 2012-06-12 10:39:32 -04:00
Scott González
9ebeb0616a Tabs: Walk previous tabs (and loop) in refresh() in case the tab we're trying to activate is disabled. 2012-06-12 10:07:16 -04:00
Scott González
9e805c0384 Tabs: Rename internal properties. 2012-06-12 09:11:49 -04:00
Scott González
f0d4da8903 Widget: Work around bug in jQuery <1.6.3 where .removeData( dashed-name ) doesn't work. 2012-06-11 13:30:03 -04:00
Scott González
4866182dee Tabs: jQuery <1.7.2 treats .data() as a getter if the value to set is undefined. 2012-06-11 10:43:04 -04:00
Scott González
48588d3bef Tabs: Implement ARIA + Key handling. Fixes #3079 - Tabs: keyboard accessibility. Fixes #7845 - Tabs: default accessibility. 2012-06-08 22:26:05 -04:00
Mike Stay
6dcc5c14c8 Datepicker: Pulled event handlers into static code. Fixed #3945 - DatePicker does not respond to any click events in AIR, Google Sites, Windows Metro. 2012-06-06 09:59:15 -04:00
Amir E. Aharoni
8f42ab0134 Datepicker: Changed Arabic dayNamesMin to one-letter strings. Fixes #8375 - Datepicker: Incorrect dayNamesMin for Arabic locale.
Before this change the minimal names for days of week were the same
as the long names. This caused the datepicker to be too wide.

The one-letter strings come from the CLDR:
http://unicode.org/repos/cldr-tmp/trunk/diff/summary/ar.html
2012-06-01 10:41:32 -04:00
kborchers
2da2ae5070 Menu: Properly remove submenu carat icons and menu dividers during destroy and add a test for this functionality 2012-06-01 00:03:16 -05:00
kborchers
6e7ee98603 Menu: Add comment explaining extra filter from keypress 2012-05-31 23:03:51 -05:00
kborchers
ef9a0c005c Menu: Typo in comment 2012-05-31 19:55:18 -05:00
kborchers
94d87c8ad6 Menu: Don't remove the icon elements on destroy since they exist in the original markup 2012-05-31 19:54:12 -05:00
Felix Nagel
39532f0a8e Selectmenu: Use new uniqueId method for generating id's 2012-05-31 18:54:57 +02:00
Felix Nagel
749c8fbb66 Merge branch 'master' into selectmenu 2012-05-31 18:43:42 +02:00
Jörn Zaefferer
e0fe788ee0 Accordion: Update activate and beforeActivate event properties to newPanel/oldPanel (instead of content). Fixes #6840 and #6842 2012-05-30 14:41:58 +02:00
Scott González
fe567eb958 Tabs: Properly remove generated aria-controls attributes on destroy. 2012-05-30 08:01:02 -04:00
kborchers
240b22b143 Dialog: Use new uniqueId method for generating id's 2012-05-29 23:11:42 -05:00
kborchers
9f59d01fdc Tabs: Remove aria-controls attribute during destroy 2012-05-29 22:25:23 -05:00
kborchers
d44f3d079e Menu: Use new uniqueId and removeUniqueId methods for generating id's on menus and menu items and for removing those id's during destroy. Also, properly remove the aria-disabled attribute during destroy. 2012-05-29 21:13:45 -05:00
kborchers
40e47c0b08 Core: Add the uniqueId() and removeUniqueId() methods written by @scottgonzalez to provide a generalized way of generating and removing generated element id's. Also, added a unit test. Fixed #8361 - Add uniqueId() and removeUniqueId() 2012-05-29 21:13:17 -05:00
Pavel Stetina
0bbad349b9 Datepicker: Corrected language code for Georgian language according to ISO 639. Fixed #8356 - jquery.ui.datepicker-ge.js has wrong language code. 2012-05-29 10:20:02 -04:00
Scott González
234ced07ef Tabs: Simplify _findActive() now that hrefs are never used. 2012-05-29 10:04:20 -04:00
Danny Trunk
6e2f95f59d Tabs: Added heightStyle option. Fixed #8345 - Tabs: Add heightStyle option. 2012-05-28 15:11:20 -04:00
Scott González
be784b2f79 Menu: Added a comment about which characters are checked for dividers. 2012-05-25 12:58:40 -04:00
kborchers
fe7ca1f1c3 Menu: Better handling of divider elements and menu items without anchors. 2012-05-24 23:45:12 -05:00
Scott González
f63bb4fbc4 Menu: Minor cleanup. 2012-05-24 21:15:55 -04:00
Scott González
03da6e41f6 Autocomplete: Remove left-over clearTimeout( this.closing ). 2012-05-24 16:16:27 -04:00
Scott González
6a48cda458 Accordion: Make sure there's always one header with tabindex=0. Fixes #8348 - Accordion: Collapsed accordion is removed from tab order. 2012-05-24 15:46:22 -04:00
Scott González
1af21ce27d Spinner: Use _destroy() instead of destroy(). 2012-05-24 15:21:35 -04:00
Scott González
79e4ae93b5 Droppable: Fixed destroy method. 2012-05-24 15:20:10 -04:00
Scott González
446d8b7f4c Selectable: Fixed destroy method. 2012-05-24 15:18:04 -04:00
Scott González
ae3d3515a7 Resizable: Fixed destroy method. 2012-05-24 15:16:28 -04:00
Scott González
4da1716cfd Draggable: Fixed destroy method. 2012-05-24 15:10:49 -04:00
Viktar Varvanovich
a0c18ea250 Draggable: Apply ui-draggable-dragging class prior to calculating dimensions. Fixes #8349 - Draggable: Incorrect dimensions used if .ui-draggable-dragging changes dimensions 2012-05-24 14:31:52 -04:00
Felix Nagel
d4ec5cbb3f Selectmenu: make use of Menu option 'role' (follow-up), no need to adjust li role 2012-05-24 18:56:41 +02:00
Felix Nagel
7345e43048 Selectmenu: make use of Menu option 'role' 2012-05-24 18:41:32 +02:00
Felix Nagel
b30184d885 Merge with master 2012-05-24 18:34:32 +02:00
Felix Nagel
ec6d88fae4 Selectmenu: small fixes for lint tests 2012-05-24 18:30:39 +02:00
Scott González
a1f604eb45 Accordion: Coding standards. 2012-05-24 08:37:01 -04:00
Scott González
d0ef9d6fb2 Autocomplete: We no longer need to remove aria attributes on destroy. 2012-05-23 19:28:52 -04:00
Scott González
164e46e9aa Accordion: Use .show()/.hide() for initial panel visibility. 2012-05-23 15:57:48 -04:00
Scott González
c1dc1911bf Tabs: Whitespace. 2012-05-22 16:22:40 -04:00
Scott González
ad1b647973 Tabs: Don't blur anchors on activation. 2012-05-22 15:13:45 -04:00
Scott González
bbb44f9e67 Tabs: Use ._bind() for main event handling. 2012-05-22 15:12:38 -04:00
Scott González
9b37ed24ce Tooltip: Use this instead of that when possible. Saves 24 bytes :-) 2012-05-22 13:46:33 -04:00
Jörn Zaefferer
0c87dd1f45 Tooltip: Cleanup comments 2012-05-22 18:34:00 +02:00
Scott González
b6cc9dd870 Tooltip: Handle multiple aria-describedby values. 2012-05-22 11:06:44 -04:00
Jörn Zaefferer
9dcd0e0eb8 Menu: Handle SPACE same as ENTER, select items or opening submenus 2012-05-22 16:01:40 +02:00
TJ VanToll
1f1613852c Button: Corrected default label applied to submit buttons. Fixed #8337: Submit inputs don't automatically set label option. 2012-05-22 08:43:21 -04:00
Scott González
286941ef8d Dialog: Only create the button pane once and store a reference to it. Fixes #8343 - _createButtons removes all elements with .ui-dialog-buttonpane class. 2012-05-22 08:28:53 -04:00
Courthead
c42bdcecf8 Sortable: calculating item positions on the fly and setting the direction variable when inserting an item into a different sortable. Fixed #8268 - Items may not be inserted into the correct position when dragged between connected sortables 2012-05-22 08:00:20 -04:00
Scott González
033f83ffeb Core: Check if jQuery supports inner/outer/Width/Height setters. 2012-05-21 15:29:53 -04:00
Scott González
15ece1f51a Buttonset: Use input[type=*] instead of just [type=*]. 2012-05-21 14:56:18 -04:00
Scott González
e37f599a53 Don't use :submit selector. 2012-05-21 14:53:27 -04:00
Scott González
8b17f68b57 Don't use :reset selector. 2012-05-21 14:50:49 -04:00
Scott González
51863d5a71 Don't use :input selector. 2012-05-21 14:49:49 -04:00
Scott González
b4ca9289cf Don't use :button selector. 2012-05-21 14:42:08 -04:00
Scott González
26b5492441 Button: Fixed version properties. 2012-05-21 13:51:49 -04:00
Scott González
e6f21410ff Don't use :checkbox selector. 2012-05-21 12:47:15 -04:00
Scott González
9ac52deaa2 Don't use :radio selector. 2012-05-21 12:43:35 -04:00
Jörn Zaefferer
1e586dcd48 Menu: Refactor focus method, extract _scrollIntroView method 2012-05-21 16:42:14 +02:00
Jörn Zaefferer
f89971a2c3 Menu: Coding standards 2012-05-21 16:36:33 +02:00
Scott González
5455b1599f Resizable, Slider: Don't use .hover(). 2012-05-21 09:55:56 -04:00
Scott González
44cd5d9186 Tabs: Fixed reference to jQuery. 2012-05-21 08:31:38 -04:00
Scott González
cac6831e34 Autocomplete: Coding standards. 2012-05-18 16:23:03 -04:00
Scott González
5c9d9f9e9d Tabs: Pass the list item instead of the anchor in events; move aria-controls from the anchor to the list item. 2012-05-18 16:11:14 -04:00
kborchers
098dd1404b Autocomplete: Added check to prevent accidental focus of menu-item on page load in Firefox. Fixed #7024 - Autocomplete menu options are activated even if mouse is not moved. 2012-05-18 15:55:10 -04:00
Scott González
0adc6f5e17 Menu: Remove need to pass an event for next(), previous(), focus(). 2012-05-18 15:34:47 -04:00
Scott González
f67b69a288 Effects: Lint fixes. 2012-05-17 19:46:43 -04:00
Scott González
a88b94ebeb Tabs: Update todo to reference newer ticket. 2012-05-16 19:22:49 -04:00
Scott González
90705cdffe Tabs: Preparing for when jQuery starts always returning jqXHR objects from $.ajax(). 2012-05-16 17:14:50 -04:00
Felix Nagel
c5a449d611 Selectmenu: small fixes for lint tests 2012-05-16 20:41:24 +02:00
Felix Nagel
360e885d98 Selectmenu: updated copyright year 2012-05-16 19:27:11 +02:00
Felix Nagel
ddf7c27c75 Selectmenu: prevent copyright notice from being removed by minification 2012-05-16 19:26:31 +02:00
Felix Nagel
b348d32caa Selectmenu: trim trailing spaces 2012-05-16 19:25:21 +02:00
Felix Nagel
8fbdd7cc38 Menu: Check that the event object is defined before checking type, in conformance to revision e2a6cdd525 and in order to make Selectmenu work again 2012-05-16 19:18:42 +02:00
Scott González
85639bf0fa Autocomplete: Update live region if focus event is canceled. Remove live region on destroy. 2012-05-16 09:43:49 -04:00
Jörn Zaefferer
f4b2d7a411 Autocomplete: ARIA live region as extension, adding a messages option. Fixes #7840 - Autocomplete: popup results not read by screen-readers 2012-05-16 11:55:12 +02:00
Scott González
d4318a5f4c Tabs: Replaced fx option with show and hide options. Fixes #8319 - Tabs: Deprecate fx option. 2012-05-14 14:40:06 -04:00
Eneko Illarramendi
1304c50532 Datepicker: Fixed Basque locale. Fixes #8318 - Datepicker i18n: Basque locale incorrect. 2012-05-14 14:27:59 -04:00
Felix Nagel
c6a8d7ee3c Merge branch 'master' into selectmenu 2012-05-14 11:52:47 +02:00
Felix Nagel
41dfb09aeb Merge branch 'master' into selectmenu 2012-05-14 11:49:44 +02:00
Scott González
d393c8b4cb Spinner: Handle async focus events in IE. Fixes incorrect detection of changes. 2012-05-10 17:59:55 -04:00
Scott González
ab4d8b748d Autocomplete: Fixed context for handling async focus in IE; makes change event work properly in IE again. 2012-05-10 12:57:41 -04:00
Scott González
a15d40eb5f Sortable: Remove uses of self var; use that var. 2012-05-09 20:20:15 -04:00
Scott González
71c0562f51 Selectable: Remove uses of self var; use that var. 2012-05-09 20:20:15 -04:00
Scott González
84c8ba014e Resizable: Remove uses of self var; use that var. 2012-05-09 20:20:15 -04:00
Scott González
8fcf7ea828 Dialog: Remove uses of self var; use that var. 2012-05-09 20:20:15 -04:00
Scott González
282554e900 Slider: Use base destroy method. 2012-05-09 15:42:18 -04:00
Scott González
d89b8f0509 Slider: Remove uses of self var; use new APIs or that var. 2012-05-09 15:29:14 -04:00
Jörn Zaefferer
653673ed64 Tooltip: Fix the accessible properties IE exposes 2012-05-09 18:26:19 +02:00
Scott González
a1b9fbfe75 Autocomplete: Remove uses of self var; use new APIs or that var. 2012-05-09 09:20:20 -04:00
kborchers
4e28500391 Menu: Whitespace 2012-05-08 23:57:56 -05:00
kborchers
97cb7decee Menu: Remove close delay for keyboard interaction to fix an issue with properly adding and removing ui-state-active class during quick navigation through submenus 2012-05-08 23:53:14 -05:00
Scott González
04ba0a254a Accordion: Don't change corner classes on the collapsing panel's header until after the animation completes. Fixed #8224 - bug: Accordion corner style applying order. 2012-05-08 15:08:05 -04:00
Scott González
a7e143b4fe Effects: Check for anonymous content being exposed via document.activeElement. Fixes #8288 - Regression: jquery-ui animations focus fix causes Firefox Security Manager veto. 2012-05-07 10:32:42 -04:00
Scott González
650fe5c5db Dialog: Removed trailing whitespace. 2012-05-07 09:57:18 -04:00
Jay Merrifield
cab4c467d9 Dialog: Handle escape for all overlays. Fixes #8300 - Dialog: Incorrect behavior for ESCAPE with multiple modal dialogs. 2012-05-07 09:44:26 -04:00
martinf55
32f356bbfa Sortable: Moved change of helper position css. Fixed #5321 – Helper in a bottom-positioned Sortable is positioned wrong on drag start. 2012-05-07 09:04:11 -04:00
Scott González
dbf31da79f Tooltip: Only check if the element is active if the event that is causing the tooltip to close is not focusout. 2012-04-30 13:31:14 -04:00
Jason Moon
b8b0c52830 Sortable: update placeholder when axis is x or y. Fixed #8274 - placeholder doesn't move when dragging outside of container element 2012-04-30 13:04:18 -04:00
TJ VanToll
27d1023553 Draggable: Don't run stop methods for elements that have been removed. Fixed #8269 - Removing draggable element on drop : a(this).data("draggable") is undefined. 2012-04-30 12:39:06 -04:00
Scott González
4ab7d53b1c Autocomplete: Prevent the default action on escape when the menu is open. Fixes #8282 - Double escape clear IE form, continue Ticket #7643. 2012-04-30 11:48:37 -04:00
Scott González
21df5c27e3 Revert "Sortable: Always set placeholder size when necessary. Fixes #8262 - jQuery UI 1.8.19 don't respect forcePlaceholderSize."
This reverts commit 4f19289c10.
2012-04-30 10:39:06 -04:00
Scott González
b38dd26da0 Revert "Sortable: modified the contents of placeholder to a single "&nbsp;". Fixed #8135 - sortable: Horizontal sortable shifts causes elements to shift down."
This reverts commit b6e1f25ab8.
2012-04-30 10:38:51 -04:00
Corey Frang
aacdccc394 Effects Tests: Disabling focus based test - need some help here @scottgonzalez 2012-04-30 01:05:30 -05:00
Corey Frang
fe55b6cddb Effects: Updating unit tests to use some more stable logic hopefully 2012-04-30 00:19:52 -05:00
Scott González
57d18cd6b7 Removed some unused variables. 2012-04-28 17:36:38 -04:00
Scott González
d165a77027 Accordion: Removed unused variables. 2012-04-25 08:39:35 -04:00
Jörn Zaefferer
c660d679b1 Position: Remove at-center guards, take at:center into account instead. Fixes #8127 - collision:flip should be supported for at:center 2012-04-24 17:50:52 +02:00
Jörn Zaefferer
db72cb7e94 Merge branch 'position-notification' 2012-04-24 17:29:16 +02:00
Jörn Zaefferer
252352e124 Position: Fix scrollbar calculcation to correctly take overflow:scroll into account, along with unit tests 2012-04-24 17:23:25 +02:00
Shahyar G
f3b022ddb8 Use length property, instead of the deprecated size() method. 2012-04-23 20:49:57 -04:00
Scott González
0f575e03bb Merge branch 'master' into position-notification
Conflicts:
	tests/unit/position/position_core_within.js
2012-04-23 16:33:34 -04:00
Scott González
822e1c5009 Accordion: Fixed indentation. 2012-04-22 22:15:29 -04:00
Scott González
e55391a419 Datepicker: Added missing quote in Hindi i18n. 2012-04-22 21:44:21 -04:00
Scott González
2357d6d8da Easings: Save a byte. 2012-04-20 13:58:33 -04:00
Scott González
a166540251 Use .jshintrc files. 2012-04-20 11:19:27 -04:00
Scott González
308b55e50c Merge branch 'master' into position-notification 2012-04-20 11:06:11 -04:00
Scott González
2cf9948cad Position: Use offsets for all calculations in feedback API. 2012-04-20 11:02:50 -04:00
Scott González
22b7f9a819 Position: Use targetElem for events to maintain consistency. 2012-04-20 10:12:14 -04:00
Scott González
a9f1ffb4fd Position: Simplify border calculations for feedback. 2012-04-20 10:10:02 -04:00
Jörn Zaefferer
3b73177d0c Position: Also create a local reference for Math.round; update other Math references 2012-04-20 14:15:57 +02:00
Jörn Zaefferer
cfa6aa328e Position: offset() always returns null for window, so provide default 0/0 coordinates to avoid checks further down 2012-04-20 14:13:52 +02:00
Jörn Zaefferer
be3af5bc64 Position: Move Math.abs/max definitions to the top of the file 2012-04-20 14:09:17 +02:00
kborchers
00306d6bbd Menu: Bind to mouseenter instead of mouseover to avoid use of stopImmediatePropagation 2012-04-19 23:49:33 -05:00
TJ VanToll
6150abae49 Resizable: Apply zIndex option to all handles. Partial Fix for #7960- Modal dialog does not disable resizables on the page. 2012-04-19 20:55:02 -04:00
G Karunakar
d783766f90 Datepicker: Corrections in Hindi weekday names, text labels. Fixes #8265 - Datepicker: Incorrect translations for Hindi locale. 2012-04-19 20:35:16 -04:00
Scott González
72a0f5c512 Menu: Lint. 2012-04-19 10:29:55 -04:00
kborchers
58a120bb4b Merge branch 'menuaria' into master 2012-04-19 09:24:08 -05:00
Bertjh
4f19289c10 Sortable: Always set placeholder size when necessary. Fixes #8262 - jQuery UI 1.8.19 don't respect forcePlaceholderSize. 2012-04-19 09:05:37 -04:00
Scott González
d0cac09027 Sortable: Whitespace. 2012-04-19 09:03:22 -04:00
kborchers
49f85509fe Menu: Whitespace 2012-04-18 21:30:07 -05:00
Scott González
cb8474af1d Remove trailing whitespace. 2012-04-18 21:57:51 -04:00
Jörn Zaefferer
d3dc637b65 Position: Cleanup variable definitions, move undefined vars to the top 2012-04-18 16:43:25 +02:00
Jörn Zaefferer
f594c0623a Position: Make getOffsets and parseCss helpers local functions, no need to expose those 2012-04-18 00:30:47 +02:00
Jörn Zaefferer
5cf3f927a0 Tooltip: Remove bad docs links from headers 2012-04-17 09:56:20 +02:00
kborchers
1ce42f4328 Menu: Modified interactions to allow keyboard navigation to disabled items so that they are announced by screen readers but prevent selection of and navigation to sub-menus of disabled items 2012-04-16 23:30:33 -05:00
kborchers
fac809f9e5 Menu: Fixed typo in comment 2012-04-16 07:05:02 -05:00
kborchers
9a6392033a Menu: Add aria-disabled attribute to disabled items, namespace and cleanup the currentEventTarget click event 2012-04-16 07:02:38 -05:00
kborchers
e2a6cdd525 Menu: Check that the event object is defined before checking type 2012-04-14 16:00:19 -04:00
kborchers
26d6952bd2 Menu: Remove most event.stopImmediatePropagation() to allow proper event bubbling 2012-04-14 15:34:00 -04:00
Jörn Zaefferer
a5fc9eb7db Position: Expose target and element dimensions to allow further customization, like calculating the angle between the two elements 2012-04-13 16:05:29 +02:00
Jörn Zaefferer
cb67eb535c Position: Cache the scrollbarWidth calculation result 2012-04-13 15:12:37 +02:00
Jörn Zaefferer
7dcfae7da2 Position: Extract getWithinInfo method, use that for tests that call getScrollInfo directly, pass within info to that, gets rid of a few more DOM accesses 2012-04-13 15:05:43 +02:00
Jörn Zaefferer
c0a5e52f87 Position: Finish refactoring of within data 2012-04-13 14:46:43 +02:00
Jörn Zaefferer
59b93a7dac Position: Refactor within-data to avoid calculating that more then needed. Not quite done, but good enough for now 2012-04-12 18:33:31 +02:00
Jörn Zaefferer
8c76fe38bf Position: Inline center variable. Not necessary with gzip (or a good minifier) in place, wasn't consistent with other inline strings 2012-04-12 17:48:01 +02:00
Jörn Zaefferer
1779d86b40 Position: add target property to feedback argument, to allow additional calculation in user's using callback 2012-04-12 17:33:05 +02:00
Jörn Zaefferer
2154ca552a Position: Cache Math.abs and Math.max lookups 2012-04-12 17:14:03 +02:00
Jörn Zaefferer
58d5452a7c Position: Refactor css parse calls 2012-04-12 17:10:51 +02:00
Jörn Zaefferer
6ffc4adf06 Position: Calculate scrollInfo just once, not for each element 2012-04-12 16:57:51 +02:00
Jörn Zaefferer
08c8aedf80 Position: Refactor offset calculations 2012-04-12 16:56:54 +02:00
Jörn Zaefferer
0c5c2c7055 Position: Restrict the center/middle priority to target < element cases 2012-04-12 16:14:16 +02:00
Jörn Zaefferer
d077f9b360 Position: Improve feedback API by giving the center/middle position more weight. Also removed themeswitcher from test pages, now load faster 2012-04-12 01:32:30 +02:00
Jörn Zaefferer
623e8e68b4 Position: Mini refactoring, avoids proxying using callback multiple times if more then one element is positioned 2012-04-11 00:19:26 +02:00
Jörn Zaefferer
c0cceee8e4 Position: Fix single var, whitespace. Clone targetOffset to avoid reading that twice 2012-04-10 23:41:41 +02:00
Jörn Zaefferer
e5ba731019 Position: Use a separate object and argument for the feedback information, keeping position props as they were 2012-04-10 22:16:38 +02:00
Jörn Zaefferer
479530bb61 Position: First draft for a new notification API, via using callback, telling you were the of-element is, not just when something flipped. New test page demonstrates usage 2012-04-10 18:15:30 +02:00
Scott González
92c74818ff Menu: Cleanup. 2012-04-10 08:39:18 -04:00
kborchers
44ef35eb6f Menu: Add dividers using empty list items 2012-04-07 15:38:27 -05:00
Scott González
c0f5db5394 Tabs: Don't explicitly remove filter when animating opacity. Fixes #4621 - Tabs: Don't forcefully remove filter attribute. 2012-04-06 09:03:04 -04:00
kborchers
cd90e57f22 Merge branch 'positionWithin' 2012-04-04 22:12:11 -05:00
Jörn Zaefferer
79f1eea6dc Build: Filter filters for linting to exclude some to-be-rewritten ones. Fix lint in those remaining 2012-04-04 11:02:08 +02:00
kborchers
e7701e2efa Position: Fixed issue with offsets using the within option which caused flips to not happen when the containing element had been scrolled. 2012-04-03 21:08:34 -05:00
Scott González
a505192420 Tabs: Coding standards. 2012-04-03 19:59:08 -04:00
Scott González
96f9c84b7b Autocomplete: Move race condition logic from ajax requests to general response handler. Fixes #8234 - Autocomplete: Automatic race-condition handling for custom sources. 2012-04-03 16:47:14 -04:00
Scott González
4ade13450e Datepicker: Don't set _curInst in hideDatepicker. Fixes #8174 - jQuery datepicker is stuck open if label is clicked from open state. 2012-04-03 15:36:33 -04:00
Scott González
e0616aaf74 Autocomplete: Add header protection which was accidentally removed. 2012-04-03 07:15:09 -04:00
Scott González
0624c74929 Effects core: Properly handle defaults for effects that are called with a single hash. 2012-04-02 22:35:42 -04:00
Scott González
639afa5954 Lint fixes. 2012-04-02 19:12:21 -04:00
Scott González
ccbfd45924 A few lint fixes. 2012-04-02 15:55:50 -04:00
Jo Liss
37dcc3e21d Protect all copyright notices against minification
For instance, this is useful for the jquery-ui-rails gem, which does not
use jQuery UI's own minification, but relies on Rails to minify the
files where necessary. Rails in turn uses UglifyJS for JS and YUI for
CSS, both of which respect the /*! ... */ convention.
2012-04-02 15:21:06 +02:00
Simon
48e5c853f9 Datepicker: Changed German translation for weekHeader to "KW". Fixes #8231 - Provide a better German translation for the week header. 2012-04-02 08:47:29 -04:00
Felix Nagel
1092551e21 Selectmenu: fixed small regression which added unwanted, empty optgroup to every menu 2012-04-01 22:38:16 +02:00
Scott González
45a5a24dfe Tooltip: Store the title in ui-tooltip-title data only if the element has a title. 2012-03-30 09:06:06 -04:00
Scott González
56de22eead Tooltip: Avoid infinite recursion when disabling a tooltip on close. 2012-03-29 18:36:38 -04:00
Amir E. Aharoni
a51451dc1b Datepicker: Fixed nextText, prevText, and Sunday and split words onto multiple lines for readability. Fixes #8225 - Datepicker: Incorrect values in Persian localization. 2012-03-29 09:51:43 -04:00
Scott González
6634e40053 Accordion: Fixed post-init changes to event option and added tests for keyboard support. 2012-03-27 16:49:05 -04:00
Hans Hillen
0370170b2f Accordion: Fixed ARIA support and added proper keyboard support. 2012-03-27 10:19:35 -04:00
Scott González
adbc2733bb Tabs: Wrap attribute value in quotes when querying. Fixes #8207 - Tabs: Error with href selector. 2012-03-22 13:17:17 -04:00
stojce
9bb9141f29 Datepicker: Fixed month name for Macedonian localization. Fixes #8206 - Datepicker: Incorrect month name for Macedonian localization. 2012-03-22 11:16:15 -04:00
Lado Lomidze
c12a47074e Datepicker: Added Georgian localization. Fixes #8205 - Datepicker: Add Georgian localization. 2012-03-22 11:10:36 -04:00
Scott González
94c6f9ec84 Mouse: Unbind events bound to document on destroy. Fixes #8199 - _mouseDestroy keeps mousemove and mouseup events bound. 2012-03-19 09:47:38 -04:00
kborchers
4a9e26c68e Selectmenu: Add links to all menu items to be in line with what menu expects and remove the extra space added to disabled items 2012-03-18 21:47:40 -05:00
kborchers
e38feeacb6 Merge branch 'master' into selectmenu 2012-03-18 21:19:19 -05:00
kborchers
11b026d59b Menu: Better disabled item handling using preventDefault() for the click event on anchors inside of disabled menu items and change the pointer to default 2012-03-18 21:18:00 -05:00
Jörn Zaefferer
6de8030f01 Merge branch 'accordion-cleanup' 2012-03-18 15:46:11 +01:00
Harri Kilpiö
5c53dd1bbc Datepicker: Corrected values of dayNamesShort in Finnish translation. Fixes #8194 - Datepicker: Incorrect day name for Finnish localization. 2012-03-14 15:14:42 -04:00
Scott González
682a321d1e Merge branch 'master' into selectmenu 2012-03-14 13:42:48 -04:00
Scott González
ec062c1156 Accordion: Removed ui-accordion-disabled class. Fixes #8193 - Accordion: Remove ui-accordion-disabled class. 2012-03-14 11:08:19 -04:00
Scott González
932fe888c0 Updated copyright year. 2012-03-08 10:53:08 -05:00
Jörn Zaefferer
17db755a4f Accordion: Use _bind for event option. Refactor other _bind call to go into _setupEvents as well, simplifying unbinding a lot. Also add missing semicolon 2012-03-07 20:00:02 +01:00
Scott González
471ac4dd1c Accordion: Added missing semicolon. 2012-03-07 13:34:47 -05:00
Jörn Zaefferer
397176da3e Accordion: Remove disabled check in _keydown, covered by _bind 2012-03-07 19:28:42 +01:00
Jörn Zaefferer
0509582773 Accordion: Fix unbinding of accordion event option when dealing with multiple events. Make sure to unbind only those namespaced to .accordion 2012-03-07 19:17:09 +01:00
Jörn Zaefferer
1d68f13399 Accordion: Use _bind for keydown handler 2012-03-07 18:54:38 +01:00
Scott González
374661a2ff Accordion: Code review. 2012-03-02 07:14:44 -05:00
gromo
3e8ec7eb6b Resizable: Update aspectRatio to use calculated aspectRatio in case of: containment - parent; aspectRatio - true. Fixes #8158 - Resizable: aspectRatio: true isn't handled properly. 2012-03-02 06:13:37 -05:00
Jörn Zaefferer
2321ae06cb Remove both widgetName and widgetFullName data 2012-03-01 15:13:52 +01:00
Jörn Zaefferer
5e51b8db28 Update Widget data naming/usage. Remove unnecessary fallbacks, update .removeData to use full name. 2012-03-01 15:03:30 +01:00
Jörn Zaefferer
d901cd4160 Autocomplete: Add removal TODOs for #7810 2012-03-01 14:40:23 +01:00
Jörn Zaefferer
1b80154832 Widget: Rename widgetBaseClass to widgetFullName. Deprecates widgetBaseClass, to be removed later. Fixes #8154 2012-03-01 14:36:17 +01:00
Jörn Zaefferer
5fda4f6828 Update data naming for Widget, including backwards compability. Updated tests and added one for the custom expression. Partial fix for #7810 2012-03-01 14:30:02 +01:00
Jörn Zaefferer
45ca20fa33 Update data naming for Effects. Partial fix for #7810 2012-03-01 13:42:42 +01:00
Jörn Zaefferer
59f2e88c58 Update data naming for Tooltip. Partial fix for #7810 2012-03-01 13:32:47 +01:00
Jörn Zaefferer
e93993c54f Update data naming for Tabs. Partial fix for #7810 2012-03-01 13:31:25 +01:00
Jörn Zaefferer
bfadd5c5a2 Tabs: Whitespace cleanup 2012-03-01 13:30:57 +01:00
Jörn Zaefferer
b141d63a17 Update data naming for Slider. Partial fix for #7810 2012-03-01 13:29:56 +01:00
Jörn Zaefferer
98daa6af84 Slider: Whitespace cleanup 2012-03-01 13:29:31 +01:00
Jörn Zaefferer
3a0b8b8433 Update data naming for Accordion. Partial fix for #7810 2012-03-01 13:26:44 +01:00
Scott González
b4d9eee966 Merge branch 'master' into selectmenu 2012-02-29 22:09:26 -05:00
Jörn Zaefferer
811b377aad Update data naming for autocomplete. Backwards compatible for overrides of _renderItem. Partial fix for #7810 2012-02-28 16:08:59 +01:00
Scott González
70de33ae6d Core: Fixed typo.
Thanks jsgoupil
2012-02-27 16:22:42 -05:00
Trey Hunner
9d6e94faf4 Use hard tabs for indentation consistently 2012-02-27 12:04:30 -05:00
Scott González
02855292f2 Accordion: Removed requirement for headers contain a child (and removed associated ui-accordion-heading class). 2012-02-27 09:05:22 -05:00
kborchers
4da7ec37ac Menu: Add default null callbacks and update unit tests 2012-02-26 22:52:38 -06:00
Scott González
1e291c92cd Accordion: Reset height prior to calculations on refresh. 2012-02-26 22:04:21 -05:00
Scott González
7f533dfb44 Accordion: Don't toggle icons if the accordion doesn't have icons. 2012-02-26 21:54:05 -05:00
Felix Nagel
b1a72e6e04 Selectmenu: small improvements, code clean-up, lint, coding guidelines 2012-02-26 03:46:27 +01:00
Felix Nagel
cea684492d Selectmenu: removed working but illogical closest context 2012-02-26 03:13:44 +01:00
Felix Nagel
f2228b0553 Selectmenu: remove unwanted Menu mouseover event, fixes problem with selected item highlighting on menu open 2012-02-26 01:50:55 +01:00
Felix Nagel
c5efddab2d Selectmenu: small fix for _toggleAttr to make sure isOpen is not undefined 2012-02-26 01:15:49 +01:00
Felix Nagel
85d6acb899 Selectmenu: merged _toggleButtonStyle with _toggleAttr method, removed incomplete dropdown _setOptions functionality 2012-02-25 03:17:20 +01:00
Felix Nagel
a4eeddd330 Selectmenu: improve optgroup header event handling, fixed disabled item event handling, improve attribute handling on menu toggle, small improvements, clean-up 2012-02-25 01:43:53 +01:00
Felix Nagel
c0f9dd31e9 Selectmenu: unbind Menu document click event (fires unwanted focus event) 2012-02-25 00:15:28 +01:00
Jasvir Nagra
367da95ba5 Datepicker: modified a catch variable to no longer mask an existing variable in scope. Fixed #8138 - datepicker: IE8 does not create a new scope for catch blocks and will cause 2012-02-24 13:57:46 -08:00
Felix Nagel
b356e1e4e1 Selectmenu: selected callback event fired twice when using mouse 2012-02-24 22:50:27 +01:00
Felix Nagel
058cba236f Selectmenu: backfall for initial refresh when menu is opened 2012-02-24 22:39:11 +01:00
Bertjh
b6e1f25ab8 Sortable: modified the contents of placeholder to a single "&nbsp;". Fixed #8135 - sortable: Horizontal sortable shifts causes elements to shift down. 2012-02-24 08:38:18 -05:00
Felix Nagel
96102f7692 Selectmenu: use _hoverable and _focusable for button events 2012-02-23 23:32:17 +01:00
Felix Nagel
29effb38eb Selectmenu: removed Button widget dependency 2012-02-23 23:25:03 +01:00
Felix Nagel
43851b65f5 Selectmenu: removed unneeded SPACE keypress event 2012-02-23 21:05:11 +01:00
Jörn Zaefferer
58a5e23a78 Tooltip: Replace blur with focusout to deal with inputs nested in tooltipped elements. 2012-02-23 19:39:43 +01:00
Richard D. Worth
fa40c352af Corrected week header for et locale. Fixed #8129 - Localization error in et locale (week header) 2012-02-23 12:12:34 -05:00
Felix Nagel
c424ae40f0 Selectmenu: close open menu on escape keydown 2012-02-22 00:29:05 +01:00
Felix Nagel
45263578dd Selectmenu: removed aria-activedescendant attr from button 2012-02-21 23:44:32 +01:00
Felix Nagel
52e43c076f Selectmenu: re-enabled lazy loading of the menu items (menu refresh) 2012-02-21 23:41:00 +01:00
Felix Nagel
d0c31c188e Selectmenu: fix _setSelected method, fixes aria-selected and unit tests 2012-02-21 22:35:37 +01:00
Jörn Zaefferer
59d15809a3 Selectmenu: Introduce menuWidget method, to get access to the menu element. Fix various tests and simplify demos accordingly. Add comment about optgroup-click-handling. 2012-02-21 20:22:13 +01:00
Jörn Zaefferer
b15dc8e3c5 Selectmenu: Simplify _getCreateOptions implementation 2012-02-21 18:31:27 +01:00
Jörn Zaefferer
6528b48b47 Merge branch 'master' into selectmenu 2012-02-21 17:48:55 +01:00
Jörn Zaefferer
d32a9e81ec Tooltip: Mark target to prevent async results showing a tooltip that was closed already 2012-02-19 21:29:41 +01:00
Jörn Zaefferer
daacbaf221 Tooltip: Document why we don't use removeAttr 2012-02-19 21:17:35 +01:00
Scott González
f5b52a89a7 Autocomplete: Removed the timeout for the change event. Fixes #7550 - Autocomplete change event not triggered in time.
Thanks spekary for finding a workaround for IE.
2012-02-16 20:24:11 -05:00
Scott González
3d9f6b5bc7 Accordion: Rewrote the animation code. Fixes #4178 - Accordion animation a bit jumpy in some browsers. Fixes #7371 - Accordion: Incorrect size when zoomed. 2012-02-16 16:51:46 -05:00
Felix Nagel
98d72c7f6d Selectmenu: fixed _getCreateOptions usage 2012-02-15 22:16:18 +01:00
Richard D. Worth
90959389ee Added Datepicker Hindi i18n file. Fixed #8118 - Datepicker i18n - Hindi localization 2012-02-15 10:39:20 -05:00
Douglas
8406d97c6d Datepicker: Added Khmer localization. Fixes #8116 - Datepicker: Add Khmer localization. 2012-02-12 20:56:13 -05:00
jdomnitz
57fe6ed01d JavaScript "strict mode" fixes 2012-02-12 19:58:56 -05:00
Scott González
adaba7790b Autocomplete: Fixed typo in comment.
Thanks Jellyfrog.
2012-02-12 19:27:28 -05:00
Scott González
8dcb02d035 Core: Removed modifier keys from key codes. Fixed #7613 - Incorrect UI keyCodes. 2012-02-12 12:29:16 -05:00
Scott González
f813481117 Mouse: Use 'that' instead of 'self'. Partial fix for #5404 - remove uses of 'var self = this;' 2012-02-12 09:31:06 -05:00
Scott González
861842d361 Draggable: Use 'that' instead of 'self'. Partial fix for #5404 - remove uses of 'var self = this;' 2012-02-12 09:30:05 -05:00
Scott González
d2d301f074 Datepicker: Use 'that' instead of 'self'. Partial fix for #5404 - remove uses of 'var self = this;' 2012-02-12 09:27:54 -05:00
Scott González
41a1472469 Button: Use 'that' instead of 'self'. Partial fix for #5404 - remove uses of 'var self = this;' 2012-02-12 09:25:41 -05:00
Scott González
5c7be4798f Accordion: Use 'that' instead of 'self'. Partial fix for #5404 - remove uses of 'var self = this;' 2012-02-12 09:24:09 -05:00
Scott González
609243b21d Use jQuery.css() instead of deprecated jQuery.curCSS(). 2012-02-12 09:01:06 -05:00
Scott González
c0093b599f Easings: Rewrote all easings to only rely on state and reduce code size. Fixes #8115 - Easings: Simplify equations to only rely on state. 2012-02-11 12:20:46 -05:00
Scott González
530d4cb408 Autocomplete: Cancel search when closing the menu. Fixes #7523 - Autocomplete cancel pending request when text changes below minLength. 2012-02-11 10:12:51 -05:00
Scott González
041cb39a66 Autocomplete: Set context for ajax requests instead of relying on default context. Fixes #7490 - Autocomplete fails when context option is set with ajaxSetup. 2012-02-11 08:15:24 -05:00
Scott González
0434bce03d Slider: Prevent the default action on keydown if we're listening for the pressed key. Fixes #8109 - Slider: Key handling should prevent scrolling. 2012-02-09 14:00:21 -05:00
Scott González
c964894b9b Datepicker: Allow descendant elements in triggers. Fixes #8107 - Closing the datepicker via the provided button does not work in Chrome when the button contains other non-text elements. 2012-02-08 13:42:55 -05:00
Scott González
a3abb3b5f5 Merge pull request #593 from tjvantoll/bug_6763
Resizable: Removed Opera relative/absolute positioning exception code.
2012-02-08 08:43:16 -08:00
TJ VanToll
f5e5971821 Resizable: Removed Opera relative/absolute positioning exception code. Fixed #6763 - ui.dialog & resizable & button & opera 11 2012-02-06 21:17:39 -05:00
kborchers
1cd26fc759 Menu: Make sure the next element is defined in addition to checking length != 0 2012-02-06 15:16:08 -06:00
kborchers
b968ac32a1 Menu: Whitespace 2012-02-06 14:13:45 -06:00
kborchers
87dc9ce24a Menu: Prevent navigating to disabled menu items with the keyboard. 2012-02-06 14:12:56 -06:00
kborchers
30713ade36 Menu: Remove left over debugging statement. 2012-02-04 08:37:04 -06:00
kborchers
48ad0994a0 Menu: Prevent clicking on disabled menu items and remove unnecessary extra padding from disabled items. 2012-02-03 16:12:37 -06:00
Scott González
4259978d39 Sortable: Fixed destroy to remove instance from element. Fixes #8094 - .sortable() after destroy does not work. 2012-02-02 11:38:51 -05:00
Scott González
8cd4a8330c Widget: Allow redefining a widget after other widgets have inherited from it. 2012-02-01 16:59:26 -05:00
levushka
e496cde384 Datepicker i18n: Changed Hebrew monthNamesShort from number to names. Fixes #6051 - Hebrew and Arabic: Instead of the month name indicates the month number! 2012-02-01 16:19:30 -05:00
Scott González
5a55d68eca Accordion: Moved the ui-accordion-icons class to the headers to properly style nested accordions with varying settings of icons and no icons. Fixes #7880 - Nested accordion. 2012-01-31 12:48:00 -05:00
Scott González
3919256abd Accordion: Pass header and content in create event. Fixes #7869 - Accordion: Provide header and content details in create event. 2012-01-31 11:46:31 -05:00
Scott González
ecddf469d7 Accordion: Reset overflowX and overflowY after animations to fix overflow in Opera <11.6. Fixes #6971 - Accordion animation bug in Opera 11.01 with jQuery 1.4.3+. 2012-01-31 10:42:01 -05:00
Scott González
6074b0698a Accordion: Use ui-accordion-header-active class. 2012-01-31 08:54:21 -05:00
Felix Nagel
505d16a3e9 Selectmenu: trim trailing spaces 2012-01-27 23:11:31 +01:00
Felix Nagel
4bbfc2fd96 Selectmenu: cleanup and small improvements 2012-01-27 23:06:53 +01:00
Felix Nagel
62ba812af9 Selectmenu: improved empty select and empty option handling 2012-01-27 22:44:43 +01:00
Felix Nagel
b7df9e45cd Selectmenu: This reverts commit 36e6c445d3. 2012-01-27 00:39:42 +01:00
Felix Nagel
36e6c445d3 Selectmenu: small follow up 2012-01-27 00:18:36 +01:00
Felix Nagel
bef7f1b15b Selectmenu: click an optgroup header should not close the menu 2012-01-27 00:06:02 +01:00
Felix Nagel
827a8cb35c Selectmenu: improved handling of keypress events 2012-01-26 23:10:35 +01:00
Felix Nagel
8f9632ad7d Selectmenu: minor improvements 2012-01-22 20:25:27 +01:00
Felix Nagel
4dbbd0598a Selectmenu: implement new ARIA spec 2012-01-22 19:22:57 +01:00
kborchers
8c5c6e0a32 Menu: Added check for the disabled option on create. 2012-01-22 11:24:49 -06:00
Felix Nagel
759e47a657 Selectmenu: fixed positioning with overflow in IE 2012-01-22 15:20:35 +01:00
Felix Nagel
21d96f12f8 Merge branch 'master' of github.com:jquery/jquery-ui into selectmenu 2012-01-22 14:47:21 +01:00
Felix Nagel
725023e30d Selectmenu: revert initial refresh method changes (with unit tests)
This reverts commit 27049fc5dc and d83e169424
2012-01-22 14:12:52 +01:00
Felix Nagel
c5d9dbca5c Selectmenu: make use of _getCreateOptions 2012-01-22 13:38:34 +01:00
Scott González
6800e1a2f9 Tabs: Pass tab and panel in create event. Fixes #7868 - Tabs: Provide tab and panel details in create event. 2012-01-21 08:46:02 -05:00
Scott González
da89fcbc07 Widget: Added _getCreateEventData(). Fixes #8045 - Widget: Ability to provide event data for create event. 2012-01-21 08:45:41 -05:00
Scott González
0cf6bc0429 Tabs: Move logic for finding the tab list into its own function to allow overriding for rare usage scenarios. 2012-01-21 08:04:39 -05:00
stojce
b7af203c8e Datepicker i18n: Fixed Macedonian date format. Fixes #8040 - Datepicker: Macedonian locale has incorrect date format. 2012-01-20 11:32:31 -05:00
Scott González
c518774aa3 Merge pull request #569 from ryanolton/master
Fixed #5818 - multiple DatePickers won't trigger close event
2012-01-20 08:23:58 -08:00
Scott González
09cf7092f8 Merge pull request #570 from clear00/master
Datepicker i18n: Fix some issues on the Korean translation
2012-01-20 08:13:28 -08:00
SpoonNZ
ba6916f22a Sortable: Added a variable to track if initialization is complete. Fixes #4759 - a major optimization is possible in sortable(). 2012-01-20 11:01:32 -05:00
Scott González
956c2cd2a5 Core: Access offsetHeight on div for support tests to avoid a layout bug in IE 9. Fixes #8026 - minHeight support test affects page layout in IE 9. 2012-01-19 21:37:39 -05:00
Felix Nagel
04d9900c5e Selectmenu: minor improvements and cleanup 2012-01-20 01:30:16 +01:00
Felix Nagel
27049fc5dc Selectmenu: improve initial refresh method call 2012-01-20 00:48:42 +01:00
Scott González
15e73e38b2 Merge pull request #564 from arhea/master
Tabs isLocal function was not compatible with HTML5 push state
2012-01-19 14:05:00 -08:00
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
Felix Nagel
33bd0cd9fb Selectmenu: change dropdown style on the fly 2012-01-13 20:13:58 +01:00
Scott González
eee63a2e24 Datepicker i18n (nl-BE): Removed BOM. 2012-01-12 16:49:50 -05:00
Felix Nagel
3369ec340d Selectmenu: removed option value 2012-01-12 22:01:49 +01: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
Felix Nagel
38eaad39cf Selectmenu: removed forgotten console statement 2012-01-12 19:32:10 +01: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
Felix Nagel
d753f41a1f Selectmenu: fixed keyboard control (follow-up) 2012-01-12 01:05:08 +01:00
Felix Nagel
762131396e Selectmenu: improved disabled state handling 2012-01-11 21:20:24 +01:00
Felix Nagel
8c17f74a1e Selectmenu: create menu items with first opening to increase performance 2012-01-11 20:53:02 +01:00
Jörn Zaefferer
021243bc9b Merge branch 'master' into selectmenu 2012-01-11 20:00:04 +01: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
3cf98e5ca1 Widget: Set guid on event handler proxies so direct unbinding works. 2012-01-07 20:48:42 -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
bd7bd936d1 Merge branch 'master' into selectmenu 2011-12-23 09:53:05 -06:00
kborchers
f0007ec745 Menu: Change first() and last() to isFirstItem() and isLastItem() 2011-12-23 09:48:14 -06:00
Felix Nagel
3025c51821 Selectmenu: fixed button keyboard event handling (follow-up) 2011-12-23 01:34:12 +01:00
Felix Nagel
6d0c7d8e88 Selectmenu: improved ARIA handling (follow-up) 2011-12-22 03:05:49 +01:00
Felix Nagel
1538f6337b Selectmenu: removed unneeded position workaround 2011-12-22 02:23:30 +01:00
Felix Nagel
8e4dc4017b Selectmenu: improved handing of (ARIA) attributes 2011-12-22 02:22:10 +01:00
Felix Nagel
a5560f3037 Selectmenu: improved button event handling, Home/End and Page Up/Page Down keys work now, THX to John 2011-12-22 01:54:05 +01: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
672218bfec Merge branch 'master' into selectmenu 2011-12-15 13:32:02 -06:00
kborchers
cf1470dcef Menu: Replace accidentally removed scroll-handling code in focus 2011-12-15 13:28:33 -06:00
kborchers
a53916b454 Merge branch 'master' into selectmenu 2011-12-15 12:57:11 -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
c3369365c3 Merge branch 'master' into selectmenu 2011-12-01 12:49:01 -06:00
kborchers
ce7918fc73 Menu: Change items option to menus 2011-12-01 12:39:16 -06:00
kborchers
b539e2e5c8 Merge branch 'master' into selectmenu 2011-11-30 10:49:13 -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
Jörn Zaefferer
9bd08798c2 Merge branch 'master' into selectmenu 2011-11-24 11:25:24 +01: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
Felix Nagel
e79700eb28 Selectmenu: fixed aria-hidden attribute 2011-11-22 00:11:23 +01: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
95ea303418 Remove method argument from _super and _superApply. 2011-11-18 17:15:01 +01:00
Jörn Zaefferer
dbb274702a Whitespace cleanup 2011-11-18 17:14:38 +01:00
Jörn Zaefferer
d6e4d4705d Merge branch 'master' into selectmenu 2011-11-18 17:13:28 +01: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
Felix Nagel
6edc790e8c Selectmenu: renaming of internal variable opened to isOpen 2011-11-02 19:44:45 +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
Felix Nagel
2ed360c380 Selectmenu: code cleanup 2011-10-17 22:13:36 +02:00
Felix Nagel
c31e6e8ffe Selectmenu: fixed disabled option 2011-10-17 22:04:54 +02:00
Felix Nagel
31ccf10698 Selectmenu: fixed IE width calc 2011-10-17 22:04:14 +02:00
Felix Nagel
df68860a61 Selectmenu: removed unneeded data binding, improved event handling, 2011-10-17 22:03:22 +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
Felix Nagel
cc232430fe Selectmenu: added braces to if clauses, coding guidelines 2011-10-12 22:14:28 +02:00
Felix Nagel
0c954cb243 Selectmenu: changed this.ids to associative array 2011-10-12 22:06:18 +02: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
Felix Nagel
7b9813c40e Selectmenu: improved event handling, fixed tabindex when disabled 2011-10-12 02:10:31 +02:00
Felix Nagel
c0864df4d7 Selectmenu: changed to _delay 2011-10-12 02:02:19 +02:00
Felix Nagel
2e229e8ddc Selectmenu: renamed vars and methods 2011-10-12 01:38:30 +02:00
Felix Nagel
9b2e0c97f0 Selectmenu: fixed disabled state tabindex 2011-10-12 01:26:31 +02:00
Felix Nagel
469426160e Selectmenu: removed unneeded that, use this instead 2011-10-12 01:24:04 +02: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
Felix Nagel
ee26baa997 Selectmenu: improved event handling, fixed anchor problem when clicking menu item 2011-10-10 20:27:29 +02:00
Felix Nagel
8944abce67 Selectmenu: fixed destroy method, show original select again, thx to @jzaefferer 2011-10-10 20:08:47 +02:00
Felix Nagel
ba748232c1 Selectmenu: added custom_render.html demo, removed widgetBaseClass 2011-10-09 01:54:36 +02:00
Felix Nagel
f4454ce30e Selectmenu: fixed click scrollbar issue (follow up), improved document event handling 2011-10-09 00:47:09 +02:00
Felix Nagel
ac54556fb3 Merge branch 'master' of github.com:jquery/jquery-ui into selectmenu 2011-10-09 00:14:03 +02:00
Felix Nagel
d7e23ce225 Selectmenu: fixed event for hovering, click scrollbar issue 2011-10-09 00:09:16 +02:00
Felix Nagel
37d22ee017 Selectmenu: fixed unwanted focus events 2011-10-06 01:09:12 +02:00
Felix Nagel
3ba99cbd6b Selectmenu: code cleanup 2011-10-06 00:38:22 +02:00
Felix Nagel
0dc020f79b Selectmenu: fixed positioning (change to inline element follow-up) 2011-10-06 00:35:42 +02:00
Felix Nagel
6351880e09 Selectmenu: removed outdated comment 2011-10-06 00:24:58 +02:00
Felix Nagel
d1208900f8 Selectmenu: fixed CSS class for button wrapper 2011-10-05 00:50:59 +02:00
Felix Nagel
d83f0b2de9 Selectmenu: changed button to inline element 2011-10-05 00:47:38 +02:00
Felix Nagel
30ac35afb1 Selectmenu: fixed ENTER event on closed button, fixed demo events.html 2011-10-05 00:45:53 +02: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
Felix Nagel
a9aef0974b Selectmenu: removed option wrapperElement 2011-09-30 21:51:37 +02:00
Felix Nagel
bf7394e50e Selectmenu: removed old click event (follow up) 2011-09-30 21:37:35 +02:00
Felix Nagel
4eff2a9cfa Selectmenu: change to _bind (follow up), improved anchor handling 2011-09-30 21:36:16 +02:00
Felix Nagel
eaece574bd Selectmenu: changed to _bind, _create refactoring, removed source option, replaced 'return false' with 'event.preventDefault' 2011-09-30 21:16:55 +02: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
Felix Nagel
a438ec3b7d Selectmenu: fixed disabled status of the widget (keyboard control) 2011-09-29 00:11:18 +02:00
Felix Nagel
c0ea81a2a8 Selectmenu: replaced self with that 2011-09-28 23:59:23 +02:00
Felix Nagel
7f8f321298 Selectmenu: removed iconWidth 2011-09-28 22:22:36 +02:00
Felix Nagel
3e1557b654 Selectmenu: changed from return false to event.preventDefault() 2011-09-28 21:13:14 +02:00
Felix Nagel
fd69abb8d0 Selectmenu: improved width handling and visual style 2011-09-28 00:18:36 +02:00
Felix Nagel
68a369911a Selectmenu: added zIndex for positioned element 2011-09-27 23:55:52 +02:00
Felix Nagel
4d56732195 Selectmenu: improved value option, added demo file 2011-09-27 23:52:44 +02:00
Felix Nagel
9c43d64312 Selectmenu: improved events and added test file with callbacks 2011-09-27 22:06:03 +02:00
Felix Nagel
257067c81b Selectmenu: improved disable method, added and improved demo files 2011-09-27 21:46:29 +02:00
Felix Nagel
426ecaf21e Selectmenu: implemented change callback event 2011-09-27 21:33:08 +02: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
Felix Nagel
7e8e542667 Selectmenu: fixed method _setSelected called twice 2011-09-27 02:01:03 +02:00
Felix Nagel
afec3f9e0b Selectmenu: “eats” too many key strokes when focused 2011-09-27 01:50:06 +02:00
Felix Nagel
3a8216fed8 Selectmenu: improve positioning and keyboard control 2011-09-26 01:18:19 +02:00
Felix Nagel
55184e1e07 Merge branch 'master' of github.com:jquery/jquery-ui into selectmenu 2011-09-24 19:49:22 +02: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
Felix Nagel
17c8ec587d Selectmenu: improved disabled implementation 2011-09-24 05:29:05 +02:00
Felix Nagel
d2a6eadde0 Selectmenu: added destroy method 2011-09-24 04:47:11 +02:00
Felix Nagel
3503c586c4 Selectmenu: added callback events 2011-09-24 04:44:13 +02:00
Felix Nagel
35289489c4 Selectmenu: implemented disable for option and optgroup, code cleanup 2011-09-24 04:04:54 +02:00
Felix Nagel
1d9fac52f7 Selectmenu: refresh method, value option, code cleanup 2011-09-24 03:08:03 +02:00
Felix Nagel
d89e9b41a9 Selectmenu: code cleanup 2011-09-24 02:04:06 +02:00
Felix Nagel
bb4291457c Selectmenu: improved popop style, styles and focus handling 2011-09-24 01:59:16 +02:00
polomoshnov
0b4f80899c Removed unnecessary code. 2011-09-23 13:57:02 +12:00
Felix Nagel
85a34ebedb Selectmenu: basic popop support, code cleanup 2011-09-23 00:17:24 +02: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
Felix Nagel
8120b0d6df Selectmenu: improved visual style 2011-09-22 21:20:49 +02:00
Felix Nagel
e70092f602 Selectmenu: fixed dependencies 2011-09-22 01:35:54 +02:00
Felix Nagel
ecd8ea4a1c Selectmenu: basic implementation 2011-09-22 01:34:49 +02: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