Commit Graph

1358 Commits

Author SHA1 Message Date
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