Commit Graph

1373 Commits

Author SHA1 Message Date
Richard D. Worth
4657bd85bc Changed widget factory to keep generic css framework class -state-disabled in ui namespace instead of custom widget namespace. Fixes #5443 - $.Widget uses [namespace]-state-disabled, must be ui-state-disabled to be useful 2010-03-29 10:00:26 -04:00
jzaefferer
c49be0be1a Merge branch 'master' of github.com:jquery/jquery-ui 2010-03-27 10:57:33 +01:00
jzaefferer
551fa98ae4 Accordion: Moving IE layout fix (via zoom: 1) from js to css - fixes the destroy-method test in IEs (zoom style wasn't cleaned up on destroy) and should perform slightly faster, too 2010-03-27 08:03:48 +01:00
jzaefferer
49411982c2 Slider: Refactoring _trimValue method to use more sane programming logic 2010-03-27 01:52:44 +01:00
jzaefferer
b96ff11e3b Slider: Refactoring _valueMin and _valueMax methods, removing useless temporary variables 2010-03-27 01:49:56 +01:00
jzaefferer
3922996231 Slider: Inlining _step method, was used only once 2010-03-27 01:47:42 +01:00
Scott González
9541bd0bf2 Position: Use parseInt() to prevent fractional pixel values.
Fixes #5280 - ui.position generates different position in static context.
2010-03-26 19:53:43 -04:00
jzaefferer
6d9caf1e23 Autocomplete: Only remove classes actually added by the widget, ui-widget etc. aren't added, so don't remove them 2010-03-26 12:42:03 -04:00
jzaefferer
40e3637117 Added $.ui.keyCode.ALT to complete list of metakeys, used in autocomplete 2010-03-26 12:40:46 -04:00
Scott González
b297b3fa6a Fixed size calculations for dialogs.
Fixes #5392 - Dialog explicit height doesn't match given value from set option.
2010-03-25 21:58:08 -04:00
Scott González
f2873b6ebf Menu: Ignore clicks that don't occur on the anchor tag within a valid menu item.
Fixes #5376 - Menu plugin fires select when border is clicked.
2010-03-24 07:15:30 -07:00
Scott González
596d1ef581 Dialog: Use .height(0) instead of .hide(0) when determining the size of the non-content area of a dialog.
Partial fix for #5392 - Dialog explicit height doesn't match given value from set option.
2010-03-22 07:53:34 -04:00
Scott González
1ddd4f5d3f Menu: pass the original event to the select callback.
Fixes #5343 - Add option to allow form submission when option is chosen.
2010-03-20 16:17:56 -04:00
Scott González
c61bd8ec67 Menu: Don't trigger select if a click occurs outside of a menu item.
Fixes #5376 - Menu plugin fires select when border is clicked.
2010-03-20 15:09:46 -04:00
Scott González
e70743cdcb Autocomplete: Don't trigger a search when the left or right arrow keys are used.
Fixes #5289 - Autocomplete: ignore cursor left/right.
2010-03-20 14:58:38 -04:00
Scott González
22ba931c39 Menu: skip over elements that aren't menu items.
Fixes #5188 - Refactor menu rendering for more customizing.
2010-03-20 14:37:25 -04:00
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