Commit Graph

1586 Commits

Author SHA1 Message Date
Richard D. Worth
51b72a502f slider: corrected a regression introduced by commit 5ffd3ab 2010-04-02 10:32:33 -04:00
Richard D. Worth
354682e3eb Slider: added support for canceling start event. Fixes #5472 - slider: event start not cancelable 2010-04-01 15:08:20 -04:00
Richard D. Worth
5ffd3ab36a Align slider value to step. Fixes #5471 - value not aligned to step when set programatically 2010-04-01 15:00:45 -04:00
jzaefferer
00fdd8bcd9 Revert accidental "Merge branch 'tooltip' of github.com:jquery/jquery-ui"
This reverts commit df31e22b95, reversing
changes made to ab8d155217.

Need to revert this revert later on when actually merging the tooltip branch into master.
2010-04-01 09:33:25 +02:00
jzaefferer
df31e22b95 Merge branch 'tooltip' of github.com:jquery/jquery-ui 2010-04-01 09:25:21 +02:00
unknown
ebac9717fd Tooltip: Renamed show to open and open to _show (based on spec), changed trigger(show) to trigger(open) and added trigger(close); always use element as target, enabling programmatic opening and closing 2010-03-31 20:17:45 +02:00
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
a009595bd3 Merge branch 'master' into tooltip 2010-03-27 11:06:31 +01: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
f1933142e4 Merge branch 'master' into tooltip 2010-03-26 12:45:32 -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
jzaefferer
a3286b12be Tooltip: Added comment about asny response handling 2010-03-25 15:28:34 -04:00
jzaefferer
3bd4de2a87 Tooltip: Add role='application' to body when there is no role attribute; required for screenreaders to interpret aria attributes correctly 2010-03-25 15:23:02 -04:00
jzaefferer
32e9d58963 Tooltip: Fix positioning 2010-03-25 15:22:19 -04:00
jzaefferer
e285e43d2b Tooltip: Replacing mouseover/out with mouseenter/leave, dropping (for now) support for event delegation 2010-03-25 14:46:42 -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
jzaefferer
7dbf7ecfc1 Copying files from old Googlecode dev branch for tooltip 2010-03-21 22:28:32 +01: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
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
Paul Bakaus
5ef97d7a13 effects: fixed #4097 - bind/fold didnt work 2010-01-28 17:31:02 +00:00
Paul Bakaus
9617d15054 draggable: implemented #4145 - start,drag and stop events should be preventable 2010-01-28 16:35:59 +00:00
Scott González
c802347799 Autocomplete: Removed CSS framework classes from text field. We can add them back in when we have full support for form elements. 2010-01-28 04:25:30 +00:00
Scott González
65b063b039 Prevent the default styles for resizable elements from totally killing dialog positioning (finally).
Fixes #5084 - 2 dialogs pos false on close.
2010-01-28 03:06:43 +00:00
Scott González
dd92e16081 $.ui.ddmanager.drop() now works properly for nested droppables.
Fixes #5095 - Droppable body let revert a div on a valid drop.
2010-01-28 02:24:42 +00:00
Jörn Zaefferer
0923066abb removing Firefox 2 AIRA extras, FF2 isn't usable in that regard anyway 2010-01-27 18:11:57 +00:00
Richard Worth
3eaf9daaca Deprecated beforeclose option instead of removing it for now, fixes reopened #4669 - Dialog: beforeclose option should be beforeClose. 2010-01-27 10:31:17 +00:00
Keith Wood
c3dd4ac373 Datepicker: Fixed #5052 Set focus error in IE8 for disabled and hidden elements 2010-01-25 08:20:28 +00:00
Keith Wood
505af6a0e9 Datepicker: Fixed #5088 Date picker localization in RO 2010-01-25 08:07:20 +00:00
Richard Worth
f7c75d900f fixed #5094 - selectable: destroy method doesn't clean up selectees 2010-01-24 20:47:06 +00:00
Jörn Zaefferer
aa63c4b959 button: handle space "click" 2010-01-22 22:52:31 +00:00
Jörn Zaefferer
967454c434 button: add ui-state-active on keydown, further improving keyboard navigation - doesn't yet work properly for anchors and radio/checkbox buttons 2010-01-22 22:46:32 +00:00
Jörn Zaefferer
cc77201c8e dropping intial code for #4957 - too many open issues to get this into 1.8 2010-01-22 13:18:11 +00:00
Keith Wood
4e81523227 Datepicker: Fixed #5085 bug in findPos for RTL languages 2010-01-22 10:10:17 +00:00
Scott González
ee87defcca Datepicker: Use null instead of empty string when showing/hiding without a duration.
Fixes #5086 - no animation still animates.
2010-01-22 04:13:36 +00:00
Jörn Zaefferer
f37da0e6ce base implementation for #4957 - still need to port users of $.ui.element 2010-01-20 18:10:07 +00:00
Jörn Zaefferer
dab6e943b3 button: add ui-state-focus on focus, making keyboard navigation possible, and button like 200% more accessible 2010-01-20 17:44:54 +00:00
Richard Worth
074153407d Happy New Year 2010-01-20 14:04:26 +00:00
Richard Worth
eecbde22a6 eol-style and mime-type 2010-01-20 14:00:14 +00:00
Scott González
b0195091a6 Accordion: Check for division by zero error during animation.
Fixes #4382 - Accordion does not function in IE7/WinXP.
2010-01-20 03:26:39 +00:00
Scott González
010385b2fa Dialog, position: Removed bgiframe option; always use bgiframe when available.
Fixes #5071 - Remove bgiframe option from all plugins.
2010-01-19 23:25:38 +00:00
Scott González
ebf5160587 Widget: removed console.log call. 2010-01-19 13:53:32 +00:00
Scott González
c476541251 Widget: Only trigger remove event if keepData is not set to true.
Fixes #5076 - Using effects kills widget instances with jQuery 1.4.
2010-01-19 04:11:33 +00:00
Scott González
0ec857a5bd Button: conform to coding standards. 2010-01-18 01:58:15 +00:00
Scott González
b3e5f8453c Autocomplete: conform to coding standards. 2010-01-17 18:51:11 +00:00
Scott González
94085e0b4c Autocomplete: Use bgiframe on the menu if it's available. 2010-01-17 18:41:14 +00:00
Scott González
f49d91289d Autocomplete: Set the z-index of the menu to be above the text field. 2010-01-17 18:35:54 +00:00
Scott González
415141fe89 Dialog: Added button to the list of dependencies. 2010-01-17 18:26:43 +00:00
Scott González
dc17d50a42 Widget: _create() doesn't actually take any arguments. 2010-01-17 17:36:56 +00:00
Scott González
296deed1c2 Dialog: Moved autoOpen detection to the new _init() method. 2010-01-15 22:17:34 +00:00
Scott González
20360688a0 Widget: conform to coding standards. 2010-01-15 22:15:18 +00:00
Scott González
9247295098 Widget factory: Removed support for old usage; it doesn't make sense to keep partial support around since we can't get full backward-compatibility. 2010-01-15 22:06:15 +00:00
Scott González
988cdd5dbc Widget: Make subsequent "init" calls useful by delegating to the option and _init methods.
Fixes #5064 - Widget: make multiple instantiation more useful.
2010-01-15 21:09:32 +00:00
Scott González
003cb9d008 Widget: conform to coding standards. 2010-01-15 20:47:41 +00:00
Scott González
7d96a0d096 Widget factory: Changed _create to _init.
Partial fix for #5064 - Widget: make multiple instantiation more useful.
2010-01-15 18:58:20 +00:00
Scott González
c313289d00 Dialog: workaround for positioning bug. 2010-01-15 02:16:21 +00:00
Scott González
1c31a26b56 Replaced stackfix with bgiframe.
Fixes #5061 - Remove stackfix.
2010-01-14 18:09:07 +00:00
Scott González
6024fdf256 Copied autocomplete from dev branch. 2010-01-14 17:23:11 +00:00
Keith Wood
7f5fe2f2f1 Datepicker: Fixed #5026 Comparison between 2 date 2010-01-13 08:42:53 +00:00
Keith Wood
07a4a228c0 Datepicker: Fixed #4869 Datepicker undesired today date on field & appendText 2010-01-13 08:26:46 +00:00
Keith Wood
c14e958966 Datepicker: Fixed #4804 onChangeMonthYear fires at first run 2010-01-10 04:54:12 +00:00
Keith Wood
6047f99ec4 Datepicker: Fixed #5022 numberOfMonths with one column multiple rows doesn't display the next button 2010-01-10 04:45:03 +00:00
Scott González
fb577af2a2 Dialog: force the dialog to be visible before trying to position it so we can get the current offset (required for using .offset() as a setter). 2010-01-07 04:49:25 +00:00
Scott González
b413302c00 2010-01-07 04:47:17 +00:00
Scott González
90fb45dffa Merged in /branches/dev r3251:3620 (excluding autocomplete, modal, tooltip, menu; including menu static tests). 2010-01-07 03:19:50 +00:00
Richard Worth
41749bf122 Fixed #4960 - Tabs: wrong selected tab index 2009-12-31 13:43:54 +00:00
Scott González
eb15a50a72 Mouse: Don't prevent text selection in IE.
Fixes #4773 - Enable text selection in Internet Explorer.

