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 " ". 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