Commit Graph

1610 Commits

Author SHA1 Message Date
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
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
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
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
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
jzaefferer
fc093e9feb Prevent autocomplete-menu from closing when clicking 'slowly', eg. a long mousedown. Fix for #5405 - Autocomplete: select event not triggered when mousedown duration > blur timeout 2010-05-18 14:57:02 +02:00
Scott González
fcbf4c0872 Tabs: Removed instances of " .. + (++ .." to avoid a minification bug in closure compiler. Fixes #5576 - invalid increment operand. 2010-05-17 20:48:07 -04:00
adam j. sontag
0460b46c1c Selectable: Creation of helper must conform with style guide. 2010-05-13 22:51:28 +08:00
adam j. sontag
05725e25ae Selectable: Add default CSS for ui-selectable-helper to CSS framework to allow user override. Fixes #5607 - Selectable has helper css hardcoded in JS 2010-05-13 22:35:40 +08:00
Paul Irish
dc646c01fe Datepicker: cleaning up the datepicker open transition. fixed #5609 - Datepicker: change default opening animation to fadeIn 2010-05-13 01:18:55 +08:00
Jack Hsu
e780583694 Selectable: modified _mouseStart function to unselect event.target if the
Ctrl/Cmd key is pressed, and target is selected. Fixed #4293 - Ctrl + Click on 
selected list item does not deselect
2010-05-12 23:49:25 +08:00
Jack Hsu
5b4c04acb5 Selectable: modified _mouseStart function to unselect event.target if the Ctrl/Cmd key is pressed, and target is selected. Fixed #4293 - Ctrl + Click on selected list item does not deselect 2010-05-12 23:49:15 +08:00
Richard D. Worth
114c001aba Slider: trim to max and min on UP DOWN LEFT RIGHT. Fixed #5591 - Slider: can go outside min and max with keyboard 2010-05-11 08:36:56 -04:00
Richard D. Worth
5fd158053f Datepicker: i18n Polish changed yy-mm-dd to dd.mm.yy. Fixed #5522 - Wrong date format for polish regional 2010-05-11 08:30:22 -04:00
Richard D. Worth
34912bc933 Slider: fixed step alignment to handle negative fractional values. Fixed #5583 - Slider displays negative fractional values incorrectly. Thanks for the patch watanabe. 2010-05-11 08:17:18 -04:00
Richard D. Worth
b7c0823da6 Slider: trim value to min and max when page_up or page_down is pressed. Fixed #5591 - Slider: can go below its defined minimum with PageDown 2010-05-11 07:31:48 -04:00
Richard D. Worth
b53b48b618 Datepicker: i18n SK changed firstDay to 1 instead of 0. Fixed #5600 - Datepicker localization SK. Thanks borsuk 2010-05-11 05:23:38 -04:00
ornicar
a4488aff7c Fix 'this.options is undefined' in sortable by using this instead of self 2010-05-05 19:14:55 +08:00
Richard D. Worth
0ad5ac7382 Datepicker: avoid ambiguous + ++ in min file. Partial fix for #5576 - invalid increment operand 2010-05-04 23:11:06 -04:00
Scott González
01ad6ce83e Remove previous text/icon classes when updating buttons.
Fixes #5567 - button text, hide then show again.
2010-04-29 21:38:23 -04:00
Scott González
0aa4c7f9b6 Removed case-sensitive .nodeName check.
Fixes #5557 - Comparing element.nodeName directly against upper case tag names can cause problems.
2010-04-27 19:41:10 -07:00
Richard D. Worth
670ab819a9 Revert "Draggable: Don't use computed style for top and left of position:relative elements. Fixes #5537 - Draggable: position relative draggable jumps on first drag in Opera"
This reverts commit dc94bbf536.
2010-04-23 16:13:06 -04:00
Scott González
cb7eb69973 Autocomplete: Ignore command (left and right/menu/windows), insert, caps lock, home, end keys.
Fixes #5415 - Catch all common keys while typing a word.
2010-04-23 13:00:54 -04:00
Scott González
3570c1f768 Core: Added COMMAND/COMMAND_LEFT/WINDOWS, COMMAND_RIGHT/MENU key codes.
Fixes #5542 - Add keyCodes for command buttons.
2010-04-23 12:56:52 -04:00
Scott González
02c32959d9 Button: Added missing semicolon.
Fixes #5536 - Mission semicolon on line 5368.
2010-04-23 12:08:55 -04:00
Richard D. Worth
dc94bbf536 Draggable: Don't use computed style for top and left of position:relative elements. Fixes #5537 - Draggable: position relative draggable jumps on first drag in Opera 2010-04-22 09:56:35 -04:00
Richard D. Worth
6e77ee19bc Fixed #5532 - Datepicker i18n: Encoding error in Swiss-French (fr-CH) file 2010-04-21 05:00:33 -04:00
jzaefferer
dbc9addfae Autocomplete: Refactored code for array filtering into $.ui.autocomplete.filter, used by remote-with-cache and modified multiple-demo (now with local data); added multiple-remote to also show multiple with remote data 2010-04-16 11:05:35 +02:00
Richard D. Worth
3291d3951a sortable: don't call the base widget _setOption for disabled to avoid the ui-state-disabled class being added. Fixes #5501 - sortable: disabled should not have the ui-state-disabled class 2010-04-09 14:43:44 -04:00
jzaefferer
c01b3baef9 Autocomplete: Track input changes and fire change-event on blur, along with selected item, if available. Fix for #5490 2010-04-08 12:05:52 +02:00
Jörn Zaefferer
5ade79a380 Fixed spelling of Poniedziałek - Fix for #5487 - Datepicker localization: Spelling of dayname wrong 2010-04-06 06:49:53 -07:00
jzaefferer
cae15a4d37 Accordion: Fixed case for tabIndex (was tabindex), fixes failing destroy-test in IE6 2010-04-03 17:14:01 +02:00
Richard D. Worth
87ba795467 slider: jslint cleanup (thanks for the start zhaoz) and style changes to meet http://docs.jquery.com/JQuery_Core_Style_Guidelines 2010-04-02 23:16:46 -04:00
Richard D. Worth
d38e20a0d3 ui core: enableSelection, disableSelection: Removed selectstart event filters from enableDisable and disableSelection as these are general utility convenience methods intended to prevent native browser text selection not jQuery UI Selectable selection. Fixes #5477 - core: enableSelection and disableSelection should only prevent native browser text selection 2010-04-02 17:09:37 -04:00
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