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
jzaefferer
9ac357813f
Menu: Fixes for destroy method completeness
2010-06-18 11:16:10 +02:00
jzaefferer
b376fa8dda
Menu: Implemented destroy method and disabled option, modified test to pass html-compare-destroy test and extended default visual test for testing destroy and disabled features
2010-06-18 10:57:20 +02:00
Alberto Fernández Capel
eb13c01722
Changed comparison to highlight selected date, fixes #5676 (DatePicker Dialog defaultDate incorrect behaviour)
2010-06-14 16:46:04 +08:00
Kevin Dalman
aa416fcfd9
Resizable: Add missing var declaration to new _reset function/subroutine.
2010-06-10 09:33:01 +08:00
ALLPRO
a78d5ee4c8
Resizable: Patched the alsoResize plugin to fix 2 critical bugs. Fixes #5694 - Invalid reference in UI Resizable hack for Opera. Fixes #5662/5695/3842 - When resizing from top or left edge, Dialog adds top/left CSS values to content element. Enhances Dialog - Allows dialog-content to have position:relative to 'contain' floated and positioned elements. Bug Demo for #5662 - http://layout.jquery-dev.net/samples/ui_dialog_bug.html
2010-06-10 09:33:00 +08:00
Richard D. Worth
a90e195489
Selectable: moved position absolute and z-index to css. Fixed #4475 - Selectable helper has z-index hard coded
2010-05-26 18:42:24 -04:00
Richard D. Worth
202ddd0c58
Button: Removed ui-button-text-icon class. Added ui-button-text-icon-primary and ui-button-text-icon-secondary classes. Fixed #5382 - Button: specifying only a secondary icon for the button widget locates the icon on the left
2010-05-26 15:08:37 -04:00
Scott González
afaa03575f
Core: Better detection of when core is loaded twice. Fixes #5636 - Load ui.position before ui.core couse ui.core not execute.
2010-05-19 20:33:23 -04:00