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