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 " ". 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
tomykaira
2c8151848d
effects.core: Convert elements height/width to px and restore after animation in all effects. Fixed #5245 - Relative width elements break when wrapped for effects
2011-06-09 20:38:09 -05:00
tashekelahi
19dcac2129
Position: added check for undefined value of offset. Fixed #7458 - ui.position offset property creates error when set to undefined
2011-06-09 21:05:33 -04:00
Jörn Zaefferer
7281f9f229
Update menubar to forward menu option to nested menus, update default demo to set within update to the demo frame (for /demos) or window (standalone). Update visual test to have more useful defaults
2011-06-09 17:14:21 +02:00
Jörn Zaefferer
433ed6eecf
Merge remote branch 'davidmurdoch/ticket-5645'
2011-06-09 16:40:50 +02:00
Scott González
3dea8f1786
Widget: Added ability to get deep options. Fixes #7459 - Widget: Extend .option() to get partial nested options.
2011-06-09 09:47:18 -04:00
Scott González
da84672db8
.attr() -> .prop()
2011-06-08 17:02:57 -04:00
Jörn Zaefferer
2d1b9b391e
Widget delegation: First draft
2011-06-08 22:14:37 +02:00
gnarf
d31dd18561
effects.clip: Style Guidance, reorganizing vars for better compression
2011-06-04 16:03:15 -05:00
Scott González
e530d06c98
Tooltip: Pass the tooltip element in the open and close events.
2011-05-30 18:42:06 -04:00
Scott González
1b52cefc26
Widget: Fixed _show() and _hide() implementation and added tests.
2011-05-30 18:27:48 -04:00
Hans Hillen
6d01873dd8
Fix various pull request comments and coding standards issues
2011-05-30 23:37:14 +02:00
Jörn Zaefferer
27a4fdd8ed
Spinner: disable text selection on buttons (plus minmal whitespace cleanup)
2011-05-30 20:08:58 +02:00
Scott González
8c085cd27c
Tooltip: Fixed handling of disabled tooltips.
2011-05-29 20:50:21 -04:00
Scott González
b6cda3dfee
Tooltip: Added some comments.
2011-05-29 19:41:57 -04:00
Scott González
0fc41bcc4d
Tooltip: Use bgiframe if available
2011-05-29 19:28:35 -04:00
Scott González
133fba2ad9
Tooltip: Don't close tooltips on mouseleave if the element is still focused.
2011-05-29 19:21:31 -04:00
Scott González
917d2b1358
Tooltip: Don't mess with the title attribute if it doesn't exist. Prevents the creation of a title attribute if there wasn't one to begin with.
2011-05-29 13:34:37 -04:00
Scott González
2a92b3ad8e
Tooltip: Change default collision detection to 'flip fit' since the default vertical positioning is centered and can't flip
2011-05-29 12:29:11 -04:00
Scott González
8fc6ee6a19
Tooltip: Coding standards.
2011-05-28 20:30:14 -04:00
Scott González
9e4576bca9
Tooltip: Alphabetized options.
2011-05-28 20:19:23 -04:00
Scott González
74df32f91e
Tooltip: Removed click handler.
2011-05-28 20:15:26 -04:00
Scott González
6bc220587e
Tooltip: Fixed tracking of tooltip elements.
2011-05-28 19:38:01 -04:00
Scott González
2155993096
Tooltip: Fixed tooltipClass option and added test.
2011-05-28 17:55:45 -04:00
Scott González
4dbfdcede3
Tooltip: Allow content updates via async response regardless of whether a sync response came back. Added more tests.
2011-05-28 17:36:57 -04:00
Scott González
2fbd310a15
Tooltip: Added a destroy method to remove generated tooltip elements.
2011-05-28 16:20:01 -04:00
Scott González
b6aee87763
Menubar: Whitespace.
2011-05-28 15:42:28 -04:00
Scott González
6a5b21fda2
All: Moved version numbers into prototypes. Fixed #7436 - Widget: Store version numbers on instances.
2011-05-28 15:39:55 -04:00
Scott González
2f3284811c
Tooltip: Proper handled of disabled option.
2011-05-28 15:25:05 -04:00
Scott González
d43118dfba
Tooltip: Cleanup.
2011-05-28 11:43:57 -04:00
Scott González
d4f6f17c8d
Tooltip: Changed custom animation demo and changed the logic for showing tooltips so custom position options can perform animations.
2011-05-28 10:18:39 -04:00
Scott González
e7be72ff06
Tooltip: Coding standards.
2011-05-27 20:05:20 -04:00
kborchers
1d984e76b7
Datepicker: Calculate the max number of rows necessary when displaying months. Fixes #7043 - Datepicker: Using multiple months always renders 6 rows of dates even if only 5 are needed
2011-05-27 15:10:53 -05:00
Scott González
12f73d623e
Merge pull request #352 from kborchers/bug_5003_3
...
Droppable: Added dragStart and dragStop to ddmanager and call them from draggable to recalculate droppable positions after a drag causes a scroll. Fixes #5003 - Scroll on Droppable Demo Breaks Demo
2011-05-27 12:29:28 -07:00
kborchers
67bd872fe1
Droppable: Added dragStart and dragStop to ddmanager and call them from draggable to recalculate droppable positions after a drag causes a scroll. Fixes #5003 - Scroll on Droppable Demo Breaks Demo
2011-05-27 12:01:42 -05:00
Scott González
8a972f5cce
Autocomplete: Whitespace.
2011-05-27 08:35:18 -04:00
Jay Merrifield
09e88d6220
Mouse: Optimize the cancel locator, works around a bug where .add(event.target) in IE8 can take a long time when there are multiple siblings. Fixes #7118 - IE Bug Large ComboBox (Dialog)
2011-05-26 23:42:51 -04:00
Jay Merrifield
e34dbfeef0
Dialog: Removed the height() tinkering which stops the dialog from shrinking. Fixes #5916 - Dialog: shrinks on drag in IE in standards mode, worse in quirksmode.
2011-05-26 23:30:56 -04:00
David Murdoch
c7eae7b264
Dialog: Make close() a noop if the dialog is already closed. Fixes #7327 - Dialog box size and close animation bugs.
2011-05-26 19:29:11 -04:00
Jeff Remy
981e96948f
Resizable: correct aspectRatio handling with min/max dimensions. Fixed #4951 - Resizable with aspectRatio true & a maxWidth doesn't obey ratio once hit max width.
2011-05-26 19:08:58 -04:00
Andrew Powell
597a313ab6
Button: adding event.preventDefault. Fixes #5945 - Disabled buttons still allow clicks
2011-05-26 12:28:25 -04:00
Glenn Goodrich
c49dbe0f01
Button: modified the event bindings for focus and blur. Fixed #6711 - checkbox/radio button do not show focused state when using Keyboard Navigation
2011-05-26 11:28:17 -04:00
David Murdoch
40c0088721
Fix visual test in IE6 and move the new helper functions for getting scrollbar properties to $.position
2011-05-26 14:22:12 +00:00
tomykaira
7d232f7534
effects.scale: fix: calculate top / left by outerHeight / Width. Fixed #6096 - effects.scale origin bottom bug
2011-05-26 11:15:14 +09:00
David Murdoch
cde7cc0e6f
updated tests to account for scrollbar width/height
2011-05-26 01:15:05 +00:00
David Murdoch
c11ac9c3f3
Now takes scrollbar width into account in collision detection
2011-05-26 00:53:16 +00:00
Hans Hillen
ab2bbd3bab
Key event fix
2011-05-26 00:31:16 +02:00
Scott González
fe4ae30458
Merge pull request #294 from kborchers/bug_4088
...
Sortable: Changed to check the parent's length so that the dom position of the removed element is not updated. Fixed #4088 - Unable to remove() ui.draggable (sortable item) immediately after the drop callback.
2011-05-25 13:12:37 -07:00
tomykaira
129d5c75ac
effects.blind: Save the wrapper status if already wrapped. Fixes #6245 - position: absolute is lost when .stop() is used with .show('blind').
2011-05-25 15:52:53 -04:00
Scott González
af35f0bbc9
Spinner: Changed casing of option numberformat -> numberFormat.
2011-05-25 15:44:43 -04:00
Hans Hillen
f45fc08f86
wrapping tab order for popup
2011-05-25 14:58:26 +02:00
kborchers
ab365be03d
Datepicker: Added checks for the disabled option. Fixed #5665 - Datepicker: Disabled parameter doesn't work
2011-05-20 13:44:14 -05:00
gnarf
4fc5ea141d
Unit Tests & effects.scale: Fixing bugs in effects unit tests - Particularly IE, found a bug in scale.js in the meantime. Fixes #7395 - Size based effects are breaking unit tests in IE - also leaking a global var
2011-05-18 18:13:37 -05:00
Jörn Zaefferer
4f0f407df3
Merge remote branch 'treyhunner/topic/autocomplete-pasting'
2011-05-18 17:47:01 +02:00
Jörn Zaefferer
92b0f6702a
There's no guard against unparsed characters at the end of the date string, any extra characters are just ignored
...
Fixes #7244 - Datepicker: parseDate() does not throw an exception for long years
2011-05-18 17:30:26 +02:00
Jörn Zaefferer
ba6dd5c180
Merge branch 'master' of github.com:jquery/jquery-ui
2011-05-18 17:12:52 +02:00
Jörn Zaefferer
1c193085e1
Merge remote branch 'kborchers/bug_3623'
2011-05-18 17:07:02 +02:00
kborchers
4ff8d90a82
Accordion: Added check to not allow 0 height on empty panels causing height issues on non-empty panels. Fixed #7335 - Accordion: Incorrect size when a panel is empty
2011-05-18 10:54:36 -04:00
Scott González
e0fafbb735
Button: Refactored formResetHandler and fixed scope. Foxes #7261 - Refresh scope in formResetHandler unintentionally wide.
2011-05-18 10:32:59 -04:00
Jörn Zaefferer
d1f86cb2ff
Merge remote branch 'origin/master'
2011-05-18 15:58:42 +02:00
Jörn Zaefferer
bdd2362754
Merge remote branch 'kzys/trac-6656'
2011-05-18 15:51:07 +02:00
Scott González
a0f16a00b9
Dialog: Reduce old overlay dimensions to 0x0 to avoid sizing issues. Fixes #5637 - Dialog: Dimensions of reused overlay may cause scrollbars.
2011-05-18 09:34:50 -04:00
Scott González
a47bfa196b
Spinner: Coding standards.
2011-05-17 21:07:44 -04:00
Scott González
03939fc8c1
Tabs: Don't cancel existing ajax requests when programmatically loading a tab. Fixes #7204 - Tabs: Programmatically loading a tab shouldn't cancel active ajax requests.
2011-05-17 16:23:10 -04:00
Scott González
ad53b55f61
Tabs: Fixed load event with back compat enabled.
2011-05-17 15:46:41 -04:00
Scott González
a9d4b52836
Tabs: Removed some animation cleanup code that doesn't appear to be necessary.
2011-05-17 13:15:44 -04:00
Scott González
5f10fa6511
Tabs: Escape all special characters when sanitizing hash selectors. Fixes #4681 - Tabs: _sanitizeSelector needs to escape '.'.
2011-05-17 10:02:22 -04:00
David Murdoch
e4a42991df
Removing unnecessary variables, caching 'within' in tests where its beneficial, and making some other changes based on the code review
2011-05-16 23:46:21 +00:00
kborchers
8e8a7b015f
Sortable: Changed to check the parent's length so that the dom position of the removed element is not updated. Fixed #4088 - Unable to remove() ui.draggable (sortable item) immediately after the drop callback.
2011-05-16 16:25:03 -05:00
Scott González
5e58859347
Tabs: Added tests for load method.
2011-05-16 14:41:27 -04:00
David Murdoch
965cb7359e
Tabs: When adding a new tab with an existing panel, don't move it. Fixes #4578 - adding tab moves targeted panel.
2011-05-16 12:30:23 -04:00
Jay Merrifield
41205cef4b
Datepicker: Made the day of year calculator be more accurate. Fixes #6827 - Datepicker: Incorrect value for "oo" during Daylight Saving Time.
2011-05-16 07:52:01 -04:00
Trey Hunner
adb35572a9
Autocomplete: Trigger search timeout on all input events. Fixes #6666 - keyboard-autorepeat on Firefox and paste event
...
The input event triggers after all changes to an input field including
paste/cut events.
2011-05-15 12:50:26 -07:00
gnarf
463849e4c3
Tabs: Removing queue logic, _hideTab, and _showTab - Replaced with _toggle - Fixes #7357 Tabs: Remove queueing logic
2011-05-14 06:31:41 -05:00
David Murdoch
cf96d22532
position now passes all tests! 0/
2011-05-13 21:57:16 +00:00
David Murdoch
939b6989c7
Update position to work properly when window and/or within element is scrolled.
2011-05-13 20:54:25 +00:00
Scott González
c9e187cd9d
Merge pull request #263 from kborchers/bug_4995
...
Dialog: Create modal overlay after dialog is shown and check scrollHeight and offsetHeight in all IE versions. Fixed #4995 - Modal Dialog's overlay dissapears in IE when content is tall
2011-05-13 13:36:09 -07:00
Scott González
2adfc03efe
Merge pull request #266 from kborchers/bug_4838
...
Draggable: Changed logic to only subtract left and top offsets of containment if left and top are not already 0. Fixed #4838 - containment: 'document' is incorrect for top and left in draggable
2011-05-13 12:35:18 -07:00
Kris Borchers
a69a1788bc
Button: Don't fire click/change events if mouse was dragged during click of toggle (checkbox/radio) button. Fixed #6970 - Button state inconsistencies after (accidental) drag-clicking the button.
2011-05-13 15:28:10 -04:00
David Murdoch
2f4da6f13d
Update var name to avoid confusion
2011-05-13 19:17:42 +00:00
Scott González
aec3f18932
Merge pull request #268 from kborchers/bug_6950
...
Draggable: Check for grid elements set to 0 to prevent divide by 0 error causing invalid argument errors in IE. Fixed #6950 - ie 8 invalid drag and drop error
2011-05-13 12:17:33 -07:00
kborchers
d136e4333e
Draggable: Check for grid elements set to 0 to prevent divide by 0 error causing invalid argument errors in IE. Fixed #6950 - ie 8 invalid drag and drop error
2011-05-13 10:23:44 -05:00
Scott González
7550018260
Class animation: Fixed handling of duration.
2011-05-12 21:03:42 -04:00
Scott González
ea403891b9
Merge remote branch 'gnarf37/ticket-3939'
2011-05-12 20:56:34 -04:00
Scott González
dd00f7f3b4
Merge pull request #256 from dcneiner/button-blur
...
Fixed #6242
2011-05-12 17:48:25 -07:00
Scott González
523790b111
Merge pull request #257 from dcneiner/buttonset-rtl
...
Fixed #6796
2011-05-12 17:44:13 -07:00
kborchers
6e6d0b749c
Draggable: Changed logic to only subtract left and top offsets of containment if left and top are not already 0. Fixed #4838 - containment: 'document' is incorrect for top and left in draggable
2011-05-12 16:27:12 -05:00
kborchers
331c4602a9
Dialog: Create modal overlay after dialog is shown and check scrollHeight and offsetHeight in all IE versions. Fixed #4995 - Modal Dialog's overlay dissapears in IE when content is tall
2011-05-12 15:14:58 -05:00
kborchers
29b36bb409
Dialog: Changed IE6 overlay width adjustment to apply to all IE versions. Fixed #3623 - Opening a Modal Dialog shows a horizontal scroll bar
2011-05-12 13:31:15 -05:00
Andrew Powell
a6227be2c0
Datepicker: removed conditional mozilla browser check block. Fixes #7322 - Year selector disappears after setting an option in Firefox
2011-05-12 11:28:37 -04:00
David Murdoch
b6497996ce
Replace comma with semi-colon. How'd that get there?
2011-05-12 13:28:01 +00:00
Scott González
1845015c09
Revert "Datepicker: Fixed #7043 - Using multiple months always renders 6 rows of dates even if only 5 are needed."
...
This reverts commit ac459ff7df
.
2011-05-12 08:17:16 -04:00
gnarf
2dcf723151
effects.core: Rework animateClass to support a 'children' option - Fixes #3939 - Option to animate children elements in animateClass
2011-05-12 07:11:01 -05:00
gnarf
c241275a30
Effects.core: Style Commit - double-quotes and threeqals and whitespace
2011-05-12 02:51:10 -05:00
Doug Neiner
50a4186ef9
Button: Added rtl detection so corner classes would properly be applied to buttonsets. Fixed #6796 . jQueryui - buttonset on rtl
2011-05-12 01:51:05 -04:00
Doug Neiner
8df834f68c
Button: no longer calls _resetButton() after changing the disabled option. Fixed #6242 - Button .enable() strange behavior on Webkit (Google Chrome, Safari)
2011-05-12 01:16:06 -04:00
David Murdoch
9e4e359705
fix spacing and add in a missing comma
2011-05-11 16:52:43 -07:00
David Murdoch
abf3a86c8b
Fix issue when window is "within".
2011-05-11 16:44:20 -07:00
David Murdoch
c6afaa1072
Fix #5645 - Position: Allow for arbitrary element to be containing element
2011-05-11 16:30:21 -07:00
gnarf
c89bbc1839
Class animation: Cleaned up detection of what we can animate and fixed border styles. Fixes #7109 - animateClass doesn't like going from borderStyle: none to borderStyle: *.
2011-05-11 17:09:05 -04:00
Scott González
8b8f5bff76
Merge pull request #242 from gnarf37/effects-unit
...
Effects unit tests - Partial fix for #7353
2011-05-11 13:14:13 -07:00
Scott González
caca915888
Merge pull request #220 from kzys/trac-6850
...
Fixed #6850 - Disable datepicker should disable month and year dropdowns.
2011-05-11 12:32:29 -07:00
Scott González
9bd731da14
Tabs: Minor cleanup of deprecated code.
2011-05-11 15:01:57 -04:00
Garrison Locke
a645630eba
Datepicker: Removed duplicate call to _updateDatepicker when changing option in Firefox. Fixed #7322 - datepicker: Year would disappear when changing option.
2011-05-11 14:22:04 -04:00
Jörn Zaefferer
83424c6c33
Merge branch 'master' of github.com:jquery/jquery-ui
2011-05-11 19:49:16 +02:00
Jörn Zaefferer
b9153258b0
Widget: Added $.widget.extend() which does deep extending, but only on plain objects.
2011-05-11 13:37:40 -04:00
Adam Baratz
7fb6ca146e
Slider: add handles in single DOM operation. Fixed #7259 - optimize handle creation.
2011-05-11 13:13:09 -04:00
Kato Kazuyoshi
98fcb477d6
Draggable: Remove id when cloning helpers. Fixes #4564 - Draggable+Sortable Demo duplicates DOM Ids.
2011-05-11 13:06:53 -04:00
Scott González
d3e21cf59a
Merge pull request #223 from kzys/trac-7043
...
Fixed #7043 - Datepicker: Using multiple months always renders 6 rows of dates even if only 5 are neededf
2011-05-11 08:08:37 -07:00
Scott González
1298f939b9
Tabs: Simplify logic for showing/hiding tabs.
2011-05-11 10:08:06 -04:00
Scott González
b70256c368
Menu: Fixed variable name.
2011-05-11 08:43:37 -04:00
Scott González
24864de57d
Menu: Use appropriate methods for getting scroll values for .prop()/.attr() compat. Fixes #7354 - Autocomplete: Scrollable results don't visually update with jQuery 1.6.
2011-05-11 08:37:27 -04:00
Jörn Zaefferer
0352c2c71f
Menu: Remove default preventDefault. Add more meaningful href's on menu
...
and menubar demos. Change doesn't seem to affect autocomplete as that
doesn't use href-attributes anyway.
2011-05-11 13:39:58 +02:00
Jörn Zaefferer
c17f245d98
Autocomplete: Revert fix for #7024 , broke regular menu selection.
...
Disabled test for now (need to reopen ticket).
2011-05-11 13:19:46 +02:00
gnarf
783f134aaa
effects: Updating bounce/pulsate/shake to fire callbacks before the next anim starts
2011-05-10 16:25:08 -05:00
gnarf
27a7deebf2
Merge branch 'master' into effects-unit
...
Conflicts:
ui/jquery.effects.pulsate.js
2011-05-10 16:16:34 -05:00
Scott González
85ac420a1e
Tabs: Fixed select event.
2011-05-10 14:04:50 -04:00
Scott González
7fddb1c5b5
Tabs: Fixed show event.
2011-05-10 13:56:59 -04:00
Jörn Zaefferer
7f8ccc523a
Autocomplete: Add comment to fix for #7269
2011-05-10 17:43:21 +02:00
Jörn Zaefferer
0e1bfaf1fa
Merge remote branch 'treyhunner/topic/arrow-keys'
2011-05-10 17:40:49 +02:00
Jörn Zaefferer
1426f7edf3
Merge remote branch 'origin/master'
2011-05-10 17:10:45 +02:00
Scott González
b546f316be
Merge remote branch 'gnarf37/ticket-7067'
2011-05-10 11:00:14 -04:00
Jörn Zaefferer
c844bbd2ed
Merge remote branch 'kborchers/bug_7024'
2011-05-10 16:59:22 +02:00
Scott González
1a974109ef
Merge pull request #234 from carsonmcdonald/issue6948
...
Resizable: Skip autohide hover action when resizable is disabled. Fix #69
2011-05-10 07:52:28 -07:00
Scott González
36fccdda14
Tabs: Fixed cookie implementation. Fixes #7144 - Tabs: Deprecate cookie option.
2011-05-10 09:15:08 -04:00
kborchers
73ed73890c
Autocomplete: Added check to determine if menu has just been created to override mouseover event and reset that variable from autocomplete on close. Fixed #7024 - Autocomplete menu options are activated even if mouse is not moved
2011-05-09 16:22:11 -05:00
Scott González
9ea6db634f
Tabs: Only trigger tabsload on success.
2011-05-09 16:55:31 -04:00
Scott González
7157af2550
Tabs: Added tests for cache option. Fixes #7131 - Tabs: Add beforeload event; deprecate ajaxOptions and cache options.
2011-05-09 15:04:01 -04:00
Scott González
f1180e5341
Merge pull request #235 from kborchers/bug_4333_2
...
Mouse: Changed mouseHandled check to a local var rather than using originalEvent. Fixed #4333 - Nested draggables problem in IE
2011-05-09 10:10:17 -07:00
Scott González
5ae44f8a3b
Tabs: Refactored spinner implementation. Fixes #7134 - Tabs: Deprecate spinner option.
2011-05-09 12:52:00 -04:00
kborchers
9c50bdfde0
Mouse: Changed mouseHandled check to a local var rather than using originalEvent. Fixed #4333 - Nested draggables problem in IE
2011-05-09 11:43:45 -05:00
Carson McDonald
0e2bc5efe2
Resizable: Skip autohide hover action when resizable is disabled. Fix #6948 - Resizable autoHide Doesn't Work With Resizable's disable
2011-05-09 11:00:12 -04:00
Richard D. Worth
2e882de30e
Merge pull request #229 from kzys/strange-whitespace
...
'NO-BREAK SPACE' (U+00A0) is not 'SPACE' (U+0020).
2011-05-09 06:50:19 -07:00
Jörn Zaefferer
24c0d9195a
Popup: Fix keyboard handling to prevent scrolling on keydown
2011-05-07 16:23:31 +02:00
Jörn Zaefferer
cd92ad09f5
Promote menubar and popup to their own top level files
2011-05-07 16:22:04 +02:00
Kato Kazuyoshi
27f943bf36
Dialog: 'NO-BREAK SPACE' (U+00A0) is not 'SPACE' (U+0020).
2011-05-07 16:02:06 +09:00
Kato Kazuyoshi
ac459ff7df
Datepicker: Fixed #7043 - Using multiple months always renders 6 rows of dates even if only 5 are needed.
2011-05-07 06:32:13 +09:00
Kato Kazuyoshi
2063a113d6
Datepicker: onClose callback should be triggered by show. Fixed #6656 - onClose event not triggered.
2011-05-07 06:03:14 +09:00
Kato Kazuyoshi
4585182c70
Datepicker: Disabled datepicker should disable own select element too. Fixed #6850 - Disable datepicker should disable month and year dropdowns.
2011-05-07 04:53:37 +09:00
Scott González
476777f1e9
Merge pull request #218 from kborchers/bug_6775
...
Datepicker: Moved the setting of _datepickerShowing to after postProcess. Fixed #6775
2011-05-06 10:29:02 -07:00
eddiemonge
d522dad718
Tabs: Removed executable file permissions. Fixes #7329 - Tabs doesn't need to have execute permissions.
2011-05-06 13:17:12 -04:00
kborchers
88d8209fdd
Datepicker: Moved the setting of _datepickerShowing to after postProcess to prevent being able to tab away leaving the datepicker open. Fixed #6775 - DatePicker remains open when tabbing out
2011-05-06 10:40:43 -05:00
Eike Send
a7f1659cdc
Button: stop disabled button from firing click events. fixes #5945 . Behavior was inconsisten between BUTTON and A elements.
2011-05-05 14:45:06 +02:00
Scott González
116acb4cb2
Merge pull request #200 from kzys/trac-6704-2
...
Fixed #6704 - Display overflow when multiple datepickers have different numberOfMonths.
2011-05-04 14:09:37 -07:00
Scott González
511b86b31e
Merge pull request #201 from kzys/trac-7062
...
Fixed #7062 - $.datepicker.parseDate does not work for some locale date strings.
2011-05-04 14:00:20 -07:00
Kato Kazuyoshi
f505de68fd
Datepicker: Remove BOM. Fixed #6734 - Datepicker i18n: Problem with JavascriptPacker.
2011-05-05 05:29:13 +09:00
Kato Kazuyoshi
a891e81e06
Datepicker: Greedy matching in month name. Fixed #7062 - $.datepicker.parseDate does not work for some locale date strings.
2011-05-05 05:06:27 +09:00
Kato Kazuyoshi
fc97ccd398
Datepicker: Remove old "ui-datepicker-multi-N" before add new one. Fixed #6704 - Display overflow when multiple datepickers have different numberOfMonths.
2011-05-05 04:11:48 +09:00
gnarf
d61e0656c5
Merge branch 'master' into effects-unit
2011-05-04 01:38:41 -05:00
Jörn Zaefferer
66b96cbbe4
Tooltip: Also close on click. Essential for tooltips on menu buttons.
2011-05-04 08:21:57 +02:00
Jörn Zaefferer
a444287642
Menu: Restore _destroy - remove tabIndex (gets added), don't remove ID
...
(can get generated, but removing only generated ideas hopefully isn't
necessary). May have to fix that later.
2011-05-03 21:58:26 +02:00
gnarf
126d46c050
effects.pulsate: tweaking 'times' - if showing / hiding the animation has an extra 'half' time as opposed to removing a 'half' time
2011-05-03 10:48:00 -05:00
gnarf
d5f6a71cfa
effects.bounce: Fixing hide bounce distance calculation
2011-05-03 08:51:53 -05:00
gnarf
e8bece27ab
effect.bounce: ignoring the margins for the height calc
2011-05-03 08:45:21 -05:00
gnarf
34d9e038bd
effect.bounce: fixing default distance to be 1/3 the size of the bouncing box - thx @scott_gonzalez for catching this
2011-05-03 08:39:02 -05:00
gnarf
1f3f7bf787
Effects (blind): direction now accepts up/down/left/right as well as vertical(up) and horizontal(left) - Fixes #4480 - Invert the blind effect.
2011-05-03 09:16:30 -04:00
gnarf
61904162cf
effects.pulsate: set default mode to 'effect'
2011-05-03 07:22:34 -05:00
Scott González
cbce3585bc
Tabs: Added tests for deprecated select method. Fixes #7138 - Tabs: Deprecate select method.
2011-05-03 07:48:08 -04:00
Scott González
92bcb2504f
Tabs: Fixed back-compat for selected option. Fixes #7135 - Tabs: Rename selected option to active.
2011-05-03 07:14:19 -04:00
Scott González
45c727d75e
Tabs: Fixed enabled and disabled methods. Fixes #7142 - Tabs: Deprecate enable and disable events.
2011-05-03 06:31:12 -04:00
Jean-Francois Remy
5e44b3ce88
Position: Handled scrolled windows properly with collision: fit. Fixes #7211 - Position: Collision: fit doesn't work at top of window when scrolled.
2011-05-03 04:38:17 -04:00
Adam Baratz
51df02ee4e
Dialog: remove unneeded DOM manipulations. Fixed #7258 - optimize initialization.
2011-05-02 18:03:14 -04:00
Scott González
3d5d58d854
Merge pull request #187 from virgofx/master.
...
Fix #7270 - Draggable iFrameFix
2011-05-02 14:49:05 -07:00
Scott González
4f63e5ca6c
Merge pull request #191 from whittet/patch-1.
...
Bug fix for another use case, see comment by whittet here: http://bugs.jq
2011-05-02 14:46:01 -07:00
Scott González
d09599b201
Merge pull request #192 from ef4/master.
...
Fixed #4445 containment ignored when scrolling in overflow div
2011-05-02 14:42:33 -07:00
Jörn Zaefferer
0496a50238
Tooltip: Replace offset property with inline my+offset to make it easier
...
to override the offset. Fixes the odd offset in the video player demo.
Also doesn't need units.
2011-05-02 18:22:00 +02:00
adambaratz
74d195e396
Datepicker: bind hover events using delegate. Fixed #7256 - minimize event binding in Datepicker initialization.
2011-05-02 09:53:13 -04:00
gnarf
c13ef9e037
Widget: show/hide effects added BackCompat
2011-05-02 07:49:11 -05:00
gnarf
c9fb452867
widget: Updating code for show/hide to use new effects API namespace - DRY'ed out a bit as well
2011-05-02 06:49:59 -05:00
Jörn Zaefferer
d8e60e9a8a
Merge branch 'master' into tooltip-animations
2011-05-02 13:12:36 +02:00
Jörn Zaefferer
a03c222f05
Tooltip: Overhaul widget animations code to allow delay with plain show/hide
2011-05-02 13:11:58 +02:00
gnarf
1eada21549
effects.*: Updating fade, pulsate, scale, shake to pass units
2011-05-01 06:24:22 -05:00
gnarf
d82a44ab4b
Some minor tweaks to the effects, trying to clean up code a bit + style guidance
2011-05-01 06:19:38 -05:00
gnarf
668d28e30e
effects.bounce: removing the opti for duration, the normalizeArguments in core will ALWAYS set a duration, no need to default here
2011-05-01 06:18:31 -05:00
gnarf
40ebb0f846
effects.*: Normalizing animation time - 1000 ms effect should only take 1000 ms - Fixes #7067 - Also making sure the queued animations run DIRECTLY after the effect
2011-05-01 06:07:57 -05:00
gnarf
321fd39057
Some minor tweaks to the effects, trying to clean up code a bit + style guidance
2011-05-01 03:44:33 -05:00
adambaratz
fe3b36b8ef
Core: reuse tabindex value. Fixed #7257 - optimize :tabbable.
2011-04-29 08:24:27 -04:00
Scott González
1bacdec6be
Tabs: Cleaned up add and remove methods.
2011-04-28 21:35:04 -04:00
Scott González
09faa7c9fa
Tabs: Added more tests for refresh method and changed the implementation a bit.
2011-04-28 14:38:57 -04:00
David Petersen
5d23e8eacd
Tabs: Fix issues with refresh method, add refresh method tests
2011-04-28 13:13:42 -04:00
David Petersen
dcb1720f31
Tabs: Remove refresh dependancy in _setOptions
2011-04-28 12:08:39 -04:00
Scott González
d819cdd3a9
Tabs: Fixed disable method and cleaned up tests for enable and disable methods.
2011-04-28 12:04:08 -04:00
Edward Faulkner
d620749611
Draggable: containment now updates dynamically to handle scrolling container. Fixed #4445 containment ignored when scrolling in overflow div
2011-04-28 10:43:02 -04:00
David Petersen
0e7769c669
Tabs: enable/disable handle when current state already matches, fix error when disabled = true and enable gets called
2011-04-28 09:37:56 -04:00
David Petersen
abe4c37748
Tabs: simplify disabled logic
2011-04-28 09:37:47 -04:00
David Petersen
a1473042b4
Tabs: Make sure prototype.url is defined before trying to shim it
2011-04-28 09:07:54 -04:00
Scott González
60d4e0ae42
Class Animation: Use .attr( "class" ) instead of .attr( "className" ) and adjust the queueing logic for jQuery 1.6 compatibility. Fixes #7275 - $.effects.animateClass broken in jQuery 1.6."
2011-04-27 10:42:21 -04:00
whittet
2bf061ea6f
Bug fix for another use case, see comment by whittet here: http://bugs.jqueryui.com/ticket/6702
2011-04-27 07:21:29 -07:00
Jörn Zaefferer
cd61fb1b55
Merge branch 'master' into menubar
...
Conflicts:
ui/jquery.ui.menu.js
2011-04-26 22:05:44 +02:00
Scott González
325ee6e871
Widget: define a null default for the create callback.
2011-04-25 14:04:30 -04:00
Scott González
c4c36e557e
Accordion, Autocomplete, Tabs: Separate callbacks and options in the defaults.
2011-04-25 08:11:52 -04:00
jzaefferer
6326da3fdb
Menu: Add ui-state-active to parent item when submenu item receives focus.
2011-04-23 17:36:52 +02:00
Hans Hillen
84f918ae44
Fix collapsing submenus issue
2011-04-22 23:14:04 +02:00
Hans Hillen
dc7410f55b
Prevent branch menuitems from firing select event
2011-04-22 20:22:56 +02:00
jzaefferer
3bb9ab2626
Tooltip: Add support for delaying showing/hiding. Still need to figure
...
out how to combine that with non-animated show/hide.
2011-04-21 14:30:42 +02:00
Trey Hunner
bdfc6d532c
Autocomplete: Fix list traversal bug. Fixes #7269 - autocomplete: holding down arrow keys in Firefox does not traverse list
...
Use keypress event for listening for arrow keys because Firefox
and Opera do not repeat keydown events for these keys.
2011-04-20 09:03:11 -07:00
jzaefferer
34e3a2401a
Menu: Add icons support
2011-04-20 17:18:15 +02:00
jzaefferer
f0d5a0008f
Menu: Make keyboard focus matching take submenus into account
2011-04-20 15:35:40 +02:00
Mark Johnson
b1c8a13a16
Draggable: Modified the iframe shims to load prior to dragging. Fixed #7270 .
2011-04-19 14:39:58 -07:00
Hans Hillen
d77185a5a1
Fix "menubar does not collapse when clicking on other menubar" + minor changes
2011-04-18 23:05:50 +02:00
Hans Hillen
f89f0ca61f
ARIA & Focus changes to menu, specifically to how aria-activedescendant is handled
2011-04-15 19:18:38 +02:00
jzaefferer
3950a0515d
Stop show animation on hide. Now that we don't reuse the tooltip
...
element, we can safely do that.
2011-04-15 16:53:05 +02:00
jzaefferer
e609bebaae
Custom tooltip animations based on widget-animations branch.
2011-04-15 16:49:29 +02:00
Lopo
59c787fa4a
Datepicker: Fixed Slovak locale. Fixes #7254 - Datepicker: Incorrect day name for Slovak localization.
2011-04-15 00:13:20 -04:00
Scott González
3af0923b73
Datepicker: Fixed dateFormat for nl locale. Fixes #7250 - Datepicker: Incorrect dateFormat in jquery.ui.datepicker-nl.js.
2011-04-15 00:08:03 -04:00
jzaefferer
67d49f593b
Overhaul tooltip implementation. Avoid queuing and other problems by
...
creating the tooltip element on the fly, never reusing it.
Use aria-describedby attribute to find the associated tooltip again.
Allows customizing animations much easier (just replace fadeIn/fadeOut),
still open.
Updated demos and visual test to replace now-missing .widget() method.
Added tooltipClass for that.
2011-04-13 14:01:46 +02:00
Scott González
bc65675330
Tabs: Fixed issues with collapsible and active options.
2011-04-11 13:49:22 -04:00
Kyle Florence
3b77ac654b
Progressbar: hide valueDiv when value is 0. Fixes #7231 - valueDiv should be hidden when value is at 0%
2011-04-09 14:27:10 -04:00
Richard Worth
54016b8469
Sortable: Reverted 56b0da59d7
as #4551 is invalid.
2011-04-07 09:08:48 -04:00
Scott González
bc6a28ee03
Tabs: Cleaned up _tabId() implementation.
2011-04-05 21:39:02 -04:00
Scott González
7aad37bfd5
Tabs: Better handling of active option and various cleanup.
2011-04-05 16:53:52 -04:00
Scott González
ff84d58444
Tabs: Pass appropriate data for beforeLoad event. Partial fix for #7131 - Tabs: Add beforeload event; deprecate ajaxOptions and cache options.
2011-04-05 11:28:05 -04:00
Scott González
995518c10f
Tabs: cleanup.
2011-04-04 17:06:13 -04:00
gnarf
cc2342ac31
effects.bounce: removing the opti for duration, the normalizeArguments in core will ALWAYS set a duration, no need to default here
2011-04-04 15:43:47 -05:00
Scott González
1fc91f90d0
Tabs: Pass appropriate data for activate event. Fixes #7137 - Tabs: Rename show event to activate.
2011-04-04 15:28:33 -04:00
Scott González
e19d8261c1
Tabs: Properly handle switching from active: false.
2011-04-04 14:27:38 -04:00
Scott González
fc5291291b
Accordion: When simulating events, make sure we use DOM elements, not jQuery objects.
2011-04-04 14:22:54 -04:00
Scott González
80b6de1b78
Accordion: Pass original event in beforeActivate event.
2011-04-04 11:53:19 -04:00
Scott González
632e6c7618
Tabs: Pass appropriate data for beforeActivate event. Fixes #7136 - Tabs: Rename select event to beforeActivate.
2011-04-04 11:22:32 -04:00
Scott González
98c53d8432
Datepicker: Only generate yearshtml once. Fixes #7176 - Datepicker shows only single year in year dropdown if numberOfMonths > 1.
2011-04-04 07:55:42 -04:00
Scott González
fa13c4a602
Merge branch 'tabs_1.9' of https://github.com/petersendidit/jquery-ui into petersendidit-tabs
2011-03-29 15:40:28 -04:00
Scott González
cd29170ae0
Core: Fixed spacing.
2011-03-29 10:17:40 -04:00
David Petersen
e9ae04a394
Tabs: CSS Consistency Updates. Fixes #7146 Tabs: CSS Consistency Updates
2011-03-29 07:44:01 -04:00
David Petersen
cb0588f2dd
Tabs: Deprecate cookie option. Fixes #7144 Tabs: Deprecate cookie option
2011-03-28 22:46:31 -04:00
David Petersen
c6a6ef5ee6
Tabs: Deprecate select method. Fixes #7138 Tabs: Deprecate select method
2011-03-28 22:28:59 -04:00
Scott González
2197c61f1f
Slider: Properly handle value and value methods as setters. Fixes #4881 - Slider: value and values methods as setters aren't chainable.
2011-03-28 17:34:04 -04:00
Richard Worth
b5e67861bb
Autocomplete: changed autoFocus default back to false. Reverts #7042 - Autocomplete: Default autoFocus to true
2011-03-28 11:13:53 -04:00
David Petersen
8b0c3618bd
Tabs: Rename select event to beforeActivate. Fixes #7136 Tabs: Rename select event to beforeActivate
2011-03-27 17:02:58 -04:00
David Petersen
787efd307a
Tabs: Rename show event to activate. Fixes #7137 Tabs: Rename show event to activate
2011-03-27 16:55:05 -04:00
David Petersen
9a00fd4c5e
Tabs: Rename selected option to active. Fixes #7135 Tabs: Rename selected option to active
2011-03-27 16:42:30 -04:00
David Petersen
c363019590
Tabs: Deprecate templating (idPrefix, tabTemplate, panelTemplate options) Fixes #7139 Tabs: Deprecate templating (idPrefix, tabTemplate, panelTemplate options)
2011-03-27 16:42:19 -04:00
David Petersen
1e2d3145ff
Tabs: Deprecate url method; use aria-controls instead of title to specify panels. Fixes #7132 Tabs: Deprecate url method; use aria-controls instead of title to specify panels
2011-03-27 14:56:20 -04:00
gnarf
5c88bb702f
effects.*: Normalizing animation time - 1000 ms effect should only take 1000 ms - Fixes #7067 - Also making sure the queued animations run DIRECTLY after the effect
2011-03-27 06:30:52 -05:00
David Petersen
f6e7b6c9f6
Use this.running to know if we are still in process of showing/hidding a tab
2011-03-26 21:02:17 -04:00
David Petersen
8b89febbbb
Tabs: split up _tabify, create refresh method. Fixes #7140 Tabs: Add refresh method
2011-03-26 21:02:17 -04:00
David Petersen
03eb54b379
Tabs: Deprecate the length method. Fixes #7143 Tabs: Deprecate the length method
2011-03-26 21:02:17 -04:00
David Petersen
e378876918
Tabs: Deprecate add and remove methods Fixes #7141 Tabs: Deprecate add and remove methods
2011-03-26 21:02:13 -04:00
David Petersen
e5f081bc1c
Tabs: Deprecate enable and disable events. Fixes #7142 Tabs: Deprecate enable and disable events
2011-03-26 21:00:45 -04:00
David Petersen
e7971c9077
Tabs: Deprecate spinner option. Fixes #7134 Tabs: Deprecate spinner option
2011-03-26 21:00:45 -04:00
David Petersen
3d61244526
Tabs: Deprecate abort method. Fixes #7133 Tabs: Deprecate abort method
2011-03-26 21:00:45 -04:00
David Petersen
aeaaf93ebb
Tabs: Add beforeload event; deprecate ajaxOptions and cache options. Fixes #7131 Tabs: Add beforeload event; deprecate ajaxOptions and cache options
2011-03-26 21:00:34 -04:00
David Petersen
03ef2fb452
Tabs: Split out event handler, showtab, hidetab, resetStyle to their own methods
2011-03-26 12:04:14 -04:00
Scott González
6fc98deef0
Widget: Allow setting individual properties of deep options. Fixes #7035 - Widget: Extend .option() to set partial nested options.
2011-03-24 09:21:53 -04:00
Scott González
c6e7e3fc28
Widget: Deprecated use of metadata plugin. Fixes #7191 - Widget: Deprecate use of metadata.
2011-03-23 09:16:19 -04:00
Scott González
79c0fb7ee9
Accordion: Added missing semicolon.
2011-03-23 08:57:41 -04:00
Scott González
f77224055a
Widget: Maintain stack when a method returns a jQuery object. Fixes #5732 - Widget: Make the widget method maintain the stack.
2011-03-22 14:35:18 -04:00
Scott González
e7991e33f3
Autocomplete: Added response event. Fixes #6777 - Autocomplete callback when search is complete.
2011-03-22 14:07:49 -04:00
Scott González
221dcd7027
Position: Coding standards.
2011-03-22 13:12:03 -04:00
Scott González
6f051d5d6a
Position: Merged offset option into my and at options and added support for percentage-based offsets. Fixes #6981 - Position: Merge offset option into my and at options. Fixes #7028 - Position: Allow percent-based offsets.
2011-03-22 12:25:25 -04:00
Scott González
d4dadd14c2
Merge branch 'remove-spinner-output' of https://github.com/ajpiano/jquery-ui
2011-03-22 08:55:00 -04:00
adam j. sontag
00547ec046
Spinner: Remove debugging output that appends directly to the body from mousewheel handling.
2011-03-21 17:37:57 -04:00
adam j. sontag
02ba487db0
Spinner: Set the widgetEventPrefix to "spin" as per the spec.
2011-03-21 16:10:12 -04:00
Scott González
a6fbb47e6a
Position: Fixed typo.
2011-03-21 14:02:00 -04:00
Scott González
7fc0cec36f
Position: Removed unused refenrece to $.fn.offset.
2011-03-21 14:00:26 -04:00
Scott González
923b5b67b9
Merge branch 'tabs_4386' of https://github.com/petersendidit/jquery-ui
2011-03-21 11:30:11 -04:00
David Petersen
710d7620e7
Tabs: Fix disable and enable methods to correctly handle when index is undefined. Use boolean when fully enabled/disabled. Allow selected tab to be disabled.Fixes #4386
2011-03-21 09:18:19 -04:00
Giovanni Giacobbi
3ce8429f4f
Restructured if/else's for better readability
2011-03-20 03:19:36 +01:00
Scott González
6d01645716
Datepicker: Changed a comment that causes problems with YUI Compressor. Fixes #7129 - Datepicker: Can't minify with YUI Compressor.
2011-03-18 08:26:08 -04:00
jzaefferer
5a112d4e03
Menu: Close submenu on ESCAPE keypress
2011-03-17 17:43:11 +01:00
jzaefferer
0872aac982
Widget: Accept selectors and DOM elements as element-argument to _bind
2011-03-17 11:59:32 +01:00
jzaefferer
a077047fb3
Menu: Implement delaying of opening and closing submenus
2011-03-17 10:37:37 +01:00
Scott González
da67ece506
Menu: Handle clicking on a menu item without hovering it first. Fixes #7085 - Menu click when no mouseover causes error.
2011-03-15 14:02:18 -04:00
Richard Worth
4026d3acd7
Autocomplete: moved autoFocus implementation to after menu visible for a11y
2011-03-15 12:26:47 -04:00
Scott González
4881a27b82
Merge branch 'ticket-3968' of https://github.com/gnarf37/jquery-ui
2011-03-15 09:18:38 -04:00
gnarf
ac0cc2fac5
Datepicker: Updated to check for new or old style effects (see #7103 ).
2011-03-15 09:02:21 -04:00
gnarf
d64c9efda5
Effects: Moved effects to $.effects.effect[] and deprecated use of $.effects[]. Fixes #7103 - Effects: Move effects to $.effects.effect[].
2011-03-15 09:00:45 -04:00
Richard Worth
2f5eadeb8f
Autocomplete: changed autoFocus default to true for 1.9. Fixed #7042 - Autocomplete: Default autoFocus to true
2011-03-15 05:48:31 -04:00
Richard Worth
09215ef2cd
Autocomplete: new option autoFocus, default false. Fixed #7032 - Autocomplete: Add option to automatically highlight the first result
2011-03-15 05:39:56 -04:00
Richard Worth
056cab82d8
Accordion: set aria-selected to true on selected header, false on others. Fixed #7078 - Accordion: Set aria-selected
2011-03-15 04:30:36 -04:00
Matt Hoskins
84257e7f0a
Draggable: Calling .refreshPositions instead of ._refreshItems when dragging with a connected sortable to force containerCache initialisation/update. Fixed : #5563 - connectToSortable misbehaves if the position of the sortable changes after the sortable and draggable have been initialised as _refreshItems no longer updating container cache.
2011-03-14 06:53:00 -07:00
gnarf
7bb0e40f7a
effects.explode: correcting my misspelled variable name :/
2011-03-12 14:41:56 -06:00
gnarf
39dcad6e49
effects.explode: rework math used to split the div into peices - split the box disregarding margins
...
Fixes #3968 - effects explode: explodes from the right instead of from the center
2011-03-11 20:00:36 -06:00
ddstreet
0b30a1d450
Button: find associated label even without common ancestor. Fixes #7092 - button creation that requires a matching label does not find label in all cases
2011-03-11 10:52:13 -05:00
Scott González
0eb1106b5b
Merge branch 'ddmanager-caches-wrong-dimensions' of https://github.com/EleotleCram/jquery-ui into EleotleCram-ddmanager-caches-wrong-dimensions
2011-03-11 10:19:45 -05:00
gnarf
3f8c608691
effects.core: Another place where args.callback was used that escaped my first pass
2011-03-11 09:50:56 -05:00
Marcel Toele
86e6ed2eb1
Droppable: enabled and accepting droppables are now activated prior to evaluating their geometry. Fixes #7104 Droppable: if activeClass changes the geometry of a droppable, then dnd uses the wrong geometry.
2011-03-11 15:37:52 +01:00
gnarf
4ade64b690
effects.*: Explode effect was removing more elements than it should upon completion. Fixed #6022 - multiple explosions cut short
2011-03-10 22:18:19 -06:00
Scott González
19e72449f1
Effects: Handle just passing an effect name.
2011-03-09 10:09:29 -05:00
Scott González
3875cf63e4
Merge branch 'effects-api' of https://github.com/gnarf37/jquery-ui into gnarf37-effects-api
2011-03-09 10:01:07 -05:00
Jay Merrifield
f9996682b5
Dialog: Before handling escape key presses, check if the default action has been prevented. Fixes #6966 - Pressing ESC on dialog when 2 dialogs are open closes both dialogs.
2011-03-08 09:42:10 -05:00
Guillaume Gautreau
3a0ec399cd
Draggable: modify margins of the containment according to the margin of the draggable element. Fixed #7084 - Draggable with parent containment and margin
2011-03-08 09:32:48 -05:00
gnarf
b3198643ca
effect.puff: Errant console.log removed
2011-03-08 00:52:07 -06:00
awgy
0680b59260
Mouse: Reset click event suppression on next mousedown. Fixes #6946 - Mouse: click event suppressed after drag in Gecko
2011-03-08 00:52:07 -06:00
Adam Parod
18ad8ffb3d
Datepicker: Reformat minDate/maxDate when dateFormat changes. Fixes #7009 - Reformat minDate/maxDate when dateFormat changes.
2011-03-08 00:52:07 -06:00
michaelmwu
4ad513b7f0
Sortable: Changed floating calculation to determine also whether items are being displayed horizontally. Helps fix odd sorting behavior for horizontal lists. Fixed #6702 - horizontal sortable not working (and solution)
2011-03-08 00:52:07 -06:00
Douglas Neiner
6008a30fcb
Dialog: Added a class to dialog wrapper when it is currently displaying buttons, includes unit tests for changes. Fixed #7057 - An extra class is needed on the dialog wrapper to specify when a buttonset is showing
2011-03-08 00:52:07 -06:00
Richard Worth
ea89522828
Datepicker i18n: corrected arabic month name for May. Fixed #7055 - Datepicker: arabic month name has March in place of May
2011-03-08 00:52:07 -06:00
Scott González
d4b2e494f9
Merge branch 'master' of https://github.com/voxwerk/jquery-ui into voxwerk-master
2011-03-07 10:47:33 -05:00
Adam Parod
74b7c3f684
Datepicker: Reformat minDate/maxDate when dateFormat changes. Fixes #7009 - Reformat minDate/maxDate when dateFormat changes.
2011-03-07 09:34:00 -05:00
gnarf
b6debf4daf
effects.drop: Quick second pass Style Guidance
2011-03-06 23:34:24 -06:00
gnarf
69a7382fb7
effects.fade: Using $ instead of jQuery
2011-03-06 21:16:56 -06:00
gnarf
703cd82cd0
effects.core: Style Guidance
2011-03-06 20:44:35 -06:00
gnarf
576cd0b92b
effects.*: style guidance
2011-03-06 18:48:14 -06:00
gnarf
9c771b8f8b
effects.*: Style Guidance
2011-03-06 18:34:18 -06:00
gnarf
7a60bc6824
effect.*: Style Guidance
2011-03-06 17:45:43 -06:00
gnarf
bcb8f7ed9a
effects.*: More Style Guidance
2011-03-06 15:24:24 -06:00
gnarf
61cf834081
effects.drop: Style Guidance
2011-03-06 05:41:27 -06:00
gnarf
7391fe8df3
effects.clip: Reuse a var instead of calculate again
2011-03-06 05:25:38 -06:00
gnarf
210fcc4278
effects.clip: Style Guidance
2011-03-06 05:22:32 -06:00
gnarf
d742cd6a88
Effects: Minor whitespace improvements
2011-03-05 16:17:54 -06:00
michaelmwu
f1d939bc58
Sortable: Changed floating calculation to determine also whether items are being displayed horizontally. Helps fix odd sorting behavior for horizontal lists. Fixed #6702 - horizontal sortable not working (and solution)
2011-03-04 22:17:30 -08:00
gnarf
2fdc868707
Effects: General Code Cleanup
2011-03-04 17:10:02 -06:00
Douglas Neiner
15c97e0b76
Dialog: Added a class to dialog wrapper when it is currently displaying buttons, includes unit tests for changes. Fixed #7057 - An extra class is needed on the dialog wrapper to specify when a buttonset is showing
2011-03-03 09:37:16 -05:00
gnarf
5c4577f78c
Cleaning up effects.core _normalizeArguments a bit more
2011-03-02 20:58:10 -06:00
Richard Worth
5c6afa8e7b
Datepicker i18n: corrected arabic month name for May. Fixed #7055 - Datepicker: arabic month name has March in place of May
2011-03-02 21:27:09 -05:00
gnarf
a1c8c7bcd6
Updated to new effects object API
2011-03-02 20:10:09 -06:00
gnarf
a370d1ffc8
Just a quick touch to update to new internal effects object API
2011-03-02 20:00:57 -06:00
gnarf
5fd1f17393
Quick rewrite for new options object
2011-03-02 19:46:46 -06:00
gnarf
2ad1cf3319
Starting to clean up the internal API for animations
2011-03-02 19:30:27 -06:00
jzaefferer
2221dd6583
Menu: Cleanup
2011-02-28 22:38:06 +01:00
jzaefferer
a256e05df5
Menu: Move addClass(active) call to _open to make it work for both mouse
...
and keyboard interactions
2011-02-28 22:36:41 +01:00
Scott González
31a181abfc
Tooltip: Make sure we have a target before trying to open the tooltip.
2011-02-26 15:06:06 +01:00
Scott González
b4d75c1083
Tooltip: Rename _show to _open.
2011-02-26 15:04:33 +01:00
jzaefferer
48f060ac25
Spinner: Ignore delta of 0 from triggered mousewheel event. Verified
...
that mousewheel scrolling actually works fine in IE6.
2011-02-26 12:10:52 +01:00
Scott González
e72afe4afc
Button: Only add text classes if there is text. Fixes #7040 - button class change breaks icon only buttons.
2011-02-26 11:14:15 +01:00
jzaefferer
6a5eb351c7
Position: Drop offset-as-a-setter from position, 1.9 won't support core
...
1.3 anymore
2011-02-25 11:16:16 +01:00
Scott González
0cd297702d
Datepicker: Added Tajikistan localization. Fixes #7034 - Datepicker: Add Tajikistan localization.
2011-02-25 10:40:36 +01:00
maggiewachs
f73466a320
Removed active state when menu closes
2011-02-24 11:46:51 -05:00
maggiewachs
adf80bfb38
Added active state toggle to items with submenus to provide "breadcrumb" feedback
2011-02-24 11:44:47 -05:00
jzaefferer
0ddf677e40
Menu: Integrated flyoutmenu into menu, and moved flyoutmenu.html
...
testmenu into contextmenu.html
2011-02-24 15:51:51 +01:00
jzaefferer
38cfcfffe9
Menu: Update autocomplete to use deactivate and check for focus class
2011-02-24 12:05:20 +01:00
jzaefferer
6bd95efe5e
Menu: Fix filter matching to work with flyout menu
2011-02-24 11:14:19 +01:00
jzaefferer
5d3f91bcbe
Menu: Move item matching code into menu
2011-02-24 11:14:19 +01:00
Scott González
50958718c2
Autocomplete: Added support for contenteditable elements. Fixes #6914 - Autocomplete: Support contenteditable.
2011-02-24 10:24:32 +01:00
jzaefferer
d74fb20a28
Menu: Replace ui-state-hover with ui-state-focus. More semantic, looks
...
the same.
2011-02-24 10:12:20 +01:00
jzaefferer
0d659d44c3
Menu: Rename activate to focus and deactivate to blur method
2011-02-24 10:06:08 +01:00
Gilmore Davidson
9626484dd5
Fixed #6979 - Several components are leaking variables into the global scope
2011-02-23 16:33:27 +01:00
jzaefferer
355705878a
Menu: Overhauled nested menu via flyoutmenu.js backported from Michael
...
Lang's fork. Changed key input handling by setting focus to menu,
getting rid of input option.
2011-02-22 11:51:08 +01:00
jzaefferer
a1eaac8847
Spinner: Use jQuery's focus() method instead of DOM method to set focus
...
to input. Fixes testsuite in IE6.
2011-02-21 22:45:19 +01:00
Scott González
f70f01af9e
Accordion: Handle changing the event option. Fixes #6740 - Dynamically changing accordion's event handler doesn't actually change the behaviour.
2011-02-21 16:07:59 +01:00
Richard Worth
7c4d6a763d
Datepicker i18n: Changed all html named character entities to unicode hex entities. Fixed #7008 - Chromium-Browser does not support html-entities in datePicker i18n-translation
2011-02-19 09:54:15 -05:00
adam j. sontag
b4bcc1bf9d
Datepicker: Display Year before Month in Hungarian i18n. Fixes #7019 - Hungarian Localisation has month-date in wrong order
2011-02-18 11:45:44 -05:00
Scott González
c44818fcca
Datepicker: Account for daylight saving when calculating number of days in a month. Fixes #6978 - In Calender for march 2011 dates showing till 5th only.
...
Thanks jomyjohn
2011-02-16 13:15:14 -05:00
William Kevin Manire
c94ec23b26
Widget: modified widget to throw exception on attempt to call private methods. Fixed #6947 - Attempt to access private member of widget returns jQuery object
2011-02-16 00:28:32 -08:00
jzaefferer
ed531ef0d3
Menu: Remove ui-state-hover class from menu items on destroy
2011-02-16 08:39:30 +01:00
Dan Heberden
5c3dc7d48a
Datepicker: prevent datepicker initialization on empty jquery collection and add unit test. Fixed #6976 - datepicker creates extra dom element with empty object
2011-02-15 10:15:46 -08:00
Scott González
6c3477e12e
Merge remote branch 'msolli/master'
2011-02-15 10:00:25 -05:00
David Petersen
8ef8d2d877
Tabs: Pass original event for show and select events. Fixes #5043 - Tabs: pass original event.
2011-02-15 08:56:19 -05:00
Scott González
a3cba34a4d
Datepicker: Properly handle datepickers attached to inputs that are hidden using CSS. Fixes #6988 - Datepicker: Treat all hidden text fields the same.
2011-02-15 08:39:47 -05:00
Martin Solli
d505c7c66d
Datepicker: improved translation of Norwegian names for days and months. Fixed #6986 - Improved translation of day and month names
2011-02-14 05:49:33 -08:00
jzaefferer
e69839ae6a
Menu: Fix unit tests and set the right menu1-activedescendant attribute
2011-02-11 15:42:44 +01:00
Scott González
1cb1b9cef7
Widget: Handle super calls when method calls go up and down the inheritance chain.
2011-02-11 08:53:43 -05:00
Alex Dovenmuehle
5b104dbcef
Button: Batched class changes to improve performance. Fixes #6934 . Button: Batch class changes to improve performance.
2011-02-10 22:11:59 -05:00
Scott González
92bae28dea
Widget: Only create _super and _superApply once per method, then assign on every execution.
2011-02-10 21:32:33 -05:00
Scott González
6096aed0a3
Widget: Fixed super methods with deep inheritance chains.
2011-02-10 21:25:50 -05:00
Scott González
fb35d4e5c5
Accordion: Reset overflow on both content panels being animated, not just the one being shown. Fixes #6957 - .ui-accordion-content's overflow value does not change back to auto in IE 6.
2011-02-08 16:13:18 -05:00
Scott González
fba3349e38
Merge branch 'master' of github.com:jquery/jquery-ui
2011-02-08 09:22:45 -05:00
Scott González
93916b4d01
Accordion: Added note about using ui-accordion-header-active class.
2011-02-08 09:21:35 -05:00
jzaefferer
ce51edefb3
Spinner: Fix time spinner demo; workaround for _super issue.
2011-02-07 20:37:06 +01:00
jzaefferer
ba4fa2b5ca
Spinner: Fix unnecessary var
2011-02-07 18:50:19 +01:00
awgy
548bdb12a1
Mouse: Reset click event suppression on next mousedown. Fixes #6946 - Mouse: click event suppressed after drag in Gecko
2011-02-05 02:13:55 -06:00
Scott González
e986bd8877
Accordion: Reduced some code in _toggle().
2011-02-04 23:50:49 -05:00
Scott González
d808f933eb
Accordion: Simplify _toggle() implementation.
2011-02-04 22:37:29 -05:00
Scott González
e2560f654e
Accordion: Always have _activate delegate to _eventHandler.
2011-02-04 21:52:09 -05:00
Scott González
ed57047bf9
Accordion: First pass at cleaning up activation/event handling code.
2011-02-03 23:02:46 -05:00
Scott González
ee88a56243
Widget: Added ability to use $.widget() to create extensions. Fixes #6937 - Widget: Allow redefining a widget to create extensions.
2011-02-03 16:37:17 -05:00
Scott González
678ff6326a
Added version property to plugins that were missing them.
2011-02-03 12:01:26 -05:00
Scott González
352ef4c9b3
Accordion: Cleaned up destroy and refresh methods.
2011-02-03 11:04:22 -05:00
Scott González
2e17770e54
Accordion: Update active option when programmatically collapsing the accordion.
2011-02-03 10:04:40 -05:00
Scott González
d099e3a3b2
Accordion: Handle negative values for active option on init.
2011-02-03 09:59:05 -05:00
Scott González
714a77f202
Accordion: Properly handle collapsible: false and active: false by changing active to 0.
2011-02-03 09:54:11 -05:00
Tobias Brunner
39cf7d5bb4
Datepicker: only set the focus explicitly if it is not already on the target field. Fixed #6694 – datepicker does not fire change event in IE8
...
jQuery stores the current content of a field whenever it gets the focus. Since the fixed function is also called for KeyUp events the change event is not triggered anymore when the input looses focus.
2011-02-03 08:51:50 -05:00
Scott González
8ac5da2315
Accordion: Cleanup.
2011-02-02 21:33:57 -05:00
Scott González
f1ff9b8f4d
Accordion: Added ui-accordion-header-icon class to generated icons in order to not interfere with any additional icons that users might add.
2011-02-02 21:15:25 -05:00
George Marshall
002f9a2629
Resizable: Changed the way box size is determined when using a helper. Fixed #6926 - Window doesn't change to size that helper shows when snapping to grid
2011-02-01 18:52:17 -08:00
Michael DellaNoce
b3fcf17471
Widget: Modified _trigger to invoke callbacks with apply so that handlers are invoked the same way .trigger() invokes them. Fixes #6795 - Widget: _trigger passes array arguments to handlers inconsistently.
2011-02-01 06:57:48 -05:00
Scott González
cb8f5b7f26
Merge branch 'master' into widget-events
...
Conflicts:
ui/jquery.ui.widget.js
2011-01-31 22:04:09 -05:00
Scott González
bb857ddd8d
Tabs: Use ._focusable() and ._hoverable().
2011-01-31 21:56:55 -05:00
Scott González
17004b9cac
Widget: Use focusin/focusout for ._focusable().
2011-01-31 21:55:22 -05:00
jzaefferer
03dcdd6373
Optimize widget's _createWidget method to not store data and bind remove
...
when dealing with an instance without an element (element == instance).
2011-01-31 16:33:45 +01:00
Scott González
6309061a2b
Accordion: added a comment.
2011-01-31 08:58:01 -05:00
Scott González
c58012364b
Accordion: Removed ui-accordion-li-fix class; I couldn't find instances where this caused a problem in IE. Fixed #6892 - Accordion: broken animation in Chrome.
2011-01-31 08:50:17 -05:00
Scott González
a1ab9678e9
Autocomplete: Fixed handling of race conditions when using jQuery 1.3.2. Fixes #6904 - Autocomplete: Race condition handling means.
2011-01-27 14:49:59 -05:00
Scott González
7a6dd71f8c
Accordion: Allow canceling the beforeActivate event. Fixes #6896 - Accordion: Allow canceling the beforeActivate event.
2011-01-25 00:52:42 -05:00
Scott González
088ef05142
Accordion: Renamed changestart and change events to beforeActivate and activate, respectively. Fixes #6840 - Accordion: Rename changestart event to beforeActivate. Fixes #6842 - Accordion: Rename change event to activate.
2011-01-25 00:05:55 -05:00
Scott González
3e370a4467
Dialog: Use ._focusable() and ._hoverable().
2011-01-24 21:58:40 -05:00
Scott González
140d90a9a4
Accordion: Test cleanup.
2011-01-24 15:45:29 -05:00
Scott González
c96c249780
Accordion: First pass at splitting out tests for deprecated functionality.
2011-01-24 14:38:23 -05:00
Scott González
cc90b44060
Widget: Allow this.element to be the widget instance instead of a DOM element. Fixes #6895 - Widget: Allow non-DOM based widget.
2011-01-24 13:33:24 -05:00
Scott González
29bfb86ce2
All: Define defaultElement for non-div widgets.
2011-01-23 17:55:53 -05:00
Scott González
8d1713dd8e
Widget: Removed comment about storing instances in jQuery.data twice since we now only do it once.
2011-01-23 17:38:33 -05:00
Scott González
244eebe74d
Widget: Allow instantiation without the new keyword.
2011-01-22 20:39:37 -05:00
Scott González
3a0b617bb4
Widget: Added ability to generate an item if no item is passed on creation.
2011-01-22 20:30:40 -05:00
Scott González
711df1f5e5
Widget: Added _hoverable() and _focusable().
2011-01-21 15:37:18 -05:00
marcos.sousa
f165c93127
Sortable: Make sure we have a placeholder before trying to remove it during a cancel. Fixes #6879 - Sortable: Calling cancel when there is no sort occurring throws an error.
2011-01-19 11:11:49 -05:00
Scott González
cf0c32f335
Sortable: pass a fake event object to _mouseUp on cancel. Fixes #5882 - UI.Sortable .sortable( cancel ) call the this._mouseUp method without param.
2011-01-19 10:45:44 -05:00
Scott González
30c9473d8f
Datepicker i18n: Added Algerian Arabic to demos.
2011-01-19 10:15:15 -05:00
cherif
fcf8c2631c
Datepicker i18n: Added Algerian Arabic. Fixes #6877 - Datepicker: Add Algerian Arabic support.
2011-01-19 09:11:24 -05:00
jzaefferer
6a79c70852
Spinner: Update to latest jquery-global plugin, removing the currency
...
workaround.
2011-01-18 12:11:26 +01:00
Scott González
6072703cd1
Widget: Added "dynamic" bindings via ._bind() to allow for proxying.
2011-01-18 01:53:20 -05:00
Scott González
659db70caa
Widget: Added ._bind() for easily binding events with correct context and disabled checking. Pretty much a direct copy from the previous bind branch.
2011-01-18 01:46:26 -05:00
Ivan Peters
67b070f97a
Datepicker: Update parseDate to properly handle a string value in shortYearCutoff. Fixed #6872 : parseDate does not default shortYearCutoff correctly.
2011-01-18 16:25:58 +13:00
Scott González
a4d2a0fa19
Datepicker i18n: Added Australian and New Zealand localizations. Fixes #6828 - Datepicker: Add en-AU or en-NZ initialisations.
...
Thanks Campbell
2011-01-17 09:26:30 -05:00
Scott González
6e0482a9cb
Updated copyright year.
2011-01-17 09:13:18 -05:00
Scott González
53dc2d3056
Tabs: Pass an element instead of jQuery object on initial show. Fixes #6867 - Inconsistent ui.panel contents for show event of tabs widget.
2011-01-16 16:19:58 -05:00
Scott González
1dc4d64dd4
Spinner: Moved ARIA to input and fixed tests.
2011-01-15 08:28:13 -05:00
Scott González
e0b52831fc
Updated widgets to use new methods from $.Widget.
2011-01-15 06:34:07 -05:00
Scott González
56c4c6aca9
Change destroy to _destroy and remove calls to $.Widget.prototype.destroy in widgets with simple destroy methods.
2011-01-14 17:11:22 -05:00
Scott González
ef1202dbe0
Widget: destroy() now calls _destroy() so that widgets don't need to call the base destroy method. Fixes #5056 - Widget factory: Remove need to call base destroy method.
2011-01-14 16:55:13 -05:00
Scott González
25dae411bc
Widget: Added _super() and _superApply() methods. Fixes #6861 - Widget: Add _super() and _superApply() for easy access to parent methods.
2011-01-14 15:52:03 -05:00
Scott González
66606407ed
Accordion: Force the width of the accordion panel during animation when animating from a fully collapsed state. Fixes #5540 - Accordion: Jumpy animation when opening a panel after closing all.
...
The animation code should be refactored.
2011-01-14 14:35:37 -05:00
Scott González
1b2f6ce095
Accordion: Renamed resize method to refresh. Fixes #6838 - Accordion: Rename resize method to refresh.
2011-01-14 12:18:33 -05:00
Scott González
eabb391e47
Widget: Removed unnecessary/incorrect logic for widgetEventPrefix.
2011-01-13 19:32:08 -05:00
Scott González
2df430d0e3
Widget: Removed commented out code.
2011-01-13 19:27:22 -05:00
Scott González
cb50642e34
Widget: Removed code for the remove event in jQuery < 1.4.
2011-01-13 19:26:52 -05:00
Scott González
ee77fde5fc
Accordion: Cleaned up _createIcons().
2011-01-13 19:23:55 -05:00
Scott González
4e7aa53e3e
Accordion: Use event.preventDefault() instead of return false when handling keydown.
2011-01-13 16:48:56 -05:00
Scott González
b22c69b949
Accordion: call event.preventDefault() inside the _eventHandler() instead of in each individual event handler.
2011-01-13 16:45:21 -05:00
Scott González
93d01208eb
Accordion - Make sure we have an element before trying to modify the className. Fixes #6856 - Accordion: Opening a panel after all panels have been collapsed causes an error.
2011-01-13 16:36:14 -05:00
Scott González
599e1434c5
Merge branch 'accordion-activate'
2011-01-13 14:56:29 -05:00
Scott González
468c35877a
Accordion: Moved handling for programmatically collapsing the accordion out of the event handler. Modified event handler to not change the active option until after it determines that the event is valid.
2011-01-13 14:42:35 -05:00
Scott González
3c11cd3051
Accordion: Added note about supporting negative values for active option in 2.0.
2011-01-13 14:01:38 -05:00
Scott González
b5b8cefcb0
Accordion: Reduced valid active options to numbers and falsey. Added compatibility layer for previously allowed values.
2011-01-13 08:51:09 -05:00
Alex Dovenmuehle
497ec8588c
Accordion: Fixed weird behavior on accordion animations in IE. Fixed #5421 - Accordion header margins disappear in IE 8
2011-01-12 21:43:53 -05:00
Scott González
c1cc00f609
Position: Fixed calculation of collision dimensions. Fixes #6812 - Position: Collision detection fails on the right side in Internet Explorer.
2011-01-12 08:43:18 -05:00
Scott González
368af59137
Accordion: Handle invalid values for the active option.
2011-01-11 21:24:41 -05:00
Scott González
8b23483c0b
Accordion: First pass at deprecating the activate method. Renamed _clickHandler to _eventHandler and removed extraneous parameter. Updated all tests to use the option methods instead of the activate method.
2011-01-11 20:53:31 -05:00
Alex Dovenmuehle
b6ed9328ef
Accordion: Deprecated icons.headerSelected in favor of icons.activeHeader. Fixes #6834 - Accordion: Change icons.headerSelected to icons.activeHeader.
2011-01-11 15:38:47 -05:00
Scott González
04667b1518
Dialog: Fixed creation of close button in IE.
...
Thanks dkiselev.
2011-01-11 14:34:17 -05:00
Scott González
dd89ea5ff3
Accordion: Start the accordion animation before changing classes. Fixes #6720 - Accordion: ol numbering bug.
...
Thanks Tony Ross.
2011-01-11 13:20:50 -05:00
Saji
cce7dbe8f2
Datepicker: Added Malayalam translation. Fixes #6822 - Datepicker: Add i18n translation for Malayalam.
2011-01-08 01:39:27 +05:30
jzaefferer
0479ab6af6
Merge remote branch 'origin/tooltip'
...
Conflicts:
demos/autocomplete/combobox.html
demos/index.html
tests/unit/index.html
2010-12-22 18:58:57 +01:00
jzaefferer
3552947c19
Merge remote branch 'origin/menu'
...
Conflicts:
demos/autocomplete/categories.html
demos/autocomplete/combobox.html
demos/autocomplete/custom-data.html
demos/autocomplete/default.html
demos/autocomplete/folding.html
demos/autocomplete/multiple-remote.html
demos/autocomplete/multiple.html
demos/autocomplete/remote-jsonp.html
demos/autocomplete/remote-with-cache.html
demos/autocomplete/remote.html
demos/autocomplete/xml.html
demos/button/splitbutton.html
demos/index.html
tests/visual/menu/nested.html
themes/base/jquery.ui.autocomplete.css
ui/jquery.ui.autocomplete.js
2010-12-22 18:31:27 +01:00
jzaefferer
2c89e9587e
Merge remote branch 'origin/spinner'
2010-12-22 17:36:41 +01:00
Max Schnur
727d00dec8
Dialog: Modified close button binding to use event.preventDefault() instead of return false. Fixes #6766 - Dialog: Clicks on close button don't bubble.
2010-12-20 09:00:28 -05:00
MaxPower15
e104f6cfa0
Tabs: Use event.preventDefault() instead of return false. Fixes #6765 - Tabs: Use event.preventDefault() instead of returning false.
2010-12-20 08:50:23 -05:00
Xavi
956697bfca
All: Use .toggleClass() instead of conditionally using .addClass() and .removeClass(). Fixes #6764 - Use toggleClass instead of [ bool ? 'addClass' : 'removeClass' ].
2010-12-19 16:52:22 -05:00
Scott González
d6edba5a89
Accordion: Move code for deprecated height options into an extension at the bottom of the plugin.
2010-12-19 16:38:15 -05:00
Scott González
32945202da
Accordion: Don't include the height of absolute/fixed positioned siblings when calculating size for heightStyle: fill.
2010-12-19 16:22:26 -05:00
Scott González
75b94a1c12
Accordion: Handle changes to deprecated options: autoHeight, clearStyle, fillSpace.
2010-12-19 16:19:54 -05:00
Scott González
e0ae1929a0
Merge remote branch 'Adovenmuehle/master' into accordion-height
2010-12-19 16:14:13 -05:00
Alex Dovenmuehle
94a1786d56
Accordion: API Redesign. Made style changes and changed 'fill' implementation to use $.siblings()
2010-12-17 21:38:29 -05:00
Scott González
c614889b30
Dialog: Coding standards.
2010-12-17 19:53:22 -05:00
Scott González
08422d69da
Autocomplete: Track pending requests and only remove the loading class when the last request completes. Fixes #6761 - Autocomplete: Loading class removed when multiple Ajax requests occur.
2010-12-17 11:15:17 -05:00
Scott González
0d0c86210c
Autocomplete: Abort pending ajax requests when disabled and prevent handling results when disabled. Fixes #6752 - Menu may still render when autocomplete is disabled.
2010-12-17 10:48:17 -05:00
Alex Dovenmuehle
490792be6a
Accordion: API Redesign. Merged autoHeight, fillSpace, and clearStyle into a new option called heightStyle
2010-12-16 22:55:59 -05:00
Scott González
6731b0e2d6
Effects: Fixed queueing of class animations. Fixes #6748 - animateClass broken in 1.8.7.
2010-12-14 09:02:00 -05:00
Kevin Dalman
2084549344
Effects: set right/bottom to 'auto' so effects work with dir=rtl. Fixed #6736 - Bug in slide effect when dir=rtl and has position.right.
2010-12-13 13:02:31 -05:00
Scott González
f73d421753
Accordion: Split out navigation options into an extension. Fixes #5869 - Accordion: Deprecate navigation options.
2010-12-11 15:57:49 -05:00
Scott González
ca0ac5a64f
All: Remove workaround for .offset() setter bug from older versions of jQuery.
2010-12-11 15:19:25 -05:00
Scott González
9681b1fd7e
All: Replaced all uses of $.ui.contains() with $.contains(). Fixes #5000 - Deprecate $.ui.contains.
2010-12-10 15:13:10 -05:00
Scott González
162364fae4
Tabs: Removed rotate method. Fixes #5939 - Tabs: Remove rotation.
2010-12-10 15:06:22 -05:00
Alex Dovenmuehle
f54747b302
Accordion: Added .ui-accordion-heading class to header's first child. Fixes #6743 - Accordion: Add .ui-accordion-heading class.
2010-12-10 14:54:50 -05:00
Scott González
0cc1a0c030
Position: Use $.isWindow()
2010-12-10 14:34:21 -05:00
Scott González
b42125af43
Dialog: Removed handling of deprecated beforeclose option. Fixes #5100 - Dialog: remove deprecated dialog option beforeclose.
2010-12-10 14:31:36 -05:00
Scott González
9ad2a4b1cc
Widget: Throw errors for invalid method calls. Fixes #5972 - Widget: Throw error for non-existent method calls.
2010-12-10 14:11:20 -05:00
Scott González
0e15f573d6
Revert "Dialog: Moved the default value for the position.of option inside the _position() method to avoid a bug in jQuery 1.3.2. Fixes #6030 - ui.dialog with jQuery 1.3.2 causes RangeError."
...
This reverts commit 22671ad4f8
.
2010-12-10 13:42:29 -05:00
Scott González
22671ad4f8
Dialog: Moved the default value for the position.of option inside the _position() method to avoid a bug in jQuery 1.3.2. Fixes #6030 - ui.dialog with jQuery 1.3.2 causes RangeError.
...
This should be reverted in jQuery UI 1.9.
2010-12-08 12:36:19 -05:00
saks
63ec1152d8
Tabs: Added context to global selectors. Fixed #6710 - tabs module uses global selectors instead of local to "this.element" element.
2010-12-07 16:27:56 -05:00
Heiko Henning
5f919b2421
Datepicker: Added Rhaeto-Romanic translation. Fixes #6728 - Datepicker: Add i18n translation for Rhaeto-Romanic.
2010-12-07 12:33:18 -05:00
poplix
0d0969ca2b
Slider: Changed _trimAlignValue function to return the correct inclusive value between min and max. Fixes #6643 - using range and step options makes jquery change min and max.
2010-12-06 10:05:46 -05:00
jzaefferer
1fd34199ef
Tooltip: Seperate restoring title attribute from assigning current-variable, in case currentTitle is undefined.
2010-12-03 18:14:20 +01:00
dblood
51695f82c8
Datepicker: enabled OSX meta keys to work when constraining input. Fixed #5317 - datepicker cmd+a/c/v is not working on MAC OS-X
2010-12-03 08:44:34 -05:00
Scott González
b9e34f726a
Dialog: Don't hide the dialog in _size if it started visible. Fixes #6717 - Dialog: Adding a button makes the dialog disappear in IE6.
2010-12-03 08:31:06 -05:00
jzaefferer
0d0ec376e3
Spinner: Introduce page option to configure page size. Use that for timespinner demo to spin minutes on cursor up/down, hours on page up/down.
2010-12-01 23:28:05 +01:00
Jean-Francois Remy
e01664a382
Draggable: Handle scrolled windows. Fixes #6181 - Draggable: issue with containment on position:fixed elements.
2010-12-01 15:31:59 -05:00
Scott González
eac910f315
Autocomplete: Update selectedItem in the asynchronous focus handling for IE. Fixes #6709 - Autocomplete: Null ui.item on change event in IE8.
2010-12-01 11:51:16 -05:00
Scott González
c667cff22d
Position: Handle sub-pixel offsets better in Firefox. Fixes #6000 - Position: Sometimes positioning is off by 1px in Firefox.
2010-12-01 11:23:06 -05:00
Scott González
40135bb091
Autocomplete: Handle ajax errors and timeouts. Fixes #6692 - Autocomplete: ui-autocomplete-loading class not removed when Ajax request times out.
2010-11-30 22:19:20 -05:00
pheiberg
98f7e6a8d6
Datepicker: made it possible to select a date in the selected month using enter. Fixes #5527 - Datepicker: Problem selecting the date with keyboard shorcuts
2010-11-30 17:46:53 -05:00
jzaefferer
56f842cee0
Spinner: Move aria-attributes to the focusable element of the widget
2010-11-30 13:44:52 +01:00
jzaefferer
285c991b72
Spinner: Fix crlf to lf line endings.
2010-11-30 13:43:43 +01:00
jzaefferer
9ef5cd02fa
Spinner: Use inline-element for better inline-block support. Removed float:left from input to fix input focussing in IE6.
2010-11-30 13:41:54 +01:00
Scott González
9ade71071a
Datepicker: Proper handling of empty strings for dates.
2010-11-22 12:59:57 -05:00
Scott González
7b523c2ec1
Datepicker: Handle clearing the date inside _setDate() as early as possible. Fixes #6684 - Datepicker: setDate() should accept an empty string.
...
Thanks RobinHerbots.
2010-11-22 11:46:36 -05:00
Scott González
a4d54b4d77
Datepicker: Don't use ui-helper-hidden-accessible for initial hiding.
2010-11-22 11:40:11 -05:00
Marian Rudzynski
d23fe49ae8
Progressbar: Added max option. Fixes #6681 - Progressbar: add max option.
2010-11-22 08:49:47 -05:00
pheiberg
d69f2ecb12
Datepicker: changed setDate not to modify the passed date argument. Fixes #6671 - setDate manipulates its argument
2010-11-22 08:29:29 -05:00
Khaled AlHourani
3361e8fe9d
Datepicker: modified Arabic day names order. Fixed #6676 - ui.datepicker: Arabic Localization miss order
2010-11-21 09:47:06 -05:00
jzaefferer
2c4d4180c3
Tooltip: Update license header.
2010-11-20 15:43:13 +01:00
jzaefferer
2a226f6e63
Menu: Update license header.
2010-11-20 15:42:44 +01:00
jzaefferer
bd3d324572
Spinner: Update license header.
2010-11-20 15:39:40 +01:00
skeetergraphics
0c3e56dd7d
Slider: Modified handle and scroll content not to jump twice when handle is grabbed and dragged from anywhere other than absolute center. Fixed #4467 - Slider: handle jumps a few pixels when clicked.
2010-11-19 10:35:34 -05:00
jamiejag
8bb412dd4a
Dialog: Ensure dialogs have a z-index when calculating the max z-index. Fixex #5955 - Dialog: Closing UI dialog when z-index is not defined in any .ui-dialog class, causes NaN to be used as Z-index, throwing an error. Fixes #4652 - Dialog: Event loss in subsequent dialog calls (FF3).
2010-11-19 09:02:01 -05:00
Alex Dovenmuehle
abfa0e1e95
Core: Fixed switchClass queueing issues using lazy evaluation of element's style. Fixed #6244 - switchClass queues incorrectly.
2010-11-19 08:54:11 -05:00
pheiberg
a2e0eb920a
Datepicker: Fixed parsing of single y character for date formats. Fixes #6659 - Datepicker: Date format ymmdd not parsed correctly.
2010-11-18 16:13:28 -05:00
jzaefferer
ecc0d0e74d
Menu: Implemented new (experimental) ARIA based on discussions on the jquery-a11y list.
2010-11-16 20:35:08 +01:00
J. Ryan Stinnett
859c87e6d9
Effects: Allow named speeds to be 0. Fixes #6657 - Allow named speeds to be 0
2010-11-16 08:14:10 -05:00
Scott González
c2139fc2e6
Dialog: Added some missing semicolons.
2010-11-12 12:57:34 -05:00
Scott González
5dad57e3c2
Buttonset: Added items option and removed visible filter for adding rounded corners. Fixes #6262 - buttonset not applying ui-corner to invisible elements.
2010-11-12 10:28:55 -05:00
Scott González
f85b998f44
Autocomplete: Re-position menu after resizing, not before. Fixes #6648 - Autocomplete menu position issue when positioned to the right.
2010-11-12 08:41:36 -05:00
Jay Merrifield
dfb3544297
Dialog: Make sure the overlay instance still exists before trying to remove it. Fixes #6645 - Dialog: Missing element not found check in overlay code.
2010-11-12 08:16:41 -05:00
Stéphane Raimbault
320dfb8679
Datepicker: fixed the French translation. Fixed #6646 - Wrong French translation of datepicker
...
References
- http://fr.wikipedia.org/wiki/Mois
- http://sourceware.org/bugzilla/show_bug.cgi?id=6040
- http://code.djangoproject.com/browser/django/trunk/django/conf/locale/fr/LC_MESSAGES/djangojs.po
2010-11-11 09:06:00 -05:00
awgy
e2a693ba78
Mouse: tie the preventClickEvent property to the event target, not the container. Fixes #4752 - link event firing on sortable with connect list
2010-11-09 09:52:24 -05:00
Scott González
412d1aa1c9
Slide effect: Handle string values for distance. Fixes #6637 - Slide effect is jumpy with certain parameter combinations.
...
Thanks Jeff Roush.
2010-11-09 08:38:06 -05:00
Scott González
7832fd8e9c
Datepicker: Avoid flash during render in Firefox. Fixes #5493 - Datepicker: changeYear + yearRange causes flash in Firefox.
...
Thanks israelrios.
2010-11-05 10:25:06 -04:00
jzaefferer
9949fa4d76
Menu: Good enough
2010-10-28 19:24:51 +02:00
jzaefferer
8959057ecc
Menu: Further refactoring of next/previousPage
2010-10-28 19:22:57 +02:00
jzaefferer
c55977d2ef
Menu: Refactored next/previousPage logic and activate-scrolling, improved much!
2010-10-28 19:15:27 +02:00
jzaefferer
184ad699df
Menu: Refactored menu to use .first()/.last() instead of :first/:last whereever possible
2010-10-28 18:38:40 +02:00
jzaefferer
1bd57c7421
Menu: Effing coding standards.
2010-10-28 18:12:52 +02:00
jzaefferer
6b3eead894
Menu: Use event delegation for mouseover/out events, instead of binding to menu items directly
2010-10-28 18:11:55 +02:00
jzaefferer
a1eb5f4592
Spinner: Make sure that options.value and input.val() are in sync
2010-10-28 17:45:34 +02:00
jzaefferer
23157be9c3
Spinner: Refactored reading htlm5 attributes option init
2010-10-28 17:32:01 +02:00
jzaefferer
78872dca42
Spinner: Improved mousewheel event handling
2010-10-27 17:45:32 +02:00
jzaefferer
d91cd61f79
Spinner: More refactorings and cleanups, and heavy improvement on the incremental-logic, including a delay of 500ms after the first increment and before continous increments
2010-10-27 16:38:00 +02:00
jzaefferer
48a5977d33
Tooltip: Implementing event delegation support.
2010-10-26 17:07:22 +02:00
Scott González
226aa35e39
Datepicker: Fixed Norwegian locale. Fixes #6086 - Error in "jquery.ui.datepicker-no.js".
2010-10-26 09:17:58 -04:00
Scott González
f4d8ec9159
Autocomplete: Trigger close after hiding the menu. Fixes #6227 - Autocomplete: Don't trigger close event until after the menu is hidden.
2010-10-26 09:05:38 -04:00
jzaefferer
9556eccc0b
Tooltip: Update _init to _create
2010-10-26 14:41:14 +02:00
jzaefferer
bd22613af7
Tooltip: Removing application role, should be set on application level
2010-10-26 14:40:48 +02:00
jzaefferer
8b4245ac7e
Tooltip: Removing tooltipClass option; use .tooltip("widget").addClass("whatever") instead
2010-10-26 14:32:03 +02:00
Scott González
9ead629c2c
Datepicker: Fixed currentText in French locale. Fixes #5455 - Correction in French localization for Datepicker.
2010-10-26 08:24:55 -04:00
sixhead
482d3c2561
Datepicker: Fixed month name in Thai localization. Fixes #5862 - Datepicker: wrong month name for Thai locale.
2010-10-26 08:18:38 -04:00
jzaefferer
720e9d383c
Slider: Cleanup public methods
2010-10-26 12:56:40 +02:00
jzaefferer
30d431b08a
Slider: Improve destroy method
2010-10-26 12:53:34 +02:00
jzaefferer
f667bb3c8d
Slider: Some more refactoring and cleanup
2010-10-26 12:44:32 +02:00
jzaefferer
2df094527e
Spinner: Changed default for numberformat to null. Fixed disabled option to not prevent changing value via step and page methods. OVerhauled testsuite.
2010-10-26 12:14:45 +02:00
jzaefferer
e442dd3528
Slider: Simplifying mousewheel binding, remove Opera workaround
2010-10-26 10:54:28 +02:00
jzaefferer
8da1a75177
Spiner: Tune mousewheel spinning
2010-10-26 10:36:46 +02:00
jzaefferer
0e7bef4401
Slider: Removing dir option. Implementation caused more damage then being useful - will eventually implement RTL support in all widgets.
2010-10-25 18:10:07 +02:00
jzaefferer
44ca830ee8
Slider: More codecleanup. Inlining defaults for min/max, removing page (use 10*step instead), removing mouseWheel (just use when available)
2010-10-25 18:06:26 +02:00
jzaefferer
299d5c88b8
Spinner: Fix value option initalization
2010-10-25 17:32:08 +02:00
Scott González
5c67ed26e8
Autocomplete: Always reset this.term after a select event, even if the select is cancelled. Fixes #6221 - Autocomplete: Doesn't reset after Select when textbox cleared, if same letters typed in rapidly; source function not triggered in that case.
2010-10-25 10:01:43 -04:00
jzaefferer
1be2a79076
Spinner: More cleanup
2010-10-24 15:57:58 +02:00
jzaefferer
02d8f914b6
Spinner: Some code and test cleanup
2010-10-24 15:52:26 +02:00
jzaefferer
eebf8c31ff
Using button widget for the spinner buttons. Can still use some improvements, dropping custom theme stuff in favor of button styles.
2010-10-23 02:06:25 +02:00
jzaefferer
bc3d283d2c
Replaced hexadecimal demo with decimal demo. Updated that and the currency demo (previously donation) to use globalization plugin with a select for three different cultures (probably more to come). Updated spinner widget to use Globalization when available, replacing all number formatting related options with a single numberformat option.
2010-10-23 01:51:12 +02:00
Scott González
a0847f3a08
Revert "Position: Handle sub-pixel offsets better in Firefox. Fixes #6000 - Position: Sometimes positioning is off by 1px in Firefox."
...
This reverts commit 32264f7ad1
.
2010-10-22 15:25:12 -04:00
jzaefferer
f7d8a1ba57
Porting old spinner implementation to 1.8, dropping some baggage.
2010-10-22 06:16:12 +02:00
Scott González
32264f7ad1
Position: Handle sub-pixel offsets better in Firefox. Fixes #6000 - Position: Sometimes positioning is off by 1px in Firefox.
2010-10-21 23:25:42 -04:00
Scott González
a0c856467d
Autocomplete: Split menu resizing logic into its own method to create a more logical method to proxy for custom sizing.
2010-10-21 22:15:13 -04:00
jzaefferer
732a485676
Tooltip: Adding another ajax example to visual testcase. Fixing async response handling (taking IE cached response quirk into account) and simplifying fade animations a ton.
2010-10-21 21:03:48 +02:00
Scott González
6ba75aa698
Widget: Don't throw errors for invalid method calls (wait till 1.9 to add this back). Reverts fix for #5972 - Widget: Throw error for non-existent method calls.
2010-10-21 09:52:27 -04:00
Scott González
eab0a6dac1
Position: Use a better check for determining if an object is a window. Fixes #6201 - Autocomplete: Broken menu in IE8 Standards Mode when including prototype framework.
2010-10-20 23:47:17 -04:00
Scott González
c74f53898e
Widget: Fixed reference to element in _getCreateOptions().
2010-10-19 23:19:53 -04:00
Scott González
72985fbbec
Core: Don't use $.style since it doesn't exist in jQuery 1.3.2. Fixes #6196 - outerWidth() setter broken with jQuery 1.3.2.
2010-10-19 22:45:56 -04:00
Richard D. Worth
ec73a59c77
Mouse: better check for not IE9 or greater in case mode was set by X-UA-Compatible. See http://msdn.microsoft.com/en-us/library/cc196988%28VS.85%29.aspx for more info. Fixes #5370 - All drag & drop events fail in IE9. Thanks xirzec.
2010-10-15 01:04:39 -07:00
Richard D. Worth
7eaedaad29
changed jQuery to $ in last commit for consistency
2010-10-14 02:55:40 -07:00
Richard D. Worth
8fcf58e29e
Mouse: Limit mouseup out of window check to only versions of IE earlier than 9 as IE9 has this fixed. Fixes #5370 - All drag & drop events fail in IE9.
2010-10-14 02:53:20 -07:00
Scott González
a829697d0c
Mouse: Always call event.preventDefault() in _mouseDown if we've met the starting conditions. Fixes #6174 - Mouse: 1.4.3rc2 breaks interactions on anchors.
2010-10-13 13:30:50 -04:00
Scott González
3e225de13c
Core: Minor cleanup.
2010-10-12 09:20:04 -04:00
Scott González
450d0306dd
Autocomplete: Don't react to key events on readonly inputs. Fixes #6170 - autocomplete pops up on readOnly inputs.
2010-10-11 17:23:50 -04:00
Scott González
da13ea26fe
Autocomplete: Pass along some more original events.
2010-10-11 08:51:54 -04:00
=
03efae2887
Button: removed explicit call to _init() from _create(). Fixes #6165 - buttonset: refresh() fires twice on create
2010-10-09 02:24:56 +08:00
Scott González
09073f042e
Effects: Added borderColor to color animation list. Fixes #6164 - Effectts: Allow borderColor to be animated.
2010-10-08 08:07:54 -04:00
Scott González
62799d9122
Widget: Simplified _getCreateOptions().
2010-10-07 09:06:28 -04:00
Scott González
512825d358
Widget: Added ability to define how to find options on init. Fixes #6158 - Widget: Ability to define new methods for gathering options on init.
2010-10-06 15:11:49 -04:00
Dmitry Petrov
c3b282fceb
Autocomplete: Prevent keypress events caused by enter key when selecting an item. Fixes #6055 - Autocomplete: Selecting an item by pressing enter submits the form in Opera.
2010-10-06 10:24:03 -04:00
m157y
66346d04bf
Datepicker: fixed problem on ids with. Fixed #6154 – Datepicker brokes handler ids with dashes
2010-10-06 08:37:25 -04:00
m157y
7da662410b
Datepicker: fixed typo in russian localization. Fixed #6100 – Datepicker: Incorrect weekHeader for Russian localization
2010-10-06 08:34:40 -04:00
Scott González
302728bd87
Dialog: Fixed logic for mimicking minHeight. Fixes #6150 - Dialog height:auto does not work in IE6.
2010-10-05 16:20:43 -04:00
Scott González
a5c119558b
Autocomplete: Make sure we have a response before trying to check the length. Fixes #6147 - Autocomplete: Errors on empty responses.
2010-10-05 11:09:39 -04:00
Scott González
3b38025ced
Effects: Jump to final state and execute callbacks when $.fx.off is set to true. Fixes #6131 - Dialog breaks when $.fx.off. Partial fix for #5512 - jQuery.fx.off and effect on jQuery UI Effects.
2010-10-04 14:52:06 -04:00
jenters
c3145b691b
Tab: modified init to display correct content of misordered div when hash present in url. Fixed #6125 - Incorrect selection of tab on init with hash in url and misordered divs
2010-10-04 10:40:27 -04:00
John Firebaugh
e66cdfcf59
Dialog: Don't change DOM position on open. Fixes #6137 - dialog('open') causes form elements to reset on IE7.
2010-10-04 09:18:46 -04:00
Scott González
c090802cc1
Revert "Dialog: Don't change DOM position on open. Fixes #6137 - dialog('open') causes form elements to reset on IE7."
...
This reverts commit 67b1db14c9
.
Reverting so I can commit again with the proper author.
2010-10-04 09:18:21 -04:00
Scott González
67b1db14c9
Dialog: Don't change DOM position on open. Fixes #6137 - dialog('open') causes form elements to reset on IE7.
2010-10-04 09:15:40 -04:00
Scott González
d7670b9407
Dialog: Don't pass props to jQuery when creating buttons.
...
Thanks jitter.
2010-10-01 11:19:24 -04:00
Scott González
cd7f10d480
Dialog: Set the type on buttons. Fixes #6128 - Dialog: Buttons are not type="button".
2010-09-30 10:17:52 -07:00
Scott González
a2ddfd5107
Widget: Added create event. Fixes #6126 - Widget: Add create event.
2010-09-29 17:36:45 -07:00
Scott González
e8e3168a39
Dialog: Batch size-related option settings.
2010-09-27 15:15:20 -04:00
Scott González
9d88b565d6
Widget: Added _setOptions method for handling normalized options setting. Fixes #6114 - Widget: Add _setOptions() method.
2010-09-27 11:21:09 -04:00
Scott González
0b6710aed7
Progressbar: Added a complete event. Fixes #3500 - Progressbar callback at the end.
2010-09-27 10:44:04 -04:00
Scott González
adcafce7a2
Autocomplete: Only prevent the default action for enter when a menu item is active. Fixes #6038 - Autocomplete: Allow default behaviour on enter when menu is open but inactive.
...
Thanks Ján Suchal.
2010-09-27 10:10:00 -04:00
Scott González
dda7bcb638
Autocomplete (Menu): Only traverse through .ui-menu-item elements for paging. Fixes #6029 - Autocomplete: Custom item can be activated (and result in error) on PageUp/PageDown key click.
2010-09-27 09:10:18 -04:00
Scott González
0ccc78698b
Autocomplete: Handle IE firing focus events asynchronously. Fixes #6109 - Autocomplete Change event does not fire in IE.
2010-09-24 16:49:10 -04:00
Scott González
23b569f46e
Datepicker: Added Portuguese localization. Fixes #6102 - Datepicker: Add Portuguese localization.
2010-09-24 08:58:18 -04:00
Daniel Steigerwald
3f9b953117
Widget: Use charAt instead of substring for private method check.
2010-09-20 15:03:42 -04:00
Scott González
9e19747209
Accordion: Don't pass multiple classes to .toggleClass(). Fixes #6084 - Accordion: 1.8.5 not fully compatible with core 1.3.2.
2010-09-20 14:56:17 -04:00
Scott González
47e312b238
Core: Only use mousedown to prevent text selection in browsers that don't support selectstart. Fixes #6080 - Core: disableSelection() disables select elements in Chrome.
2010-09-20 11:53:51 -04:00
Jorge Barreiro
f04a25f9bf
Datepicker: Added galician localization. Fixes #6079 - Datepicker: Add Galician localization.
2010-09-20 10:59:01 -04:00
Scott González
ce08df3bdc
Effects: Fixed .show(), .hide(), .toggle() to accept a hash of options again. Fixes #6078 - Effects: Passing an object for parameters no longer works. Fixes #6067 - Dialog show/hide animations do not work.
2010-09-20 10:07:45 -04:00
Lim Chee Aun
a936eb3c09
Datepicker: Hightlight the curerent date, not the selected date. Fixes #5984 - Datepicker showing multiple months highlights selected day in all of them
2010-09-20 09:49:11 -04:00
Scott González
d380099116
Autocomplete: Properly handle non-item clicks inside the suggestion list. Fixes #6052 - Autocomplete suggestion list does not close properly.
2010-09-20 09:27:32 -04:00
Scott González
98a98a05d1
Dialog: Don't call draggable.destroy if we're not currently draggable. Fixes #6069 - DIALOG windows 1.8.5 draggapble problem.
2010-09-20 09:16:29 -04:00
AndrewNewcomb
590e03cc32
datepicker: changed parseDate to be case insensitive. Fixed #6036 - datepicker: parseDate is case sensitive.
2010-09-09 21:54:24 +08:00
Scott González
9a2dafa948
Core: Avoid layout bug in IE with minHeight support test.
2010-09-07 14:06:07 -04:00
Christopher McCulloh
8f22b2b6b3
Tabs: Prevent opening a tab while panels are being animated. Fixes #4771 - Tabs: Occassionally displays multiple tabs when clicked with rotate control using opacity toggle fx.
2010-09-07 13:20:41 -04:00
Scott González
409f5d1ba0
Core: Improvements to minHeight support test. Thanks jdalton.
2010-09-07 12:15:34 -04:00
Scott González
52e543a637
Dialog: If the browser doesn't support minHeight, use height to set the minHeight. Fixes #6027 - Dialog: minHeight isn't properly handled on init in IE6.
2010-09-07 09:33:09 -04:00
Scott González
99694e6fec
Core: Added $.support.minHeight. Fixes #6026 - Core: Add jQuery.support.minHeight.
2010-09-07 09:28:22 -04:00
Scott González
1b31765655
Tabs: Handle empty hrefs for IE6/7 as invalid. Fixes #5755 - Tabs: tabs with an empty href are enabled in IE6/7.
2010-09-03 13:35:05 -04:00
Scott González
78540e2c0c
Tabs: Allow non-latin characters for ids. Fixes #4581 - title attribute for remote tabs does not support foreign languages.
2010-09-03 11:35:10 -04:00
Ben Hollis
4b9d5d1b5b
Position: Take margin into account when performing collisions. Fixes #5766 - position: collision should take margin into account.
2010-09-03 10:38:44 -04:00
Scott González
0a0a39f896
Widget: Hook into jQuery.cleanData to auto-destroy widgets. Fixes #6008 - Widget: auto-destroy is broken in jQuery 1.4.
2010-09-03 09:49:29 -04:00
Scott González
de02aa34a8
Dialog: Set the _isOpen flag before triggering the open event. Fixes #6012 - Dialog: _isOpen flag should be set before triggering open event.
2010-09-02 08:35:40 -04:00
Scott González
5de8ced5d9
Core: Refactored .disableSelection() and .enableSelection().
2010-09-01 09:49:18 -04:00
Scott González
95a34593f9
Dialog: Added additional syntax for creating buttons. Fixes #4344 - Dialog: Enhanced Button Option.
2010-08-31 10:17:53 -04:00
jzaefferer
dea2f8a7fc
Autocomplete: Store term when selecting an item to prevent another search triggered before blur. Fixes #5591 - Home and End keys trigger search
2010-08-31 14:20:56 +02:00
Scott González
79ee6f0d7b
Dialog: When using the title attribute, update the title option. Fixes #5877 - Dialog: when using the title attribute, the title option should be updated.
2010-08-27 18:02:11 -04:00
Scott González
af9864dcc4
Dialog: Don't return true when we don't want to cancel events. Fixes #3523 - Dialog: onclick return value ignored.
2010-08-27 16:49:07 -04:00
Scott González
1e28040cf3
Widget: Throw errors when calling non-existent methods or methods on uninistantiated widgets. Fixes #5972 - Widget: Throw error for non-existent method calls.
2010-08-27 14:48:17 -04:00
Scott González
52a052be79
Position: Handle $(document) and $(window) for the of option. Fixes #5963 - Position: option 'of' accepts jQuery object unless it wraps document. Fixes #5655 - (Possible) Typo in jquery.ui.position 1.8.1.
2010-08-27 13:34:14 -04:00
Scott González
2acfde9e5e
Position: Created center variable for better minification. Fixes #5964 - Combine horizontalDefault and verticalDefault to one variable - possibly named center.
2010-08-27 13:19:51 -04:00
Scott González
16e93d5189
Core: Fixed .disableSelect() and .enableSelect() in all browsers. Fixes #5723 - disableSelection() doesn't work cross-browser.
2010-08-27 12:00:59 -04:00
Scott González
a3d9a91661
Core: Re-ordered functions.
2010-08-27 11:52:03 -04:00
Scott González
da2be6a2af
Autocomplete: Abort existing ajax requests when running new searches.
2010-08-24 21:41:34 -04:00
Scott González
f115b48d2b
Autocomplete: Don't handle remote data if it's not the most recent request. Fixes #5982 - Autocomplete: Race condition causes incorrect suggestions.
2010-08-24 09:14:44 -04:00
Scott González
1cca969c3c
Widget: Refactored code for re-initialization to reduce file size.
2010-08-23 15:35:49 -04:00
Scott González
2838c11ea8
Button: Read disabled attribute from original element if disabled option is null. Fixes #5252 -Button: read disabled option from input elements.
2010-08-18 14:51:30 -04:00
Scott González
9060bf3d09
Buttonset: Ignore hidden buttons. Fixes #5946 - buttonset should ignore buttons that are not :visible.
2010-08-18 10:13:57 -04:00
Ben Hollis
7692b6e65f
Position: Fix flip collision. Fixes #5932 - Position: flip collision handling is wrong in some cases.
2010-08-11 23:33:49 -04:00
ph-ausseil
03eea0e39d
Tabs: Ignore sublists. Fixes #5893 - Tabs: ability to contain sublists.
2010-08-11 23:06:41 -04:00
Scott González
2398f6d23a
Datepicker: Added Kazakhstan localization. Fixes #5924 - Kazakhstan localization for ui.datepicker.
2010-08-11 08:33:46 -04:00
Robson Braga Araujo
3af1f6c1ce
Autocomplete: changed menu activated function to check if the offset is greater than or equal the height. Fixed #5923 - autocomplete: Scrolling with the keyboard sometimes does not show the item (Chrome)
2010-08-11 08:21:09 +08:00
Robson Braga Araujo
9a4eecdf85
Autocomplete: changed the search function to always store the last term that was entered by the user. Fixed #5922 - autocomplete: Search not triggered if the first letter is the same as the first letter of a previous erased content
2010-08-11 08:21:08 +08:00
Scott González
04347e5a0d
Fixed broken whitespace characters and missing semicolon. Fixes #3921 - Problem with JavaScriptPacker.
2010-08-10 18:16:44 -04:00
malsup
2b9d684d1a
Effects: Fix show/hide/toggle test for using core functions. Fixed : #5456 - show() function broken with "normal" speed
2010-08-09 06:13:11 +08:00
Scott González
de266a1275
Autocomplete: Handle clicks outside the autocomplete after scrolling the results (which causes the body to gain focus). Fixes #5903 - Autocomplete doesn't close after scrolling.
2010-08-05 08:51:54 -04:00
Scott González
ed07f0a056
Autocomplete: Don't reset text field value on blur unless it will actually change the value. Fixes #5900 - Autocomplete: mousing over menu option replaces text box contents, moves caret.
2010-08-04 13:26:42 -04:00
Richard D. Worth
85b8816fa9
Datepicker: use a setTimeout 0 so the same code can run in IE (as other browsers) to set focus back to the datepicker text input if a month or year drop-down is clicked closed. Fixes #5897 - Datepicker: inconsistent behavior in IE when click to close month and year drop-downs
2010-08-04 02:39:54 -07:00
Ziling Zhao
c5770c0e84
Dialog: modified so that minWidth is respected. Fixes #5531 - dialog width should be at least minWidth on creation.
2010-07-30 15:14:48 -04:00
Scott González
90caa93a9b
Autocomplete: Respect the disabled option. Fixes #5619 - Autocomplete widget keeps looking for remote data even when it's disabled.
2010-07-30 12:59:33 -04:00
Scott González
58ae7ce2fd
Revert "Use pushStack in widget method. Fixes #5732 - make the widget method maintain the stack"
...
This reverts commit ea58cd5ac0
.
2010-07-30 12:38:18 -04:00
jzaefferer
96977edecc
Use pushStack in tooltip's widget method. See #5732
2010-07-30 14:30:43 +02:00
jzaefferer
ea58cd5ac0
Use pushStack in widget method. Fixes #5732 - make the widget method maintain the stack
2010-07-30 14:26:58 +02:00
jzaefferer
b3940d2f78
Replace element.data(...) with $.data(element, ...). Fixes #5756 - Widget: Use $.data instead of .data for performance reasons
2010-07-30 14:04:11 +02:00
Scott González
61e0aeac7e
Dialog: Wrap buttons in a div so we can float the div instead of the individual buttons. Fixes #4529 - dialog buttons are accessed in wrong order using tab.
2010-07-29 20:56:28 -04:00
Scott González
f00c03139b
Progressbar: cleanup.
2010-07-29 05:38:24 -04:00
Scott González
5a8c7e86e1
Tabs: coding standards.
2010-07-28 11:28:14 -04:00
Scott González
bccfb535c3
Accordion: minor cleanup.
2010-07-27 17:23:00 -04:00
Scott González
27095ef8e1
Core: Coding standards.
2010-07-22 19:26:37 -04:00
Scott González
59c9f75951
Accordion: Coding standards.
2010-07-22 19:10:14 -04:00
Scott González
fe13fbadd4
Core: Better support for areas in :focusable and :tabbable selectors. Partial fix for #4488 - :focusable and :tabbable are broken with jQuery 1.3.2.
2010-07-22 10:33:42 -04:00
Scott González
4deb824699
Core: Added .outerWidth(), .outerHeight(), .innerWidth(), .innerHeight(). Fixes #5850 - .outerWidth(), .outerHeight(), .innerWidth(), .innerHeight() setters.
2010-07-21 22:17:52 -04:00
Scott González
3f070bdc62
Core: Fixed :focusable and :tabbable selectors for to work with :hidden and :visibile selectors in jQuery 1.3.2+. Still need to handle areas properly. Partial fix for #4488 - :focusable and :tabbable are broken with jQuery 1.3.2.
2010-07-21 22:10:16 -04:00
Scott González
4c55071976
Autocomplete: Fixed bad reference to ownerDocument.
2010-07-21 14:56:15 -04:00
Scott González
74e0d4f473
Autocomplete: Added appendTo option. Fixes #5836 - Autocomplete: add appendTo option.
2010-07-21 14:54:20 -04:00
Scott González
70c4857cc5
Revert "Dialog: Don't set specific dimensions on the overlay - let it expand based on 100% dimensions. Fixes #3623 - Opening a Modal Dialog shows a horizontal scroll bar."
...
This reverts commit b548d34e14
.
2010-07-21 08:01:06 -04:00
Scott González
b548d34e14
Dialog: Don't set specific dimensions on the overlay - let it expand based on 100% dimensions. Fixes #3623 - Opening a Modal Dialog shows a horizontal scroll bar.
2010-07-20 22:05:05 -04:00
Scott González
f99068bb4f
Accordion: Use this.headers instead of parsing the DOM to find headers when determining which panel is active. Fixes #5841 - Accordion active property inaccurate if nested accordion is present.
2010-07-20 16:13:44 -04:00
Scott González
e85615fc6b
Autocomplete: Prevent the default behavior of pressing enter when the menu is open, even if no item is active. Partial fix for #5757 - Autocomplete combobox issues.
2010-07-20 15:13:54 -04:00
Scott González
c2c09e8953
Autocomplete: Clear selectedItem property whenever the user types something. Also updated combobox to clear the select element when clearing the text element. Fixes #5453 - Autocomplete: combobox demo doesn't remove invalid values.
2010-07-20 13:24:53 -04:00
Scott González
e4273ff621
Autocomplet: refactored handling of menu's selected event.
2010-07-20 12:10:58 -04:00
Scott González
2ed96cb0b8
Autocompelte: Only run a search if the value has changed; switching from a blacklist of keys to ignore. Fixes #5716 - autocomplete triggered when field copied with ctrl-c.
2010-07-20 11:48:53 -04:00
jzaefferer
52c31650b0
Tooltip: Updated positioning - let user also customize of-property
2010-07-20 14:00:43 +02:00
Scott González
1f2cfb942f
Autocomplete: Render items as text, not HTML. Fixes #5275 - suggestions are not html-encoded.
...
As noted in the ticket, it's probably better to default to unstyled items to prevent problems. Users can still implement their own rendering method as shown in the custom data and display demo.
2010-07-19 15:45:30 -04:00
Scott González
53489b502d
Autocomplete: Don't update the value of the text field until after setting focus. Fixes #5639 - Cursor jumps to beginning on select.
2010-07-19 14:36:40 -04:00
Scott González
5311fe22f3
Menu: Only look for .ui-menu-item elements to determine if a menu item is the first or last element in the menu. Fixes #5528 - Autocomplete: Issue when try to navigate using up key by keyboard in IE6.
2010-07-19 11:51:05 -04:00
Scott González
612838a151
Autocomplete: Added position option. Fixes #5153 - Autocomplete position option.
2010-07-19 09:28:04 -04:00
Scott González
5435c50765
Tabs: Fixed select method handling for index of -1.
2010-07-17 18:50:47 -04:00
Scott González
7e03d4ea9d
Tabs: Updated tests.
2010-07-16 20:20:28 -04:00
Tiago Freire
eaddfedd66
Tabs: Fixed a broken commit for #3171 .
2010-07-16 17:40:41 -04:00
Scott González
64d90b4a71
Dialog: Adjusted logic for finding the first tabbable element. Fixes #5767 - On open, the first tabbable element inside the dialog was never being focused in favor of the dialog container.
2010-07-16 16:57:46 -04:00
Holger Rüprich
9d01ab5645
Sortable: Return an empty URL param for empty sortable lists. Fixed #5794 - sortable("serialize", {key: "foo[]"}) returns an empty string for an empty list
2010-07-17 03:06:04 +08:00
Scott González
325a262b14
Autocomplete: Use .outerWidth() for determining the size of the menu. Fixes #5832 - Autocomplete: menu has incorrect width.
2010-07-16 14:12:06 -04:00
Diego
ba749ba683
Datepicker: Fixed pt-BR translation. Fixes #5363 - Error in datepicker translation for pt-BR.
2010-07-16 13:56:03 -04:00
Scott González
f448c79c01
Accordion: Use .addClass() instead of .toggleClass() during init so the classes can be added by the user.
2010-07-16 13:40:11 -04:00
Tiago Freire
fde8c64fd3
Tabs: Added ability to reference tabs by href. Fixes #3171 - have option to remove tab by href content, not just by index.
2010-07-16 13:08:09 -04:00
Scott González
70481d9feb
Button: Restrict DOM querying to labels. Fixes #5810 - Buttonset and applet error.
2010-07-16 11:48:40 -04:00
kobrigo
141748788b
Fixed argument shifting for effects. Fixes #5731 - hide and show called with ommiting the options in parameters does not call the callback.
2010-07-16 10:02:06 -04:00
Scott González
4ad7154bee
Dialog: Fixed whitespace.
2010-07-16 08:55:03 -04:00
Scott González
f24bc0fb1f
Widget: Deep extend options when creating a new plugin. Fixes #5830 - Widget: Using inheritance overwrites the base classes options.
2010-07-15 10:27:21 -04:00
jzaefferer
06f721b74f
Use .children() instead of .find() to manipulate accordion icons. Fixes #4645 - Accordion should only manipulate Icons that are children of ui-accordion-header
2010-07-15 09:51:20 +02:00
Ben Hollis
6de9a5368c
Dialog: allow setting position with ui.position arguments. Fixes #5459 - Dialog: expose .position() API
2010-07-14 16:29:28 -04:00
Scott González
8a5d4ca321
All: Added http://jqueryui.com/about to header comments.
2010-07-14 15:45:45 -04:00
Scott González
2c7a9e9ff3
Dialog: Verify that we get a string back from .attr( "title" ) before using the return value. Fixes #5742 - Form field with name="title"
moved to title area.
2010-07-14 15:28:01 -04:00
jzaefferer
a3ab2b223b
Add support for multiple events, along with hoverintent demo. Fixes #3614 - Accordion: support multiple events being set at the same time
2010-07-14 19:39:50 +02:00
Scott González
c71e63cb69
Accordion: Add disabled class to headers and panels to fix styling in IE. Fixes #5332 - Accordion: Disabled accordion doesn't look disabled in IE.
2010-07-14 11:00:28 -04:00
Scott González
e895d860a5
Accordion: Animate padding when only showing/hiding a single panel. Fixes #5540 - Accordion: Jumpy animation when opening a panel after closing all.
2010-07-14 08:29:58 -04:00
Scott González
21aad10e6a
All: Define a local undefined variable inside the main closure.
2010-07-13 09:57:58 -04:00
Scott González
ba387ce1c5
Accordion: Fixed resize method for autoHeight. Fixes #5406 - autoHeight resize not working.
2010-07-13 09:40:46 -04:00
Scott González
551bf6e1e7
Accordion: Don't handle hover/focus when disabled. Fixes #5330 - Accordion headers still show rollover when disabled.
2010-07-13 09:10:43 -04:00
Scott González
2bf91e8e28
Accordion: Prevent the navigation filter from finding multiple elements. Fixes #4889 - Navigation parameter can open multiple sections.
2010-07-13 08:51:37 -04:00
Jon Palmer
f560862666
Dialog: add resize call when changing button options for correct height adjustment. Fixes remaining issues in #4846 - Setting Dialog height shorter after init hides button pane
2010-07-11 06:42:46 +08:00
jzaefferer
9b9b66d6ad
Updated copyright headers to make it clear that you can choose between MIT and GPLv2. Also added a link to http://jquery.org/license .
2010-07-09 15:36:06 +02:00
jzaefferer
0746f99115
Updated copyright headers to make it clear that you can choose between MIT and GPLv2. Also added a link to http://jquery.org/license .
2010-07-09 15:32:54 +02:00
Scott González
ca42e114c3
Merge branch 'master' of github.com:jquery/jquery-ui
2010-07-09 09:02:03 -04:00
Scott González
536ae6189b
Updated copyright headers to make it clear that you can choose between MIT and GPLv2. Also added a link to http://jquery.org/license .
2010-07-09 09:01:04 -04:00
Samuel Cormier-Iijima
89c0961c38
Core (widget): don't pass DOM objects to $.fn.add. Fixes #5743 ($.fn.remove does not trigger remove event for <select>s)
2010-07-09 00:11:06 +08:00
Scott González
7750bd0304
Whitespace
2010-07-07 09:56:18 -04:00
Scott González
3c18cf3b97
Whitespace
2010-07-07 09:51:42 -04:00
Scott González
3f3f357171
Droppable: Adjust fit tolerance to allow dropping an element exactly the same size as the droppable area. Fixed #5689 - Droppable tolerance fit feature.
2010-07-06 12:15:47 -04:00
tzkuei
92b7722fff
Slider: Removed redundant call _normValueFromMouse. Fixed #5796 - Slider: Redundant call to _normValueFromMouse
2010-07-06 20:17:31 +08:00
jzaefferer
0bbbe5f5b1
Autocomplete: Updated escapeRegex utility based on http://xregexp.com/xregexp.js
2010-07-05 10:06:16 +02:00
eXtreme
7d24c1a57f
Resizable: Adding missing variable initialization. Fixes #5694 - Invalid reference in UI Resizable hack for Opera.
2010-06-28 10:35:58 +08:00
jzaefferer
bf977a6770
Menu: Improve first and last methods to take non-menuitem items into account
2010-06-19 17:16:15 +02:00
jzaefferer
d5df3a5a56
Menu: make the move method private
2010-06-19 17:03:08 +02:00
jzaefferer
2360af22a8
Menu: make the hasScroll method private
2010-06-19 16:59:27 +02:00