Scott González
3ec0c2e572
Core: Removed $.ui.isOver() and $.ui.isOverAxis(). Fixes #8891 - Remove $.ui.isOver() and $.ui.isOverAxis().
2012-12-06 14:42:10 -05:00
Scott González
b239298946
Allow higher cyclomatic complexity in functions that sanely use switch statements.
2012-12-06 14:31:21 -05:00
Scott González
ebf8a60187
Tabs: Reduce cyclomatic complexity.
2012-12-06 14:31:21 -05:00
Kris Borchers
b44375aef1
Progressbar: Take min into account when calculating percentage.
2012-12-06 11:07:07 -06:00
Scott González
f7614706ab
Progressbar: Cleanup, byte shaving.
2012-12-06 10:10:07 -05:00
Scott González
f1be88e795
Progressbar: Only remove aria-valuenow for indeterminate progressbars. Added more accessibility tests.
2012-12-06 09:35:41 -05:00
Scott González
8c763cdf98
Progressbar: Define defaults for callbacks.
2012-12-06 09:21:25 -05:00
Scott González
1e5662ebe5
Tabs: Decode URIs before comparing. Fixes #8877 - Tabs: isLocal function issue in Safari 5.1.7.
2012-12-05 17:19:14 -05:00
Scott González
f59f5a8b12
Dialog: Restore inline styles for dimensions/display. Fixes #8119 - Dialog: Destroying a dialog leaves some styles changed.
2012-12-05 11:53:34 -05:00
Bjørn Johansen
70f5d18c71
Datepicker: Added Norwegian Bokmål and Norwegian Nynorsk locales. Fixes #8886 - Datepicker: Add Norwegian Bokmål (nb) and Norwegian Nynorsk (nn) locales.
...
Signed-off-by: Bjørn Johansen <bjorn.johansen@metronet.no>
2012-12-05 11:03:11 -05:00
Pavel Selitskas
cff4c3c4f3
Datepicker: Added Belarusian locale. Fixes #8885 - Datepicker: Add Belarusian locale.
2012-12-05 10:54:53 -05:00
Scott González
598cdae199
Datepicker: Handle changes to the disabled option. Fixes #8883 - Datepicker: Changing disabled option doesn't work.
2012-12-05 10:38:31 -05:00
Scott González
3c2acc3227
Dialog: Remove width, min-height, height styles on destroy. Fixes #8119 - Dialog: Destroying a dialog leaves some styles changed.
2012-12-04 10:03:05 -05:00
Scott González
050e71bdd8
Revert "Dialog: Cleanup style properties on _destroy. Reenables style check in domEqual, while removing commented and unnecessary old code. Fixes #8119 - Dialog: Destroying a dialog leaves style, scrollleft, and scrolltop leftovers."
...
This reverts commit d687a1b10d
.
2012-12-04 09:21:33 -05:00
Scott González
8072099a3a
Revert "Menu: Remove display property on hidden submenus instead of setting display:block. Surfaced by domEqual now checking for style property (see d687a1b
)."
...
This reverts commit 53b940fa27
.
2012-12-04 09:21:16 -05:00
Scott González
86f1087931
Revert "Tabs: Remove display property on hidden panels instead of setting display:block. Surfaced by domEqual now checking for style property (see d687a1b
)."
...
This reverts commit b9068c1523
.
2012-12-04 09:20:56 -05:00
Jörn Zaefferer
9bd44301d3
Dialog: Refactor _createOverlay and _destroyOverlay to use widget methods and properties.
2012-12-04 01:17:00 +01:00
Jörn Zaefferer
1e8baf5683
Dialog: Remove the instance-storing for the overlay, just create one whenever it is needed. Heavily simplifies the code, while the memorly leak should be hardly an issue anymore, since fixed positioning restricts the overlay size to the window dimensions. Fixes #6058 - Dialog overlays are not properly reused when multiple instances of a Dialog exist.
2012-12-04 01:08:34 +01:00
Jörn Zaefferer
b9068c1523
Tabs: Remove display property on hidden panels instead of setting display:block. Surfaced by domEqual now checking for style property (see d687a1b
).
2012-12-04 00:56:14 +01:00
Jörn Zaefferer
53b940fa27
Menu: Remove display property on hidden submenus instead of setting display:block. Surfaced by domEqual now checking for style property (see d687a1b
).
2012-12-04 00:49:37 +01:00
Jörn Zaefferer
d687a1b10d
Dialog: Cleanup style properties on _destroy. Reenables style check in domEqual, while removing commented and unnecessary old code. Fixes #8119 - Dialog: Destroying a dialog leaves style, scrollleft, and scrolltop leftovers.
2012-12-04 00:35:47 +01:00
Felix Nagel
e6aca63a77
Selectmenu: simplify $.each usage in _readOptions method
2012-12-03 23:28:06 +01:00
Felix Nagel
aa60a9e114
Selectmenu: use item.index instead of _getSelectedItem method
2012-12-03 23:19:15 +01:00
Felix Nagel
60e3302d96
Selectmenu: use text() instead of html() as the option and optgroup is read as text
2012-12-03 23:07:30 +01:00
Felix Nagel
cba09dafa7
Selectmenu: guard clause should not return false
2012-12-03 23:05:09 +01:00
Felix Nagel
04553a7da5
Selectmenu: close guard close should test for closed menu
2012-12-03 23:04:53 +01:00
Scott González
8b15aaf496
Widget: Don't modify the prototype passed to $.widget(). Fixes #8876 - Calling _super calls wrong inherited widget.
2012-12-03 14:18:24 -05:00
Scott González
5ba267e7c7
Resizable: Respect containment for alsoResize option. Fixes #4603 - Resizable: alsoResize option doesn't work with containment. Fixes #5559 - Dialog: Content grows bigger than widget on resize at document edge.
2012-12-03 10:36:55 -05:00
Jörn Zaefferer
13505e5945
Dialog: Ensure all animations finish and clean up themselve when destroying dialog. Fixes #5860 - Dialog: Destroying a dialog during animated close leaves .ui-effects-wrapper in DOM.
2012-11-30 13:08:56 +01:00
Kris Borchers
f2ee4c51aa
Progressbar: Create and destroy indeterminate overlay as needed and code cleanup.
2012-11-29 22:13:39 -06:00
Felix Nagel
0d282630de
Selectmenu: make isOpen check a guard clause in close method
2012-11-29 20:57:44 +01:00
Felix Nagel
18ecaf45db
Selectmenu: added comment about popup positioning
2012-11-29 20:33:05 +01:00
Felix Nagel
f622428c43
Selectmenu: improve disabled check in open method
2012-11-29 20:23:30 +01:00
Felix Nagel
ac7b8f925a
Selectmenu: improve comment in _drawMenu
2012-11-29 20:20:43 +01:00
Felix Nagel
1e6808a1a2
Selectmenu: replace placeholder entity with  
2012-11-29 20:13:57 +01:00
Felix Nagel
a177a92635
Selectmenu: improve element creation
2012-11-29 20:10:05 +01:00
Felix Nagel
e581a13c10
Selectmenu: remove unnecessary comments from _drawButton
2012-11-29 20:06:00 +01:00
Felix Nagel
71e744ad30
Selectmenu: move button event binding in _drawButton
2012-11-29 19:54:10 +01:00
Felix Nagel
080b5bca0a
Selectmenu: remove unnecessary comments from _create
2012-11-29 19:53:12 +01:00
Felix Nagel
b014bc6245
Selectmenu: alphabetical ordering of options and callback events
2012-11-29 19:49:43 +01:00
Felix Nagel
8a62210538
Selectmenu: updated documentation link
2012-11-29 19:41:20 +01:00
Jörn Zaefferer
24d9141597
Dialog: Use consistent code for appending to body
2012-11-29 17:40:31 +01:00
Felix Nagel
7328333773
Selectmenu: better position handling, fixes issue with wrong styles when using custom positioning
2012-11-29 00:58:28 +01:00
Felix Nagel
36533a718d
Merge branch 'master' into selectmenu
2012-11-28 23:29:15 +01:00
Scott González
dec844570f
Autocomplete: When appendTo is a jQuery object or a DOM element, don't search against the document. Fixes #8858 - Autocomplete: Fails when appendTo is detached from the DOM.
2012-11-28 10:33:59 -05:00
Scott González
f2854408cc
Tooltip: Escape the title attribute so that it's treated as text and not HTML. Fixes #8861 - Tooltip: XSS vulnerability in default content.
2012-11-27 11:21:33 -05:00
Viktor Kojouharov
c5e0961268
Effects: Use $ instead of jQuery in $.effects.animateClass. Fixes #8860 - Effects: Class animation has broken noConflict support.
2012-11-27 08:27:48 -05:00
Scott González
e6e706bbd6
Datepicker: Remove JSHint overrides.
2012-11-27 08:22:21 -05:00
Scott González
7c53af0abc
Datepicker: Remove support for setting options via custom attributes.
2012-11-26 22:50:36 -05:00
Fabrício Matté
caacf8f504
Button: Let change handler handle display and aria update. Fixed #5518 - Button: Incorrect state after double click in Firefox
2012-11-26 20:15:53 -05:00
David Petersen
6121683d80
Tabs: Calculate border and padding on tabs container. Fixed #8836 : Height overflows parent with heightStyle: 'fill'.
2012-11-26 16:35:07 -05:00
TJ VanToll
0cd470b0d5
Resizable: Modified the default z-index value of resizable handles. Fixed #7960 - Dialog: Modal dialogs do not disable resizables on the page.
2012-11-26 12:42:44 +01:00
Jörn Zaefferer
7e9060c109
Dialog: Extract setting the title into a _title method, use .text() to prevent XSS. Fixes #6016 - Dialog: Title XSS Vulnerability.
2012-11-26 10:28:25 +01:00
Jörn Zaefferer
60486ac632
Dialog: Don't focus dialog when mousedown is on close button. Fixes #8838 - Dialog: Close icon does not work in dialog larger than the window in IE.
2012-11-26 10:28:25 +01:00
Kris Borchers
d179cbaf32
Dialog: Update position when size is changed. Fixes #8789 - Dialog does not close for first click on chrome.
2012-11-26 10:28:25 +01:00
Jörn Zaefferer
ec1f1bde76
Dialog: Follow-up to c77ca67
- exclude button options from properties to create the button.
2012-11-26 10:28:25 +01:00
Jörn Zaefferer
a09f5c07f5
Dialog: Follow-up to 9fe3a62d8
- also deprecate string notation for position option.
2012-11-26 10:28:25 +01:00
Jörn Zaefferer
32a893128d
Dialog: Improve _destroy method, detaching dialog content from wrapper instead of appending to body.
2012-11-26 10:28:24 +01:00
Jörn Zaefferer
41c2afd66b
Dialog: Refactor overlay handling into two instance methods. Remove unaddressable TODOs.
2012-11-26 10:28:24 +01:00
Jörn Zaefferer
a0310eb091
Dialog: Move array notation support for position option to backCompat check. Fixes #8824 - Deprecate array notation for position option.
2012-11-26 10:28:24 +01:00
Jörn Zaefferer
0be97bf8c0
Dialog: Removed broken disabled option from dialog, defuse disable/enable methods. Disabling dialogs is not supported.
2012-11-26 10:28:24 +01:00
Jörn Zaefferer
b27db7e3b9
Dialog: Extend autofocus, starting with [autofocus], then :tabbable content, then buttonpane, then close button, then dialog. Fixes #4731 - Dialog: Add option to set which element gains focus on open
2012-11-26 10:28:24 +01:00
Jörn Zaefferer
999617343f
Dialog: Pass through icons and showText (as 'text') options to button. Fixes #6830 - Allow Icons to be specified for Dialog buttons.
2012-11-26 10:28:23 +01:00
Jörn Zaefferer
d8b98ec3bb
Dialog: Tiny code improvements
2012-11-26 10:28:23 +01:00
Jörn Zaefferer
e3dcaf28eb
Dialog: Remove uuid and getTitleId. Leftovers from 240b22b143
.
2012-11-26 10:28:23 +01:00
Jörn Zaefferer
0bc73b74b6
Dialog: Remove busted ui-dialog-disabled class, shouldn't be there. Removed outdated TODOs.
2012-11-26 10:28:23 +01:00
Jörn Zaefferer
972f5c192c
Dialog: Button is now a fixed dependency, so remove the check
2012-11-26 10:28:23 +01:00
Jörn Zaefferer
0ae6fc1e02
Dialog: Remove useless tmp vars.
2012-11-26 10:28:23 +01:00
Jörn Zaefferer
625a111fb9
Dialog: Extracting wrapper creation into _createWrapper. Merging the two keydown handlers into one.
2012-11-26 10:28:23 +01:00
Jörn Zaefferer
4c9caa8169
Dialog: Extract button pane creation into _createButtonPane
2012-11-26 10:28:22 +01:00
Jörn Zaefferer
1d6ce644e0
Dialog: Refactor _create, extracting title bar creation in _createTitlebar
2012-11-26 10:28:22 +01:00
Jörn Zaefferer
f0acaac230
Dialog: Refactor uiDialogTitlebar variable, use this.uiDialogTitlebar instead. Wasn't needed anymore (previous refactorings).
2012-11-26 10:28:22 +01:00
Jörn Zaefferer
7a0353500a
Dialog: Refactor the mousedown-bind call to use _on, removing the need for the uiDialog closure. Use this.uiDialog and remove the variable.
2012-11-26 10:28:22 +01:00
Jörn Zaefferer
1001504249
Dialog: Remove outdated TODO
2012-11-26 10:28:22 +01:00
Jörn Zaefferer
c8aef203cb
Dialog: Have _makeResizable look at options instead of passing handles.
2012-11-26 10:28:22 +01:00
Jörn Zaefferer
16a79c1b9c
Dialog: Finish refactoring _setOption, getting rid of unnecessary switch (no fallthroughs).
2012-11-26 10:28:22 +01:00
Jörn Zaefferer
7e964be80c
Dialog: Have _createButtons access the buttons option directly. Start refactoring _setOption, no need for switch.
2012-11-26 10:28:22 +01:00
Jörn Zaefferer
fed2972027
Dialog: Refactor _setOption to call _super early. Move dialogClass update above that to access old option value.
2012-11-26 10:28:22 +01:00
Jörn Zaefferer
83a9f219bf
Dialog: Use button widget for close button (was already listed as dependency)
2012-11-26 10:28:21 +01:00
Jörn Zaefferer
0848040d3e
Dialog: Focus tabbable only when dialog lost focus before.
2012-11-26 10:26:12 +01:00
Jörn Zaefferer
6edce86733
Dialog: Remove attroperty workaround for title attribute. Make the default null, as it should be. No back-compat, as the behaviour doesn't change.
2012-11-26 10:26:12 +01:00
Jörn Zaefferer
f7d3a51589
Dialog: Only add the new dialogClass, not the base classes when changing the option.
2012-11-26 10:26:12 +01:00
Jörn Zaefferer
324d54dd32
Dialog: Use $.isEmptyObject() to check if there a button-option properties
2012-11-26 10:26:12 +01:00
Jörn Zaefferer
4e03321fd7
Dialog: Trigger focus event when dialog is moved to top.
2012-11-26 10:26:12 +01:00
Jörn Zaefferer
b6cefc797e
Dialog: Remove deprecated disableSelection() usage.
2012-11-26 10:26:11 +01:00
Jörn Zaefferer
4632780435
Dialog: Fix yoda-if, remove unnecessary TODOs; add missing callbacks to commons test
2012-11-26 10:26:11 +01:00
Jörn Zaefferer
2062a18db6
Dialog: Inline code review
2012-11-26 10:26:11 +01:00
Jörn Zaefferer
0a25b2c448
Dialog: move to top when opening again, and focus as if opened from scratch.
2012-11-26 10:26:11 +01:00
Jörn Zaefferer
8ee8046c02
Dialog: Keep focus inside modal dialog, by handling focus events on elements outside of it
2012-11-26 10:26:11 +01:00
Jörn Zaefferer
2a887e4321
Dialog: Improve accessibilty - add an aria-describedby attribute on the dialog if there is nothing yet in the dialog content. Partial fix for:
2012-11-26 10:26:11 +01:00
Corey Frang
d7adc2bae9
Effects Core: Upgrading jQuery Color to 2.1.1
2012-11-23 11:18:07 -06:00
Felix Nagel
4e68c526ab
Selectmenu: removed Position Plugin offset option to fix broken pop-up functionality
2012-11-23 15:38:33 +01:00
Felix Nagel
e25cdd88e7
Merge branch 'master' into selectmenu
2012-11-23 13:49:12 +01:00
Corey Frang
a217bd3b16
Effects: Making sure outerHeight and outerWidth make it through to the .size() implementation in all cases - Fixes IE8 effects failure
2012-11-22 04:12:30 -06:00
kborchers
d3bc471688
Progressbar: Add ability to set value: false for an indeterminate progressbar. Fixes #7624 - Progressbar: Support value: false for indeterminate progressbar
2012-11-21 21:48:17 -06:00
Mike Sherov
509259a66e
Button: add explanatory comment for when we bind to blur
2012-11-21 19:58:59 -05:00
TJ VanToll
93abe02b60
Button: Fixing handling of the disabled options on refresh method calls. Fixed #8828 - Button: Refresh does not re-enable disabled button.
2012-11-21 19:24:24 -05:00
Samuel Bovée
cb748b4a6f
Slider: factorize code with Widget method call. Fixed #8772 - Wrong slider UI state when disabled at init
2012-11-21 19:18:00 -05:00
Mike Sherov
f13b5dfa7f
Button: add blur event to buttons. Fixes #8559 - Button: Button doesn't remove active state when using keyboard.
2012-11-21 19:14:04 -05:00
Scott González
d5afdba4cb
Autocomplete: Whitespace.
2012-11-19 17:08:41 -05:00
Roman Salnikov
7ffcaa2e3b
Datepicker: reinitialize datepicker if mainDiv isn't on the page. Fixed #5679 - Datepicker should reinitialize if dpDiv is removed
2012-11-19 09:15:10 -05:00
mathias.stenbom
cf9fbce139
Draggable: made handles work with complex markup. Fixes #8757 - Draggable: Resizable handle with inner element does not work, when its also draggable
2012-11-19 09:06:50 -05:00
Mike Sherov
cc7df712cc
Button: properly escape button names. Fixes #7505 - Button: Buttonset not applied to radio group with quotation/apostrophe in name.
2012-11-19 08:37:41 -05:00
Mike Sherov
4334b5d4f1
Dev: make Datepicker pass JSHint with only eval setting overridden
2012-11-18 15:01:30 -05:00
Mike Sherov
53c462b666
Dev: make draggable pass JSHint with no local overrides
2012-11-18 11:44:12 -05:00
Mike Sherov
0e800636c4
Dev: Make droppable pass JSHint with no local settings overrides
2012-11-17 14:51:56 -05:00
Mike Sherov
5bae9a4763
Dev: Make sortable pass JSHint with only the loopfunc setting override
2012-11-17 14:24:44 -05:00
Mike Sherov
a1b32b59d5
Resizable: use css() instead of position() for absolute placement. Fixes #3815 - Resizable: absolutely positioned element inside scrollable element is repositioned when resized
2012-11-17 01:29:39 -05:00
Mike Sherov
9eaa572de1
Dev: Make resizable pass JSHint without any settings overrides
2012-11-17 00:08:01 -05:00
Scott González
3541c54082
Tabs: Removed some legacy code that isn't doing anything.
2012-11-16 16:57:36 -05:00
Scott González
23f7e30c77
Tabs: Remove ui-tabs-aria-controls data on destroy.
2012-11-16 16:10:22 -05:00
Juan Pablo Kaniefsky
a18863205e
Slider: when handles overlap, clicking and dragging will now pick the last one that was moved. Fixed #3467 - Sliders Handles can overlap, only small sliver of slider is selectable
2012-11-16 09:32:56 -05:00
Jörn Zaefferer
f86168bf6b
Merge branch 'master' into selectmenu
2012-11-15 17:14:19 +01:00
Scott González
3d96f20506
Datepicker: Fixed firstDay in Faroese locale. Fixes #8815 - Datepicker: Faroese locale has incorrect firstDay.
2012-11-14 15:06:37 -05:00
Scott González
ca0df6b900
Tooltip: Removed logic for handling tracking tooltips which gain focus while open (we no longer mix events). Fixes #8799 - Tooltip: tracking fails on nested elements.
2012-11-14 14:42:36 -05:00
Scott González
1b503a237e
Tooltip: Handle synthetic focusin events. Fixes #8740 - Tooltip: Does not hide consistently with dynamically loaded content.
2012-11-14 14:14:45 -05:00
Jay Merrifield
eca5abd873
Datepicker: Updated the range tests so you can't navigate past the yearRange. Fixes #7362 - Datepicker allows changing year to something outside yearRange
2012-11-13 21:08:55 -05:00
Scott González
2553d61384
Accordion: Use .css() to clear the height, instead of .height().
2012-11-13 19:02:02 -05:00
Ethan Romba
3974b55ba5
Resizable: Update CSS dimensions selectively. Fixes #7605 - Setting width and height when only one is changing
...
Resizable: Trigger resize event only when element is resized. Fixes #5545 - Callbacks ignore the grid.
Resizable: Added event tests. Fixes #5817 - resize event reports unconstrained ui.size
2012-11-12 21:41:22 -05:00
Felix Nagel
daec559c98
Merge branch 'master' into selectmenu
2012-11-12 23:28:24 +01:00
Felix Nagel
12fe28fefd
Selectmenu: cleanup, CGL and lint fix
2012-11-12 23:06:05 +01:00
David Petersen
d657538ed5
Accordion: Enhance refresh to allow adding/removing panels. Fixes #4672 - Accordion: ability to add/remove panels
2012-11-11 21:38:21 -05:00
Cory Gackenheimer
8e1ceba717
Button: use _hoverable for hover state management. Fixes #5295 - button doesn't remove hover state if they are disabled
2012-11-11 21:17:05 -05:00
Kris Borchers
11687e44dc
Progressbar: Do not duplicate base _setOptions method
2012-11-11 16:52:23 +09:00
Felix Nagel
7ce8e0515e
Merge branch 'master' into selectmenu
2012-11-10 01:40:05 +01:00
Felix Nagel
a9a6e3beaf
Selectmenu: proposed fix for menu delay issue
2012-11-10 01:25:30 +01:00
Felix Nagel
7725e4adba
Selectmenu: focus selected item when menu opens
2012-11-10 01:18:49 +01:00
Mike Sherov
d6c6b7dc33
Dev: make sure all files can pass JSHint!
2012-11-09 17:30:43 -05:00
Scott González
9e858ba14a
Widget: Only use the event prefix from the base if we're redefining a widget. Fixes #8805 - Widget: widgetEventPrefix is incorrect when inheriting with jQuery UI 1.9.1.
2012-11-09 16:49:03 -05:00
Mike Sherov
254f2b3698
Dev: fix the datepicker test suite and jshint everything. Fixes #8804 - Dev: re-enable the datepicker test suite
2012-11-09 16:27:45 -05:00
Scott González
fd48568c40
Tabs: Show panels on destroy. Fixes #8795 - Tabs: 'display: none;' attribute is not removed from tabs when destroy is called.
2012-11-09 14:52:57 -05:00
Scott González
dbaecf0ede
Effects: Cleaned up getElementStyles().
2012-11-09 14:47:20 -05:00
Scott González
f5870712c1
Updated all widgets to use proper data keys when getting plugin instances.
2012-11-09 13:28:13 -05:00
Scott González
498aadf644
Tooltip: Ignore disabled checks when closing. Fixes #8758 - Tooltip: Tooltip is shown, but not hidden if element has class=ui-state-disabled.
2012-11-09 13:07:53 -05:00
Scott González
1cdeeccab0
Widget: Suppress disabled check when binding destroy to the remove event. Fixes #8769 - Widget: ui-state-disabled blocks destroy to be triggered on remove.
2012-11-09 12:54:33 -05:00
Scott González
d44557f50a
Widget: Removed dual storage of widget instances. Fixes #8801 - Widget: Remove data fallbacks for widget names.
2012-11-09 12:51:26 -05:00
Scott González
84cd214486
Widget: Added suppressDisabledCheck flag to _on(). Fixes #8800 - Widget: Ability to use _on() even when disabled.
2012-11-09 12:39:41 -05:00
Ethan Romba
6e0a0553ce
Resizable: Grid now respects min/max dimensions. Fixed #8435 - grid does not respect min/max dimensions
2012-11-09 09:48:50 -05:00
Kris Borchers
8976bc7e3d
Progressbar: Refactor to better handle option changes and sanitize values. Fixes #8785 - Progressbar: Remove _value() and always sanitize value option
2012-11-08 12:02:25 -06:00
Sergey Kartashov
1e19e5e90b
Datepicker: Added Kyrgyz localization. Fixes #8787 - Datepicker: Add Kyrgyz localization.
2012-11-07 14:26:47 -05:00
Avinash R
75bd22eb73
Widget: Bridge falls back to name if there is no widgetFullName, and always stores instances in data. Fixed #8775 - Widget: Bridge fails if widgetFullName is not supplied.
2012-11-07 10:05:00 -05:00
Scott González
979bcab513
Revert "Datepicker: Added Kyrgyz localisation"
...
This reverts commit 4995ea05fe
.
2012-11-06 15:09:21 -05:00
elisy
4995ea05fe
Datepicker: Added Kyrgyz localisation
2012-11-06 12:48:19 -05:00
Scott González
c6b52db892
Tabs: Encode spaces from window.location. Fixes #8777 - Tabs fail in Safari 5.1 when window.location contains a space.
2012-11-06 08:01:11 -05:00
Scott González
886d6fe9fb
Core: Patch over broken .removeData() in jQuery 1.6.1 + 1.6.2.
2012-11-05 15:38:31 -05:00
Scott González
8a32c39136
Core: Moved old jQuery support code to the bottom (above deprecated).
2012-11-05 15:24:45 -05:00
Scott González
02694a90f3
Tooltip: Use ui-tooltip-open instead of tooltip-open for data key.
2012-11-05 15:03:15 -05:00
Mathias Stenbom
0bff32a2b1
Resizable: Made handles work with complex markup. Fixes #8756 - Resizable: Complex markup for handles.
2012-11-05 13:16:48 -05:00
Jörn Zaefferer
1d9eab1ead
Tooltip: Make 'flipfit flip' the collision default to avoid the tooltip ever overlapping the trigger. Also fix max-width for custom-content demo. Fixes #8739 - Tooltip: Default positioning on large items off.
2012-11-05 19:05:58 +01:00
Jörn Zaefferer
98173a3d0e
Tooltip: Check type on event directly, preventing TypeError when programmatically moving focus to track-toolipped-input. Fixes #8747 - Tooltip: Using the track option within dialogs creates JS errors
2012-11-05 18:59:52 +01:00
Jörn Zaefferer
8b3e570241
Menu: Look into submenus for uninitialized menu items. Fixes #8773 - Menu: refresh() doesn't refresh existing submenus.
2012-11-05 18:42:41 +01:00
Scott González
c677275821
Core: Simplify IE check now that we don't care about IE6.
2012-11-05 11:28:04 -05:00
Scott González
a8de99c791
Dialog: Don't use .attr( props, true ).
2012-11-05 09:37:19 -05:00
Mike Sherov
68ad80c292
Dev: Standardize sortable test suite. Fixed #8755 - Dev: Get sortable test suite to pass
2012-11-01 20:54:52 -04:00
Mike Sherov
d85b0160f2
Dev: Standardized the resizable test suite. Fixed #8754 - Dev: Get resizable test suite to pass
2012-10-31 09:50:36 -04:00
Mike Sherov
8746042ae1
Dev: Standardized the droppable test suite. Fixed #8753 - Dev: Get droppable test suite to pass
2012-10-30 22:24:41 -04:00
Mike Sherov
b49e071d39
Dev: Standardized the selectable test suite. Fixed #8752 - Dev: Get selectable test suite to pass
2012-10-30 22:19:55 -04:00
Mike Sherov
f0daa220d6
Dev: Standardized the draggable test suite. Fixed #8748 - Dev: Get draggable test suite to pass
2012-10-30 22:13:43 -04:00
Corey Frang
a688e7c8d4
Mixed spaces and tabs removed
2012-10-29 13:37:06 -05:00
Scott González
d074efe528
Tooltip: Use attributes, not properties, when checking for parent tooltips. Fixes #8742 - Tooltip shows incorrect message in chrome if there is input with name='title' in a form.
2012-10-28 20:28:55 -04:00
Felix Nagel
684b55bcbc
Selectmenu: Do not remove ui-state-focus class on first button focus (follow-up)
2012-10-27 20:49:35 +02:00
Scott González
995eb1261e
Core: Removed $.ui.ie6.
2012-10-26 16:08:05 -04:00
Scott González
5bd19650a3
Datepicker: Removed iframe cover for IE6.
2012-10-26 15:59:29 -04:00
Scott González
d73edfff76
Resizable: Removed pixel shifting for IE6.
2012-10-26 15:48:37 -04:00
Scott González
0c672543bf
Core: Removed $.support.minHeight.
2012-10-26 15:45:34 -04:00
Scott González
5bd4b11d9b
Dialog: Removed minHeight workaround for IE6.
2012-10-26 14:36:35 -04:00
Scott González
da1255a392
Tabs: Removed overflow workaround for IE6.
2012-10-26 14:34:03 -04:00
Scott González
17227498f4
Accordion: Removed overflow workaround for IE6.
2012-10-26 14:32:28 -04:00
Felix Nagel
b6e1c86864
Selectmenu: Do not remove ui-state-focus class on first button focus
2012-10-26 19:29:30 +02:00
Scott González
68cab60fa7
Removed bgiframe.
2012-10-26 10:53:17 -04:00
Felix Nagel
228a9b91fb
Selectmenu: follow-up for menu, reset aria-activedescendant to selected item when menu is closed
2012-10-26 00:41:17 +02:00
Felix Nagel
a59b3c7585
Selectmenu: reset aria-activedescendant to selected item when menu is closed
2012-10-26 00:33:20 +02:00
Felix Nagel
7c1a9d9a36
Selectmenu: hopefully fixed multiple a11y bugs (value is recognized by screenreader: in collapsed state, when selecting a value, on tab focus; label points to button now)
2012-10-25 23:57:36 +02:00
Felix Nagel
b2d50f9ffc
Selectmenu: fixed aria-activedescendant for button element
2012-10-25 22:24:37 +02:00
Felix Nagel
9cf0f21efd
Selectmenu: add removeUniqueId to destroy method
2012-10-25 20:55:48 +02:00
Felix Nagel
b8cce0c3e1
Selectmenu: small improvement for label id setting
2012-10-25 20:54:27 +02:00
Jörn Zaefferer
b8e0de2444
Effects: Remove deprecated $.effects[]. Fixes #7115 - Effects: Remove support for effects in $.effects[].
2012-10-25 09:29:11 -04:00
Scott González
7678b90ae8
Widget: Removed use of metadata. Fixes #7192 - Widget: Remove use of metadata.
2012-10-25 06:52:29 -04:00
Scott González
cb030cbc1b
Widget: Removed widgetBaseClass property. Fixes #8155 - Widget: Remove widgetBaseClass property.
2012-10-25 06:50:08 -04:00
Scott González
9202bb7df5
Autocomplete: Removed data fallback for item.autocomplete. Fixes #8156 - Autocomplete: Remove data fallbacks.
2012-10-25 06:47:19 -04:00
Scott González
2582bfab46
Position: Removed offset option. Fixes #6982 - Position: Remove offset option.
2012-10-25 06:39:14 -04:00
Scott González
bc44e61dd9
Accordion: Removed change and changestart events. Fixes #6841 - Accordion: Remove changestart event. Fixes #6843 - Accordion: Remove change event.
2012-10-25 06:19:25 -04:00
Scott González
8d35c03dfd
Accordion: Removed animated option. Fixes #8601 - Accordion: Remove animated option.
2012-10-25 06:15:30 -04:00
Scott González
054b208a99
Tabs: Removed all templating features. Fixes #7158 - Tabs: Remove add and remove methods. Fixes #7157 - Tabs: Remove templating (idPrefix, tabTemplate, panelTemplate options). Fixes #7149 - Tabs: Remove use of title attribute.
2012-10-25 06:10:00 -04:00
Scott González
3d6c2a66d4
Tabs: Removed back-compat for load event. Fixes #8731 - Tabs: Remove back-compat for load event.
2012-10-25 05:59:20 -04:00
Scott González
828b3c420c
Tabs: Removed abort method. Fixes #7150 - Tabs: Remove abort method.
2012-10-25 05:48:51 -04:00
Scott González
6a00d418bc
Tabs: Removed spinner option. Fixes #7151 - Tabs: Remove spinner option.
2012-10-25 05:47:51 -04:00
Scott González
a9053d9300
Tabs: Removed selected option. Fixes #7152 - Tabs: Remove selected option.
2012-10-25 05:46:54 -04:00
Scott González
fb525e1cb1
Tabs: Removed select event. Fixes #7154 - Tabs: Remove select event.
2012-10-25 05:45:18 -04:00
Scott González
a1fd49fb29
Tabs: Removed show event. Fixes #7155 - Tabs: Remove show event.
2012-10-25 05:44:22 -04:00
Scott González
7cf2719d0c
Tabs: Removed select method. Fixes #7156 - Tabs: Remove select method.
2012-10-25 05:41:14 -04:00
Scott González
0fc682a8da
Tabs: Removed enable and disable events. Fixes #7160 - Tabs: Remove enable and disable events.
2012-10-25 05:39:15 -04:00
Scott González
1a7958a430
Tabs: Removed length method. Fixes #7161 - Tabs: Remove length method.
2012-10-25 05:37:37 -04:00
Scott González
0429532ad1
Tabs: Removed cookie option. Fixes #7162 - Tabs: Remove cookie option.
2012-10-25 05:36:24 -04:00
Scott González
723d3e0040
Tabs: Removed fx option. Fixes #8320 - Tabs: Remove fx option.
2012-10-25 05:32:02 -04:00
Scott González
acdd1917b2
Tabs: Removed url method. Fixes #7148 - Tabs: Remove url method.
2012-10-25 05:28:54 -04:00
Scott González
52a184e31c
Tabs: Removed ajaxOptions and cache options. Fixes #7147 - Tabs: Remove ajaxOptions and cache options.
2012-10-25 05:27:33 -04:00
Jörn Zaefferer
974e5f8196
Accordion: Removed deprecated resize method. Fixes #6839 - Accordion: Remove resize method.
2012-10-24 17:44:06 -04:00
Jörn Zaefferer
d67bc412a8
Accordion: Removed deprecated activate method and expanded active option. Fixes #6837 - Accordion: Remove the activate method. Fixes #6853 - Accordion: Remove support for non-number/falsey values for active option.
2012-10-24 17:44:06 -04:00
Jörn Zaefferer
fd952c5a79
Accordion: Removed deprecated icon option. Fixes #6835 - Accordion: Remove icons.headerSelected.
2012-10-24 17:44:06 -04:00
Jörn Zaefferer
09eed560f8
Accordion: Removed deprecated navigation options. Fixes #5870 - Accordion: Remove navigation options.
2012-10-24 17:44:06 -04:00
Jörn Zaefferer
0cdd5591be
Accordion: Remove deprecated height options. Fixes #5868 - Accordion: Remove clearStyle option. Fixes #5872 - Accordion: Remove autoHeight and fillSpace options.
2012-10-24 17:44:06 -04:00
Jörn Zaefferer
d07074dc3c
Dialog: Use _show and _hide consistently. Fixes #4892 - Dialog: zIndex error with animated modal dialog.
2012-10-24 17:03:00 -04:00
Jörn Zaefferer
513b6da641
Dialog: Keep focus inside dialog, even when dialog itself has focus.
2012-10-24 17:03:00 -04:00
David Souther
3a09a4a0de
Dialog: Prevent tabbing off any dialog. Fixes #3768 - Dialog: contain focus within dialog.
2012-10-24 17:03:00 -04:00
Jörn Zaefferer
14691ae6fe
Dialog: Save the active element that opened the dialog and restore focus to that. Fixes #8730 - Dialog: Restore focus to opener.
2012-10-24 17:02:32 -04:00
Jörn Zaefferer
2a2a2c017c
Dialog: Prevent dialog form losing focus (or move it back in IE <= 8).
2012-10-24 16:57:13 -04:00
Nate Eagle
3829a37ca1
Dialog: Awesome new stacking and overlay implementation. Fixes the following tickets:
...
Fixes #3534 - Dialog: Modal dialog disables all input elements on page.
Fixes #4671 - Dialog: Modal Dialog disables vertical scroll bar in Chrome & Safari.
Fixes #4995 - Dialog: Modal Dialog's overlay dissapears in IE when content is tall.
Fixes #5388 - Dialog: Don't change z-index when already at the top.
Fixes #5466 - Dialog: "modal" Dialog Incorrectly Cancels Input Events.
Fixes #5762 - Dialog: Get rid of z-index workaround, document it instead.
Fixes #6267 - Dialog: checkboxes that inherit a z-index < jqueryui.dialog z-index don't work.
Fixes #7051 - Dialog: modal prevents tab key from moving focus off slider handle.
Fixes #7107 - Dialog: Modal dialog event loss with high zindex child elements (FF 3.6).
Fixes #7120 - Dialog: Modal operation interrupts drag drop marker functionality on gmaps.
Fixes #8172 - Dialog: Change event cancelled when opening modal dialog from another modal dialog.
Fixes #8583 - Dialog: Mouse event wrongly stopped.
Fixes #8722 - Dialog: Remove stack option.
Fixes #8729 - Dialog: Remove zIndex option.
2012-10-24 16:56:19 -04:00
Scott González
eaadcc0eeb
Widget: Bind the remove event to the element, not the .widget() element.
2012-10-24 12:00:03 -04:00
Kato Kazuyoshi
5f9d5c54c3
Effects (size): Adjusting behavior of toggled size effects - See gh-203 - Partial Fix for #7041
2012-10-24 10:27:12 -05:00
Jörn Zaefferer
721a4b4ae0
Widget: Fix _on to use element argument for delegated events. Fixes #8658 - Widget: this._on delegates using instance.widget() instead of passed element
2012-10-24 10:42:21 -04:00
Scott González
848ab48583
Widget: Use existing widgetEventPrefix when extending. Fixes #8724 - widgetEventPrefix is lost when extending existing widget.
2012-10-24 10:13:51 -04:00
Jörn Zaefferer
ba752cf7ed
Tooltip: Run _disable when disabled option is set on create. Fixes #8712 - Tooltip: Disabled tooltips on initialization.
2012-10-24 10:02:21 -04:00
Scott González
86a958d3aa
Core: Update :focsable and :tabbable to handle parents with no height/width, but visible overflow. Fixes #8643 - :focusable pseudo-selector does not find elements if parent has 0x0 dimension.
2012-10-23 15:12:54 -04:00
Scott González
11effcbd35
Dialog: Don't use deprecated offset option for .position(). Fixes #8675 - Dialog: Position with pixels in array doesn't work with back compat disabled.
2012-10-23 14:50:02 -04:00
Maciej Mroziński
f4b3cd5271
Accordion: Remove code that sets accordion height. Fixed #8696 - Multiple collapsible Accordions won't work together.
2012-10-23 14:11:22 -04:00
Marc-Andre Lafortune
8bb05d23e2
Widget: Destroy only when element is the actual target. Fixes #8652 - Widget: Destroy only when element is the actual target.
2012-10-23 14:06:30 -04:00
Scott González
5e0a2ca1e5
Widget: Fixed $.widget.extend() to never copy objects by reference.
2012-10-23 11:45:16 -04:00
Mike Sherov
e1230997aa
Build: Enable "unused" option in jshint - Remove unused variables from codebase. - Closes gh-788
...
Squashed commit of the following:
commit 7f19f92c64
Author: Mike Sherov <mike.sherov@gmail.com>
Date: Tue Oct 23 10:34:28 2012 -0400
put back in fake args for signatures that we want to keep
commit 257505a9e6
Author: Mike Sherov <mike.sherov@gmail.com>
Date: Tue Oct 23 08:10:20 2012 -0400
changes per @scott_gonzalez
commit 12725480cb
Author: Mike Sherov <mike.sherov@gmail.com>
Date: Mon Oct 22 22:54:05 2012 -0400
clean up unused vars in ui directory
commit 563595e7ae
Author: Mike Sherov <mike.sherov@gmail.com>
Date: Mon Oct 22 22:37:42 2012 -0400
clean up unused vars in grunt and tests
2012-10-23 09:37:46 -05:00
Scott González
7af1ec727b
Tooltip: Position below the element and set a max width of 300px to more closely match native tooltip behavior. Fixes #8718 - tooltip flickers when too long.
2012-10-23 10:15:28 -04:00
Mike Sherov
d67522e329
Build: Upgrade to the latest Grunt and JSHint - Closes gh-786
2012-10-22 17:04:08 -05:00
Scott González
9b908878ae
Widget: $.widget.extend(): Properly handle extending a string with an object. Fixes #8713 - Passing an object as ui.resizable handles parameter does not work.
2012-10-22 15:36:11 -04:00
Trey Hunner
49f9b849b9
Remove trailing whitespace and add final newlines
2012-10-21 22:45:41 -04:00
Scott González
eb4178f819
Fixed some jshint errors.
2012-10-21 18:23:32 -04:00
Corey Frang
8b76684a92
Effects: Allow 'null' for options - Fixes #8670 - null reference when using effects - Closes gh-783
2012-10-21 16:46:57 -05:00
Scott González
eb392b3035
Accordion: Fix back-compat for active option.
2012-10-21 15:54:19 -04:00
Andrew Couch
0b3e59f149
Tooltip: Do not attempt to position if tooltip is hidden. Fixed #8644 - Delayed tooltips set to track should reposition when being shown for the first time.
2012-10-21 13:15:59 -04:00
Andrew Couch
3b2d1e7736
Tooltip: handle removal of elements with delegated tooltips. Fixed #8646 - Delegated tooltips don't close when the tooltipped element is removed
2012-10-21 13:15:44 -04:00
Jörn Zaefferer
6b48ef5eca
Tooltip: Only bind blur when opening via focus, mouseleave for mouseover. Remove the keep-open-on-focusout workaround. Now matching behaviour described in ARIA Authoring Practices. Fixes #8699 - Moving focus on click of a tooltipped element shows native tooltip in IE/Firefox on Windows
2012-10-21 12:50:12 -04:00
Jörn Zaefferer
77a55f1291
Tooltip: Fix nested tooltips (on hover) by closing parent tooltips and removing title attributes. Fixes #8700 - Overlapping tooltipped elements shows native tooltip for one of the elements
2012-10-21 12:49:32 -04:00
Jörn Zaefferer
9d5f91ece2
Tooltip: Comment why we need to use closest
2012-10-19 20:57:13 -04:00
Jörn Zaefferer
99aa0ff8d1
Selectmenu: Fix data naming, should be [namespace]-[widgetname]-[value]
2012-10-19 18:22:12 -04:00
Andrew Couch
5bd5ef15f9
Effect: fix typo in comment ft "optinos" => "options"
2012-10-18 10:56:44 -04:00
David Petersen
c2802d7aa0
Accordion: handle active: null. Fixes #8694 : 1.9 Accordion - active: null allows panels to be collapsible.
2012-10-18 00:08:37 -04:00
David Petersen
35dc9307fc
Dialog: Use _hide() to make sure close event gets triggered. Fixes #8684 - jQuery dialog with hide options does not trigger close event.
2012-10-17 20:28:27 -04:00
David Petersen
dda1925d0f
Slider: Count the handles after setting up a range. Fixes #7922 - Slider with range doesn't work if values are not set.
2012-10-17 20:08:50 -04:00
David Petersen
f37008eeb1
Slider: Update UI when min or max option changes. Fixes #7477 - Setting min/max options does not update view.
2012-10-16 23:15:10 -04:00
TJ VanToll
5e24a1ce4b
Button: Check for ui-state-disabled during refresh. Fixes #8237 - Button: Anchor tags cannot be disabled within buttonset.
2012-10-16 23:09:26 -04:00
David Petersen
8ce35198da
Tabs: Remove anchor clone in isLocal. Fixed #8653 - Tabs are not working inside iframe in IE6/7.
2012-10-16 22:58:42 -04:00
Robert Beuligmann
8e1e956248
Selectmenu: corrections based on code review.
2012-10-16 10:57:49 -05:00
Dale Kocian
1a69667887
Dialog: Added mousedown event handler on dialog title to focus. Fixed #8063 - Dialog: Escape closes incorrect dialog.
2012-10-16 09:17:21 -04:00
Robert Beuligmann
20d19dbbf1
Selectmenu: ARIA tweaks for keyboard events and closed menu operation
2012-10-15 16:58:31 -05:00
Jörn Zaefferer
112185ec8d
Spinner: Remove ui-state- classes from spinner, along with the background:none TR override. Fixes #8654 - Spinner background-color
2012-10-14 16:46:38 -04:00
Scott González
025266e002
Resizable: Use .insertAfter() instead of .after() to avoid recursively destroying. Fixes #8662 - Infinite loop - new to jQuery UI 1.9.0.
2012-10-13 14:50:51 -04:00
Scott González
bd3a348776
Tooltip: Change the default items selector to exclude disabled elements. Fixes #8661 - Tooltip doesn't hide on disabled anchor element [IE only].
2012-10-12 20:26:47 -04:00
Felix Nagel
c59fbbaad7
Merge branch 'master' into selectmenu
2012-10-12 22:56:45 +02:00
Scott González
94221c4e5b
Tabs: Use aria-controls instead of the anchor's href to match against location.hash. Fixes #8660 - Tabs: Set initial active tab from location hash for ajax tabs.
2012-10-12 11:07:04 -04:00
John Chen
bae06d2b1e
Sortable: Calculating item distance and direction using a more robust algorithm to better support sorting among nested sortables. Fixes #8572 - Wrong placeholder positions. Fixes #8573 - Can't drag an item out of an inner sortable. Fixes #8574 - Hard to put an item between two inner sortables.
...
Use the item which has the least distance between the mouse
pointer and one of its borders to rearrange, with direction being
determined by the nearest border.
Also we use this algorithm to rearrange even when currentContainer
is not changed to override the defective rearrangment in
_mouseDrag
2012-10-10 14:56:03 -04:00
John Chen
20e6064711
Draggable: Fix a bug when dragging into nested sortables there are duplicated placeholders. Fixes #7777 - Draggable and Nested Sortables bug.
2012-10-10 14:46:52 -04:00
John Chen
77a4aaf47a
Sortable: Fix a bug of removing an item while iterating an array. Fixes #8571 - Out of range problem in when dragging a nested sortable.
2012-10-10 14:39:38 -04:00