Jörn Zaefferer
65d8fa2b0c
autocomplete: pass through mouse and key events to menu methods in order to differentiate between key and mouse events in autocomplete
2010-03-20 14:57:06 +00:00
Richard Worth
796177c610
eol-style and mime-type
2010-03-17 23:50:13 +00:00
Richard Worth
f2438fe7eb
fixed #5368 - Autocomplete: aria role for menu should be listbox instead of menu
2010-03-17 23:22:02 +00:00
Richard Worth
0604e11052
Slider: fixed change event to be triggered by keyup and value and values option setters. Fixes #5367 - slider change event not triggered by keypress
2010-03-17 17:39:29 +00:00
Richard Worth
92fe5e9225
Fixed #5362 - Buttonset class should be ui-buttonset because buttonset is one word
2010-03-17 13:16:40 +00:00
Richard Worth
2a8271c701
Button: Added refresh method to buttonset, futher fixes #5278 - ui.buttons doesn't visually reset on form "reset" event or input "change" event
2010-03-17 13:07:46 +00:00
Richard Worth
124f84635f
Buttonset - remove corner classes from button widgets instead of button elements on destroy. Fixes #5361 - buttonset method destroy doesn't remove corner classes from label elements
2010-03-17 13:03:23 +00:00
Richard Worth
08a750a58f
button: whitespace and quotes. See http://docs.jquery.com/JQuery_Core_Style_Guidelines
2010-03-17 12:56:15 +00:00
Richard Worth
a202248780
Remove ui-helper-hidden-accessible from correct element. See r3880 and r3892
2010-03-17 12:49:27 +00:00
Scott González
e02b6a58d6
Button: spacing.
2010-03-16 04:07:23 +00:00
Scott González
3c31d720ce
Sortable: Fixed a bug with over/out events and connected draggables.
...
Fixes #5346 - over and out events not triggered when draggable connected with single (non-nested) sortable.
2010-03-16 01:15:57 +00:00
Scott González
03adce34dd
Menu: Don't pass empty values to ._trigger().
2010-03-16 00:26:06 +00:00
Richard Worth
d2272f86bc
Autocomplete: fixed #5349 - Autocomplete: mouseover of menu item causes data loss
2010-03-15 21:24:42 +00:00
Richard Worth
2be46581da
Autocomplete: fixed #5349 - Autocomplete: mouseover of menu item causes data loss
2010-03-15 21:11:21 +00:00
Richard Worth
e6c30b0d97
Autocomplete: Fixed #5348 - Autocomplete: menu item should not remain selected when mouse off menu
2010-03-15 20:57:02 +00:00
Richard Worth
9aa56386a3
Autocomplete: fixed #5347 - Autocomplete: each successive item hover makes item above shrink a bit in IE
2010-03-15 20:40:20 +00:00
Richard Worth
1489d7380d
Button: fixed #5324 - button disabled state doesn't get refreshed when disabled set on original element
2010-03-15 14:13:17 +00:00
Richard Worth
e3096c7abb
Button: remove disabled attribute from original element when option set to false
2010-03-15 14:07:00 +00:00
Richard Worth
a842215fdb
button: fixed #5328 - button disabled only visually when disabled option set, still functional
2010-03-15 14:00:53 +00:00
Scott González
385269e3ea
Button: Don't react to keydown when disabled.
...
Partial fix for #5328 - button disabled only visually when disabled option set, still functional.
2010-03-14 17:53:18 +00:00
Richard Worth
aa6fb14854
Dialog: quiet JSLint
2010-03-12 01:10:57 +00:00
Richard Worth
8360141375
Position: quiet JSLint
2010-03-11 22:16:00 +00:00
Richard Worth
a48466b194
Autocomplete: quiet jslint
2010-03-11 22:06:29 +00:00
Richard Worth
ddd1026d20
Button: quiet jslint
2010-03-11 21:17:28 +00:00
Richard Worth
7898303437
dialog: corrected typo in ui.position property for drag events. Updated unit tests tracking fix of #5291
2010-03-11 20:48:21 +00:00
Scott González
89f10420cf
Button: No need to check the button type before removing the hidden class.
2010-03-11 20:21:38 +00:00
Scott González
057e156e62
Button: Conform to coding standards.
2010-03-11 20:10:43 +00:00
Richard Worth
e0faff7e11
reverted r3888 un-fixing #5322 for now as trunk is in release candidate state - only criticals and blockers should be fixed until 1.8 is final
2010-03-11 16:57:10 +00:00
Paul Bakaus
1a487a18b7
sortable: fixed #5322 (helper position weird when axis was used, fixes sortable tabs demo)
2010-03-11 16:35:20 +00:00
Richard Worth
7799b4ecf9
Fixed #5278 - ui.buttons doesn't visually reset on form "reset" event or input "change" event
2010-03-11 06:31:16 +00:00
Scott González
c2ed8ffc07
Autocomplete: Resize menu on every suggestion.
2010-03-11 04:37:21 +00:00
Scott González
fe6bef16e4
Button: Support elements that are disconnected from the DOM.
...
Fixes #5246 - _determineButtonType does not work if a label for checkbox/radiobutton is not yet attached to the document.
2010-03-11 03:50:20 +00:00
Scott González
5f213572d6
Autocomplete: Append menu to body and reset z-index on every suggestion.
...
Fixes #5271 .
2010-03-11 03:28:00 +00:00
Richard Worth
8cd7129f0c
button: remove ui-helper-hidden-accessible instead of .show() on destroy. Fixes #5261 - button change events don't fire in IE 7/8
2010-03-11 02:13:28 +00:00
Richard Worth
cef16fdf78
Checkbox must not be all the way hidden for change to fire in IE. Switched out .hide() for ui-helper-hidden-accessible class instead. Fixes #5261 - button change events don't fire in IE 7/8
2010-03-11 02:09:45 +00:00
Richard Worth
caa1786c61
Fixed #5305 - Autocomplete: open event should trigger after the menu is opened since the name is not 'beforeopen'
2010-03-08 16:35:24 +00:00
Jörn Zaefferer
d3a8c96428
Filter properties to forward to dialog events on resize and drag etc. - fix for #5291
2010-03-05 17:56:34 +00:00
Jörn Zaefferer
eaeb580d82
Pass through resizable and draggable ui objects in dialog - partial fix for #5291
2010-03-05 17:47:06 +00:00
Scott González
0de9895595
Tabs: Fixed id generation for cookies.
...
Fixes #5264 - cookie name is: "ui-tabs-[object Object]".
2010-03-04 02:36:43 +00:00
Scott González
b636ad6997
Button: quote the value when searching for attributes.
...
Fixes #5262 - Buttonset not working on inputs with Arrays in name Attribute.
Thanks Zidane.
2010-03-04 02:00:32 +00:00
Scott González
301eb30ac1
Effects: Proper argument shuffling when calling show/hide/toggle without a speed.
...
Fixes #5269 - Show and hide effects errantly require "duration" option to fire callback.
2010-03-04 01:31:17 +00:00
Jörn Zaefferer
868732edac
Remove isFF2 flag in ui.core - should have been dropped together with the FF2 aria code
2010-03-03 08:57:59 +00:00
Scott González
eb93c743de
Dialog: Fixed modal overlay instance tracking.
...
Fixes #5228 - $.inArray's parameter.
Fixes #5263 - Dialog Close Then Destroy Destroys Overlay Twice, Causes Exceptions Later.
2010-03-03 02:11:37 +00:00
Scott González
c91e1cc86a
Datepicker: Handle empty string for animation duration.
...
Fixes #5259 - DatePicker will not ever close.
2010-03-03 01:31:04 +00:00
Keith Wood
b2ef0fcc9e
Datepicker: Tamil localisation
2010-03-02 08:27:46 +00:00
Scott González
64811c10ec
Button: Add disabled class on init if the disabled option is set to true.
...
Fixes #5250 - Button: initializing with disabled = true isn't visually disabled.
2010-03-02 05:29:35 +00:00
Scott González
001a22a9d6
Buttonset: Use :data(button) instead of .ui-button to find buttons that have already been instantiated. This prevents us from finding elements that are proxying buttons, e.g., a radio's label.
...
Fixes #5242 - radio buttonset with icons does not maintain state.
2010-03-02 02:58:52 +00:00
Scott González
602576707e
Autocomplete: search against label instead of value when both are provided.
...
Fixes #5237 - Array matching behaviour of autocomplete should match on label before value.
Thanks Simon Cusack.
2010-02-27 19:57:34 +00:00
Keith Wood
d6fd76c0c1
Datepicker: Add Faroese localisation
2010-02-26 08:09:58 +00:00
Jörn Zaefferer
a5eab4cc38
Fix for #4451 - ajax tabs error handling
2010-02-24 18:43:33 +00:00
Scott González
c27bc6b035
Accordion: Fixed oldContent and newContent for events.
...
Fixes #4469 - Accordion: newContent/oldContent misbehaving.
2010-02-24 17:25:54 +00:00
Scott González
83b16f528f
Dialog: Use .height() to calculate height of dialog before drag.
...
Fixes #5221 - Buttons disappear after dragging dialog.
2010-02-24 17:16:02 +00:00
Scott González
aa8f6c5fc1
Autocomplete: Fixed class removal in .destroy().
2010-02-23 02:59:05 +00:00
Scott González
b26336f2d2
Autocomplete: Reposition menu every time it opens.
...
Fixes #5217 - Autocomplete in Dialog is posiitoned incorrectly in 1.8 RC2.
2010-02-23 02:57:33 +00:00
Brant Burnett
350853179f
Dialog: ESC key event was not being canceled after it was handled ( Fixed #4922 window.location.reload() doesn't work in dialog's close callback when it's triggered by ESC in Firefox)
2010-02-22 18:39:12 +00:00
Brant Burnett
e2202847c6
Dialog: Changed height measurement to hide content because IE quirks mode ignores height: 0 ( Fixed #4350 No Scrollbars in IE in Quirksmode)
2010-02-22 17:37:08 +00:00
Keith Wood
a8747488d0
Datepicker: Fixed #5156 Added Chinese Hong Kong localisation
...
That makes 50!
2010-02-22 08:43:38 +00:00
Scott González
009378cadc
Sortable: Only trigger over event when changing the current container.
...
Fixes #5111 - 1.8rc1 sortable#over method bugged -- called along with #sort instead of on mouseover.
2010-02-20 02:31:49 +00:00
Scott González
8185ba0207
Autocomplete: Added a "ui-autocomplete-input" class to the text field.
...
Fixes #5198 - Autocomplete: class needed on input element.
2010-02-20 01:38:30 +00:00
Scott González
0292c347bb
Autocomplete: Deactivate menu on close.
...
Fixes #5205 - Autocomplete: blur causes last active menu item to be selected.
2010-02-20 01:32:55 +00:00
Scott González
74120e0df1
Draggable: Don't try to stack if there are no elements in the stacking group.
...
Fixes #5191 - Draggable: stack option can throw error.
2010-02-18 04:46:59 +00:00
Scott González
6d7196f803
Effects: Properly normalizing arguments for named speeds.
...
Fixes #5192 - 1.8rc2 Toggle speed issue.
2010-02-18 04:40:39 +00:00
Scott González
9cabe8403e
Buttons: Removed the logic for triggering click events on checkboxes and radio buttons. This logic was actually causing the opposite functionality from what we wanted.
...
Fixes #5195 - .buttonset() prevents change event from being catchable.
2010-02-18 02:43:23 +00:00
Scott González
b848e37f28
Button: Added missing semicolons;
2010-02-18 01:45:23 +00:00
Scott González
071dc670b7
Autocomplete: Fixed bug with bgiframe usage.
...
Fixes #5196 - Autocomplete: "menu is not defined" error when using with bgiframe.
Thanks Demphest
2010-02-18 01:23:45 +00:00
Brant Burnett
53ab4fb5de
Dialog: Overlays are now cached for reuse with subsequent dialogs ( Fixed #5185 : .ui-widget-overlay CSS selector causes consistent large memory leak in IE)
2010-02-17 16:22:19 +00:00
Jörn Zaefferer
8c1f4da31a
Another partial fix for #5188 - add ui-menu-item class only to list items with anchor-children
2010-02-16 16:34:06 +00:00
Jörn Zaefferer
4f4715017d
Fix for #5188 along with a half-functional demo (buggy keyboard navigation)
2010-02-16 16:20:05 +00:00
Scott González
c9f30818af
Dialog: Update the internal flag for whether or not the dialog is open before triggering the close event.
...
Fixes #5184 - isOpen in dialogclose event is true.
2010-02-16 02:13:38 +00:00
Richard Worth
d4154562ea
Fixed #5178 - Slider's change event fires on slide
2010-02-15 14:34:42 +00:00
Scott González
c9177acec1
Position: Conform to coding standards.
2010-02-14 18:15:32 +00:00
Scott González
f88677bfd6
Draggable: Don't recalculate the relative offset during drag. I couldn't reproduce the issues described in the comments for this code.
...
Fixes #4824 - draggable broken on inline elements in webkit browsers
2010-02-14 05:09:29 +00:00
Scott González
0f3def0d84
Fixed missing variable in menu's refresh method.
2010-02-12 21:17:00 +00:00
Jörn Zaefferer
84f7c90fc8
Autocomplete: Fix for #5154 - cleanup
2010-02-10 15:09:19 +00:00
Jörn Zaefferer
4cea3290a1
Autocomplete: Fix for #5154
2010-02-10 15:08:27 +00:00
Jörn Zaefferer
3875cd33b7
Autocomplete: Fix for #5154
2010-02-10 15:05:35 +00:00
Ca-Phun Ung
5eeaa658ba
datepicker: fixes #4443 : Datepicker's vertical position in thickbox. This also fixes the virtual position when the datepicker is close but not right at the bottom of the page.
2010-02-09 04:09:26 +00:00
Scott González
925bf9ec35
Autocomplete: Split out logic for rendering individual items.
2010-02-08 01:31:10 +00:00
Scott González
1402650134
Autocomplete: Fixed a few places that got missed during the change to always keep the menu element around.
...
Fixes a bug where opening the menu using the arrow keys would cycle through the options, but not show the menu. There's now a bug where you have to arrow too many times to get into the menu when showing the menu by using the arrow keys.
2010-02-08 01:17:04 +00:00
Scott González
f349f9080b
Progressbar: Conform to coding standards.
2010-02-07 03:40:13 +00:00
Keith Wood
573a402d05
Datepicker: Separate month and year unless both are drop-downs
2010-02-06 23:14:40 +00:00
Keith Wood
c16ed70b68
Datepicker: Fixed #5128 Datepicker opens when setDate called
2010-02-06 23:07:00 +00:00
Scott González
f09dbcc2a7
Tabs: Fixed selected tab detection.
...
Fixes #5122 - Bug in ui.tabs.
Thanks th3br41n.
2010-02-06 03:27:09 +00:00
Scott González
f775b00cfa
Widget: Fixed a problem with the .remove() proxy.
...
Fixes #5143 - .remove() proxy doesn't work properly.
2010-02-06 02:12:41 +00:00
Scott González
f2a9deb611
Dialog: Prevent the titlebar from displaying above the top of the document.
...
Fixes #5141 - Position of Dialog is off the page when viewport is smaller then dialog.
2010-02-06 02:02:03 +00:00
Scott González
267e9780c3
Slider: added missing comma.
2010-02-05 14:19:19 +00:00
Scott González
9e02f80176
Fixed event prefix in all plugins that don't use the default prefix.
...
Fixes #5134 - Events not being triggered for drag and drop.
2010-02-05 03:03:50 +00:00
Scott González
ee2c8c0439
Draggable: Don't adjust offsets for fixed position elements in Safari 4.
...
Fixes #4631 - Draggable: Fixed positions include wrong scroll offset in Safari 4.
2010-02-04 21:52:20 +00:00
Jörn Zaefferer
7321aa017d
cleaning up dependency listings
2010-02-03 23:30:37 +00:00
Jörn Zaefferer
288f3a6bef
cleaning up dependency listings
2010-02-03 23:19:48 +00:00
Richard Worth
ec5e7ad95b
resizable method destroy: put unwrapped original element in wrapper's place instead of at the end of wrapper's parent. Fixes #4940 - resizable('destroy') moves images to end of parent element
2010-02-03 01:22:02 +00:00
Jörn Zaefferer
30578eb028
create-html-elements convention
2010-02-02 14:22:04 +00:00
Jörn Zaefferer
df391a998f
Fix for #5120 - create menu only once and return that element from the widget method, put ui-autocomplete class on menu
2010-02-02 14:04:50 +00:00
Brant Burnett
d549ba6d43
Datepicker: No longer dependent on dialog in order to close datepicker when dialog is closed (Refixed #4453 UI Datepicker inside UI Dialog Issue)
2010-02-01 20:59:24 +00:00
Brant Burnett
bae22fb74a
Datepicker: Now uses zIndex() to determine zIndex for dpDiv on show ( Fixed #4580 Datepicker appears underneath other widgets)
2010-02-01 20:12:54 +00:00
Brant Burnett
5b61537e6e
Datepicker: Fixed #4453 UI Datepicker inside UI Dialog Issue
2010-02-01 16:10:41 +00:00
Scott González
a4daa10f53
Autocomplete: Turned off collision detection.
...
Fixes #5114 - Autocomplete: Turn off collision detection for menu.
2010-01-30 16:38:51 +00:00
Brant Burnett
58a3a99e1e
Dialog: Changed overlay to use zIndex() to test which events to cancel ( fixed #4363 Datepicker Month/Year Dropdowns Not Working In Safari In A Dialog)
2010-01-29 21:18:57 +00:00
Brant Burnett
b91ecde0a7
'Changed
2010-01-29 18:38:21 +00:00
Keith Wood
f214b70889
Datepicker: Fixed conflict between beforeShowDay and getDate
...
http://forum.jquery.com/topic/several-breaking-changes-in-jquery-ui-1-8rc1
2010-01-29 08:09:03 +00:00