Patch provided by stakach.
2009-12-29 01:32:44 +00:00
Scott González
9a786e03a1 Tabs: fixed to work with empty nav list again.
Fixes #4997 - No longer possible to start with empty tab then add() elements dynamically.
2009-12-25 18:25:46 +00:00
Scott González
1d9c22a652 Position: Fixed window detection. 2009-12-24 02:35:19 +00:00
Scott González
06e29401b8 Split mouse into its own file and udpdated dependency lists.
Fixes #5023 - Split mouse code into its own file.
2009-12-22 19:51:24 +00:00
Jörn Zaefferer
b6d17b24d4 extracting widget factory into jquery.ui.widget.js 2009-12-16 22:20:18 +00:00
Keith Wood
7c9b782ee1 Datepicker: Corrected automatic parsing of date on keystrokes 2009-12-15 04:00:17 +00:00
Keith Wood
0a8392186b Datepicker: Fixed #4917 Enter key press on popup fails if _dayOverClass td is after _currentClass td 2009-12-15 03:42:40 +00:00
Keith Wood
6230804514 Datepicker - #4895 Corrected English/UK localisation 2009-12-15 03:32:25 +00:00
Keith Wood
ef0e88c8a1 Datepicker - Fixed #4949 - Double click on next/previous button closes the datepicker 2009-12-08 04:54:04 +00:00
Keith Wood
a53da5ab89 Datepicker - Fixed #4987 - Add bosnian language to DatePicker 2009-12-08 00:02:19 +00:00
Scott González
cc9c8a3464 Datepicker: Fixed display of month and year dropdowns when showing month after year.
Fixes #4420 - showMonthAfterYear make calendar disorder.

Thanks bhornseth for the patch.
2009-12-04 04:02:55 +00:00
Keith Wood
707539f3cf Datepicker - Fixed #4704 - Datepicker global variable isn't unique 2009-12-02 00:33:56 +00:00
Keith Wood
d33c2de502 Datepicker - Fixed #4870 - yearRange doesn't work as expected 2009-12-01 01:27:25 +00:00
Keith Wood
f07293942f Datepicker - Fixed #4885 - Tab key should not have default behaviour prevented by datepicker 2009-11-30 00:03:36 +00:00
Keith Wood
378260f132 Datepicker - Fixed #4787 - Datepicker: fix animation control 2009-11-29 22:56:30 +00:00
Keith Wood
2b12ea0308 Datepicker - Fixed #4956 - undefined variable: lookAhead() 2009-11-27 06:17:41 +00:00
Keith Wood
bfdf9df0ca Datepicker - Fixed #4969 - Datepicker cannot change values of fields named with special characters 2009-11-27 06:08:13 +00:00
Andrew Powell
0225029288 ui.dialog: replaced   with   for xhtml compliance (fixes #4970 -XHTML Compliance :   should be  ) 2009-11-21 16:59:08 +00:00
Scott González
3cc921dd3d Position: Changed document/window detection to be consistent with jQuery core.
Fixes a bug in IE7/8 where window == document.
2009-11-19 16:37:05 +00:00
Jörn Zaefferer
17829ce546 Fix for #4930 2009-11-16 20:20:47 +00:00
Scott González
730f6d0823 class animation: added scrollbar property filtering back in to prevent an error in IE. 2009-11-16 03:06:13 +00:00
Scott González
31a5ee94a9 Pulsate: Rewrote pulsate effect.
Fixes #4718 - pulsate pulses one extra time.
2009-11-16 02:49:36 +00:00
Scott González
6fdc4b5d32 class animations: Commented out browser-specific style checks. 2009-11-15 23:53:40 +00:00
Scott González
24ff738601 Class Animation: Don't animate shorthand styles.
Color Animation: Removed borderColor since we no longer animate shorthand styles.
2009-11-15 01:30:38 +00:00
Scott González
73191c2bea Tabs: Removed deprecated deselctable option (use collapsible instead).
Fixes #4031 - Tabs: Remove deselectable option
2009-11-13 18:29:08 +00:00
Scott González
bddf0fdb77 Effects: Added fade effect. Needs documentation.
Fixes #4416 - Add fade effect.
2009-11-13 04:35:47 +00:00
Scott González
c252e44a1f Core: Preserve header in minified file. 2009-11-13 04:00:12 +00:00
Scott González
18e256849c Tabs: Never remove the ui-state-default class when switching tabs.
Fixes #4815 - Tabs: each tab needs to have state ui-state-default.
2009-11-13 03:18:55 +00:00
Scott González
ef02b168ef Effects: Cleaned up createWrapper(). 2009-11-10 16:35:55 +00:00
Scott González
cbbac604ff Effects: Added support for effects on elements with right and/or bottom style settings.
Fixes #4540 - Fix bug effect for IE7. In create wrapper function.
2009-11-10 16:16:52 +00:00
Scott González
16c5c3a9cb Effects core: Reorganized code, no actual changes. 2009-11-10 15:55:41 +00:00
Scott González
56c6def926 Slider: Added paging - page up/down jumps by 1/5 the size of the range.
Fixes #3096 - Add a paging option for slider
2009-11-09 03:10:57 +00:00
Scott González
bff49fac18 Tabs: Made detection of navigation more flexible - now the first descendant list (ul or ol) found will be used instead of forcing it to be the first child ul.
Fixes #4501 - Tabs should work with ordered lists (<ol>) in addition to unordered (<ul>)
Fixes #4506 - tabs(): allow more flexibility in specifying what list is used
2009-11-09 02:36:32 +00:00
Scott González
b0733bbe59 Effects: Fixed a bug when animating classes and nothing should happen, e.g., calling .removeClass('foo') when the element doesn't have the class foo. 2009-11-06 14:15:53 +00:00
Scott González
ad2e514b07 Effects: Added support for animating borderColor (previously only supported individual borders, e.g., borderLeftColor). Fixes #4807 - $('').switchClass throwing error in IE8 if the switched class contains color property. 2009-11-06 01:46:49 +00:00
Scott González
23c87aaf43 Effects: Force a non-empty hash of properties for class animations to ensure the callback is always executed. Fixes #4396 - animateClass does nothing if there are no styles changes. See jQuery core bug #5459 for the cause. 2009-11-06 01:12:09 +00:00
Keith Wood
b0f59eebdb Datepicker: Added Afrikaans and English/UK localisations 2009-10-22 09:49:19 +00:00
Richard Worth
7f3e20b2b2 Tabs: fixed to use a counter for unique ids instead of relying on $.data(elem), which in 1.4 won't return an id. Thanks Mark Gibson. 2009-10-17 01:27:02 +00:00
Richard Worth
59c77d3b7e Slider: Fixed values getter to be trimmed by min and max as value method is. Added an overload to the values method for passing in an array of new values. Fixes #4522 2009-10-12 14:32:31 +00:00
Richard Worth
2c5d327deb slider: Removed undocumented noPropagation last arg from values method as per http://groups.google.com/group/jquery-ui-dev/browse_thread/thread/a350889a377c59b8 2009-10-12 11:23:59 +00:00
Richard Worth
3af7fa81f4 slider: use internal methods _valueMin() and _valueMax() 2009-10-12 11:06:57 +00:00
Richard Worth
b7bf4b4527 Slider: Fixed animation to respond to keypress as well as mouse click, animation still does not occur at init or during mouse drag slide, both by design. Animation now occurs, if animate is on, when using the value method, but not when using the value option. This allows for animated and non-animated programmatic setting of values without changing the animate option.
Fixes #4432 - Allow animation when programmatically changing slider value
Fixes #4659 - Allow slider to animate if slider value is set programatically
2009-10-12 10:50:38 +00:00
Richard Worth
299f20b299 slider: fixed two failing unit tests
'value method set respects min'
'value method set respects max'
2009-10-12 09:27:23 +00:00
Scott González
fd976793a9 Dialog: Fixed position parsing. 2009-09-30 02:48:09 +00:00
Chi Cheng
5084445afc Sortable: add missed self. in uiHash. 2009-09-27 16:07:19 +00:00
Chi Cheng
21051b35c1 Dialog: fixes a typo. 2009-09-27 16:01:44 +00:00
Scott González
217266fb62 Fixed the initialization of color animations for cases where the first step of the animation doesn't happen in the same millisecond as the call to animate. Fixes #4251 - NaN in color animation (Firefox 3). 2009-09-20 21:07:38 +00:00
Richard Worth
f164edbdd9 slider: fixed disabled on init, methods enable and disable 2009-09-19 15:19:42 +00:00
Jörn Zaefferer
122a6cdd5f dialog: fixed _position regression; wrote a test for the default positon, which still needs some tuning 2009-09-19 14:03:53 +00:00
Richard Worth
af178c00f1 dialog: fixed enable and disable methods 2009-09-19 09:35:53 +00:00
Scott González
6f1b0d80be Rewrote animateClass to work in webkit. Fixes #3112 - SwitchClass doesn't have any effect in Safari 3.1.1.
Based on trunk and effects dev branch implementations.
2009-09-18 13:15:57 +00:00
Jörn Zaefferer
20201c2854 dialog: filter invalid option-position values, convert title argument to string (ala closeText) 2009-09-17 14:56:03 +00:00
Richard Worth
e2d873e6f0 renamed all ui.*.js files to jquery.ui.*.js, all effects.*.js files to jquery.effects.*.js per announcement and discussion here http://groups.google.com/group/jquery-ui-dev/msg/d565a0c56e0cb935 2009-09-17 10:39:12 +00:00
Ca-Phun Ung
0508fd0e04 dialog: Fixes #4826 - Setting resizable false toggles resizable on dialog 2009-09-15 16:53:39 +00:00
Jörn Zaefferer
7f2683aa81 dialog: always convert value for closeText option to a string (fixes options-tests) 2009-09-15 08:40:17 +00:00
Jörn Zaefferer
4f69883996 progressbar: option-test fails for non-numeric values, so anything non-numeric is now normalized to 0 2009-09-15 08:38:11 +00:00
Jörn Zaefferer
b9b604936e accordion: remove deprecated alwaysOpen option (collapsible was introduced in last stable release); fixed collapsible-false accordion in combination with activate method (with fasly-argument to close all); changed activate-option default to 0 (which was the "computed" default anyway); lots of fixes for the testsuite, while removing some of the "missing" tests: header accepts only a selector (updated spec to make that more clear), while testing animations in unit tests is rather pointless 2009-09-15 08:33:28 +00:00
Jörn Zaefferer
1252150c76 resizable: make global _store variable local 2009-09-15 08:21:20 +00:00
Jörn Zaefferer
e6efe11ac4 datepicker: fixed two global variables 2009-09-15 08:14:11 +00:00
Scott González
25d97c7760 Widget factory: Namespace the remove event handler. 2009-09-06 16:19:30 +00:00
Scott González
bba67df747 Widget factory: Added support for deep extending multiple option hashes on init. 2009-08-28 00:39:43 +00:00
Scott González
6c6218fa12 Widget factory: Support passing multiple option hashes on init. Fixes #4784. 2009-08-26 02:06:19 +00:00
Scott González
99d09ecfaf Dialog: Moved positioning and overflow to CSS. Fixes #2848 - Fixed positioning for dialogs. 2009-08-26 01:40:01 +00:00
Paul Bakaus
fd618d042f draggable, sortable: include originalPosition in ui hash, implements #3782 2009-08-23 17:40:44 +00:00
Paul Bakaus
d2e43a07c0 sortable: removed deprecated ui.absolutePosition from ui hash, fixes #3991 2009-08-22 13:58:36 +00:00
Paul Bakaus
957774c685 sortable: toArray/serialize should not include the placeholder, fixes #4138 2009-08-22 13:48:04 +00:00
Paul Bakaus
d28166805f droppable: greedy childs that dont accept the draggable dont block propagation anymore, fixes #4570 2009-08-22 12:25:50 +00:00
Paul Bakaus
fefa5bd342 draggable: scope option failed when no droppables within that scope exist, fixes #4289 2009-08-22 11:48:48 +00:00
Paul Bakaus
14922e41da draggable: position and offset were undefined in start callback, fixes #4380 2009-08-22 08:10:19 +00:00
Paul Bakaus
2189deaa2c draggable: made stack accept a selector instead of a complex hash, min value is autodetermined now, implements #4365 2009-08-22 07:59:09 +00:00
Paul Bakaus
374f2cbb55 draggable: direct removal of draggable element on drop event doesnt make used plugins fire an error anymore, fixes #4550 2009-08-21 14:13:47 +00:00
Chi Cheng
5293096526 Datepicker: Add yearSuffix value for Chinese/Korean. fixes #4793 2009-08-19 16:33:32 +00:00
Jörn Zaefferer
6681e7ba98 accordion: Fix for #4695, refactored 2009-08-11 19:08:23 +00:00
Jörn Zaefferer
417d5b29b4 accordion: Fix for #4695 2009-08-11 18:58:03 +00:00
Jörn Zaefferer
e132c1b363 accordion: fix for #4436 2009-08-11 18:46:00 +00:00