Commit Graph

2162 Commits

Author SHA1 Message Date
gnarf
c1f71f1c2f Effects.scale: Update the position of the element post animation to avoid jumping - Fixed #4316 - Element jumps to wrong position after scale effect with origin: ['middle','center'] parameter 2011-06-14 15:10:54 -05:00
beatryder
b0182d7822 Spinner: modified _spin and _setOption to call new method _trimValue to check for min/max values. Fixed #7264 - Spinner returns values beyond min and max, off by one 2011-06-13 20:42:45 -05:00
kborchers
ed7802090f Datepicker: Reset this.maxRows (rows in a month) on each row in a multi-row datepicker. 2011-06-13 10:54:40 -05:00
tomykaira
3e0d3c9225 Effects.transfer: check the target is fixed or not, and consider scrolling. Fixed #5547 - Transfer effect to fixed positioned element. 2011-06-10 15:52:27 -05:00
Scott González
154c5e5fd1 Position: Coding standards. 2011-06-10 16:07:03 -04:00
gnarf
85eeaf0b05 menu: Second pass style guidance 2011-06-10 07:23:01 -05:00
gnarf
e993a9b210 menu: Partial Style Guidance - Fixing JSLint Warnings 2011-06-10 05:28:13 -05:00
Jörn Zaefferer
3315502ba4 Merge remote branch 'hanshillen/popup-hh' 2011-06-10 12:17:12 +02:00
Hans Hillen
7ccb0e52c4 Use of _bind, maintain original tabindex value for popup 2011-06-10 11:42:43 +02:00
gnarf
1350e547ff Merge branch 'effects-clean' 2011-06-09 20:43:28 -05:00
tomykaira
2c8151848d effects.core: Convert elements height/width to px and restore after animation in all effects. Fixed #5245 - Relative width elements break when wrapped for effects 2011-06-09 20:38:09 -05:00
tashekelahi
19dcac2129 Position: added check for undefined value of offset. Fixed #7458 - ui.position offset property creates error when set to undefined 2011-06-09 21:05:33 -04:00
Jörn Zaefferer
7281f9f229 Update menubar to forward menu option to nested menus, update default demo to set within update to the demo frame (for /demos) or window (standalone). Update visual test to have more useful defaults 2011-06-09 17:14:21 +02:00
Jörn Zaefferer
433ed6eecf Merge remote branch 'davidmurdoch/ticket-5645' 2011-06-09 16:40:50 +02:00
Scott González
3dea8f1786 Widget: Added ability to get deep options. Fixes #7459 - Widget: Extend .option() to get partial nested options. 2011-06-09 09:47:18 -04:00
Scott González
da84672db8 .attr() -> .prop() 2011-06-08 17:02:57 -04:00
Jörn Zaefferer
2d1b9b391e Widget delegation: First draft 2011-06-08 22:14:37 +02:00
gnarf
d31dd18561 effects.clip: Style Guidance, reorganizing vars for better compression 2011-06-04 16:03:15 -05:00
Scott González
e530d06c98 Tooltip: Pass the tooltip element in the open and close events. 2011-05-30 18:42:06 -04:00
Scott González
1b52cefc26 Widget: Fixed _show() and _hide() implementation and added tests. 2011-05-30 18:27:48 -04:00
Hans Hillen
6d01873dd8 Fix various pull request comments and coding standards issues 2011-05-30 23:37:14 +02:00
Jörn Zaefferer
27a4fdd8ed Spinner: disable text selection on buttons (plus minmal whitespace cleanup) 2011-05-30 20:08:58 +02:00
Scott González
8c085cd27c Tooltip: Fixed handling of disabled tooltips. 2011-05-29 20:50:21 -04:00
Scott González
b6cda3dfee Tooltip: Added some comments. 2011-05-29 19:41:57 -04:00
Scott González
0fc41bcc4d Tooltip: Use bgiframe if available 2011-05-29 19:28:35 -04:00
Scott González
133fba2ad9 Tooltip: Don't close tooltips on mouseleave if the element is still focused. 2011-05-29 19:21:31 -04:00
Scott González
917d2b1358 Tooltip: Don't mess with the title attribute if it doesn't exist. Prevents the creation of a title attribute if there wasn't one to begin with. 2011-05-29 13:34:37 -04:00
Scott González
2a92b3ad8e Tooltip: Change default collision detection to 'flip fit' since the default vertical positioning is centered and can't flip 2011-05-29 12:29:11 -04:00
Scott González
8fc6ee6a19 Tooltip: Coding standards. 2011-05-28 20:30:14 -04:00
Scott González
9e4576bca9 Tooltip: Alphabetized options. 2011-05-28 20:19:23 -04:00
Scott González
74df32f91e Tooltip: Removed click handler. 2011-05-28 20:15:26 -04:00
Scott González
6bc220587e Tooltip: Fixed tracking of tooltip elements. 2011-05-28 19:38:01 -04:00
Scott González
2155993096 Tooltip: Fixed tooltipClass option and added test. 2011-05-28 17:55:45 -04:00
Scott González
4dbfdcede3 Tooltip: Allow content updates via async response regardless of whether a sync response came back. Added more tests. 2011-05-28 17:36:57 -04:00
Scott González
2fbd310a15 Tooltip: Added a destroy method to remove generated tooltip elements. 2011-05-28 16:20:01 -04:00
Scott González
b6aee87763 Menubar: Whitespace. 2011-05-28 15:42:28 -04:00
Scott González
6a5b21fda2 All: Moved version numbers into prototypes. Fixed #7436 - Widget: Store version numbers on instances. 2011-05-28 15:39:55 -04:00
Scott González
2f3284811c Tooltip: Proper handled of disabled option. 2011-05-28 15:25:05 -04:00
Scott González
d43118dfba Tooltip: Cleanup. 2011-05-28 11:43:57 -04:00
Scott González
d4f6f17c8d Tooltip: Changed custom animation demo and changed the logic for showing tooltips so custom position options can perform animations. 2011-05-28 10:18:39 -04:00
Scott González
e7be72ff06 Tooltip: Coding standards. 2011-05-27 20:05:20 -04:00
kborchers
1d984e76b7 Datepicker: Calculate the max number of rows necessary when displaying months. Fixes #7043 - Datepicker: Using multiple months always renders 6 rows of dates even if only 5 are needed 2011-05-27 15:10:53 -05:00
Scott González
12f73d623e Merge pull request #352 from kborchers/bug_5003_3
Droppable: Added dragStart and dragStop to ddmanager and call them from draggable to recalculate droppable positions after a drag causes a scroll. Fixes #5003 - Scroll on Droppable Demo Breaks Demo
2011-05-27 12:29:28 -07:00
kborchers
67bd872fe1 Droppable: Added dragStart and dragStop to ddmanager and call them from draggable to recalculate droppable positions after a drag causes a scroll. Fixes #5003 - Scroll on Droppable Demo Breaks Demo 2011-05-27 12:01:42 -05:00
Scott González
8a972f5cce Autocomplete: Whitespace. 2011-05-27 08:35:18 -04:00
Jay Merrifield
09e88d6220 Mouse: Optimize the cancel locator, works around a bug where .add(event.target) in IE8 can take a long time when there are multiple siblings. Fixes #7118 - IE Bug Large ComboBox (Dialog) 2011-05-26 23:42:51 -04:00
Jay Merrifield
e34dbfeef0 Dialog: Removed the height() tinkering which stops the dialog from shrinking. Fixes #5916 - Dialog: shrinks on drag in IE in standards mode, worse in quirksmode. 2011-05-26 23:30:56 -04:00
David Murdoch
c7eae7b264 Dialog: Make close() a noop if the dialog is already closed. Fixes #7327 - Dialog box size and close animation bugs. 2011-05-26 19:29:11 -04:00
Jeff Remy
981e96948f Resizable: correct aspectRatio handling with min/max dimensions. Fixed #4951 - Resizable with aspectRatio true & a maxWidth doesn't obey ratio once hit max width. 2011-05-26 19:08:58 -04:00
Andrew Powell
597a313ab6 Button: adding event.preventDefault. Fixes #5945 - Disabled buttons still allow clicks 2011-05-26 12:28:25 -04:00
Glenn Goodrich
c49dbe0f01 Button: modified the event bindings for focus and blur. Fixed #6711 - checkbox/radio button do not show focused state when using Keyboard Navigation 2011-05-26 11:28:17 -04:00
David Murdoch
40c0088721 Fix visual test in IE6 and move the new helper functions for getting scrollbar properties to $.position 2011-05-26 14:22:12 +00:00
tomykaira
7d232f7534 effects.scale: fix: calculate top / left by outerHeight / Width. Fixed #6096 - effects.scale origin bottom bug 2011-05-26 11:15:14 +09:00
David Murdoch
cde7cc0e6f updated tests to account for scrollbar width/height 2011-05-26 01:15:05 +00:00
David Murdoch
c11ac9c3f3 Now takes scrollbar width into account in collision detection 2011-05-26 00:53:16 +00:00
Hans Hillen
ab2bbd3bab Key event fix 2011-05-26 00:31:16 +02:00
Scott González
fe4ae30458 Merge pull request #294 from kborchers/bug_4088
Sortable: Changed to check the parent's length so that the dom position of the removed element is not updated. Fixed #4088 - Unable to remove() ui.draggable (sortable item) immediately after the drop callback.
2011-05-25 13:12:37 -07:00
tomykaira
129d5c75ac effects.blind: Save the wrapper status if already wrapped. Fixes #6245 - position: absolute is lost when .stop() is used with .show('blind'). 2011-05-25 15:52:53 -04:00
Scott González
af35f0bbc9 Spinner: Changed casing of option numberformat -> numberFormat. 2011-05-25 15:44:43 -04:00
Hans Hillen
f45fc08f86 wrapping tab order for popup 2011-05-25 14:58:26 +02:00
kborchers
ab365be03d Datepicker: Added checks for the disabled option. Fixed #5665 - Datepicker: Disabled parameter doesn't work 2011-05-20 13:44:14 -05:00
gnarf
4fc5ea141d Unit Tests & effects.scale: Fixing bugs in effects unit tests - Particularly IE, found a bug in scale.js in the meantime. Fixes #7395 - Size based effects are breaking unit tests in IE - also leaking a global var 2011-05-18 18:13:37 -05:00
Jörn Zaefferer
4f0f407df3 Merge remote branch 'treyhunner/topic/autocomplete-pasting' 2011-05-18 17:47:01 +02:00
Jörn Zaefferer
92b0f6702a There's no guard against unparsed characters at the end of the date string, any extra characters are just ignored
Fixes #7244 - Datepicker: parseDate() does not throw an exception for long years
2011-05-18 17:30:26 +02:00
Jörn Zaefferer
ba6dd5c180 Merge branch 'master' of github.com:jquery/jquery-ui 2011-05-18 17:12:52 +02:00
Jörn Zaefferer
1c193085e1 Merge remote branch 'kborchers/bug_3623' 2011-05-18 17:07:02 +02:00
kborchers
4ff8d90a82 Accordion: Added check to not allow 0 height on empty panels causing height issues on non-empty panels. Fixed #7335 - Accordion: Incorrect size when a panel is empty 2011-05-18 10:54:36 -04:00
Scott González
e0fafbb735 Button: Refactored formResetHandler and fixed scope. Foxes #7261 - Refresh scope in formResetHandler unintentionally wide. 2011-05-18 10:32:59 -04:00
Jörn Zaefferer
d1f86cb2ff Merge remote branch 'origin/master' 2011-05-18 15:58:42 +02:00
Jörn Zaefferer
bdd2362754 Merge remote branch 'kzys/trac-6656' 2011-05-18 15:51:07 +02:00
Scott González
a0f16a00b9 Dialog: Reduce old overlay dimensions to 0x0 to avoid sizing issues. Fixes #5637 - Dialog: Dimensions of reused overlay may cause scrollbars. 2011-05-18 09:34:50 -04:00
Scott González
a47bfa196b Spinner: Coding standards. 2011-05-17 21:07:44 -04:00
Scott González
03939fc8c1 Tabs: Don't cancel existing ajax requests when programmatically loading a tab. Fixes #7204 - Tabs: Programmatically loading a tab shouldn't cancel active ajax requests. 2011-05-17 16:23:10 -04:00
Scott González
ad53b55f61 Tabs: Fixed load event with back compat enabled. 2011-05-17 15:46:41 -04:00
Scott González
a9d4b52836 Tabs: Removed some animation cleanup code that doesn't appear to be necessary. 2011-05-17 13:15:44 -04:00
Scott González
5f10fa6511 Tabs: Escape all special characters when sanitizing hash selectors. Fixes #4681 - Tabs: _sanitizeSelector needs to escape '.'. 2011-05-17 10:02:22 -04:00
David Murdoch
e4a42991df Removing unnecessary variables, caching 'within' in tests where its beneficial, and making some other changes based on the code review 2011-05-16 23:46:21 +00:00
kborchers
8e8a7b015f Sortable: Changed to check the parent's length so that the dom position of the removed element is not updated. Fixed #4088 - Unable to remove() ui.draggable (sortable item) immediately after the drop callback. 2011-05-16 16:25:03 -05:00
Scott González
5e58859347 Tabs: Added tests for load method. 2011-05-16 14:41:27 -04:00
David Murdoch
965cb7359e Tabs: When adding a new tab with an existing panel, don't move it. Fixes #4578 - adding tab moves targeted panel. 2011-05-16 12:30:23 -04:00
Jay Merrifield
41205cef4b Datepicker: Made the day of year calculator be more accurate. Fixes #6827 - Datepicker: Incorrect value for "oo" during Daylight Saving Time. 2011-05-16 07:52:01 -04:00
Trey Hunner
adb35572a9 Autocomplete: Trigger search timeout on all input events. Fixes #6666 - keyboard-autorepeat on Firefox and paste event
The input event triggers after all changes to an input field including
paste/cut events.
2011-05-15 12:50:26 -07:00
gnarf
463849e4c3 Tabs: Removing queue logic, _hideTab, and _showTab - Replaced with _toggle - Fixes #7357 Tabs: Remove queueing logic 2011-05-14 06:31:41 -05:00
David Murdoch
cf96d22532 position now passes all tests! 0/ 2011-05-13 21:57:16 +00:00
David Murdoch
939b6989c7 Update position to work properly when window and/or within element is scrolled. 2011-05-13 20:54:25 +00:00
Scott González
c9e187cd9d Merge pull request #263 from kborchers/bug_4995
Dialog: Create modal overlay after dialog is shown and check scrollHeight and offsetHeight in all IE versions. Fixed #4995 - Modal Dialog's overlay dissapears in IE when content is tall
2011-05-13 13:36:09 -07:00
Scott González
2adfc03efe Merge pull request #266 from kborchers/bug_4838
Draggable: Changed logic to only subtract left and top offsets of containment if left and top are not already 0. Fixed #4838 - containment: 'document' is incorrect for top and left in draggable
2011-05-13 12:35:18 -07:00
Kris Borchers
a69a1788bc Button: Don't fire click/change events if mouse was dragged during click of toggle (checkbox/radio) button. Fixed #6970 - Button state inconsistencies after (accidental) drag-clicking the button. 2011-05-13 15:28:10 -04:00
David Murdoch
2f4da6f13d Update var name to avoid confusion 2011-05-13 19:17:42 +00:00
Scott González
aec3f18932 Merge pull request #268 from kborchers/bug_6950
Draggable: Check for grid elements set to 0 to prevent divide by 0 error causing invalid argument errors in IE. Fixed #6950 - ie 8 invalid drag and drop error
2011-05-13 12:17:33 -07:00
kborchers
d136e4333e Draggable: Check for grid elements set to 0 to prevent divide by 0 error causing invalid argument errors in IE. Fixed #6950 - ie 8 invalid drag and drop error 2011-05-13 10:23:44 -05:00
Scott González
7550018260 Class animation: Fixed handling of duration. 2011-05-12 21:03:42 -04:00
Scott González
ea403891b9 Merge remote branch 'gnarf37/ticket-3939' 2011-05-12 20:56:34 -04:00
Scott González
dd00f7f3b4 Merge pull request #256 from dcneiner/button-blur
Fixed #6242
2011-05-12 17:48:25 -07:00
Scott González
523790b111 Merge pull request #257 from dcneiner/buttonset-rtl
Fixed #6796
2011-05-12 17:44:13 -07:00
kborchers
6e6d0b749c Draggable: Changed logic to only subtract left and top offsets of containment if left and top are not already 0. Fixed #4838 - containment: 'document' is incorrect for top and left in draggable 2011-05-12 16:27:12 -05:00
kborchers
331c4602a9 Dialog: Create modal overlay after dialog is shown and check scrollHeight and offsetHeight in all IE versions. Fixed #4995 - Modal Dialog's overlay dissapears in IE when content is tall 2011-05-12 15:14:58 -05:00
kborchers
29b36bb409 Dialog: Changed IE6 overlay width adjustment to apply to all IE versions. Fixed #3623 - Opening a Modal Dialog shows a horizontal scroll bar 2011-05-12 13:31:15 -05:00
Andrew Powell
a6227be2c0 Datepicker: removed conditional mozilla browser check block. Fixes #7322 - Year selector disappears after setting an option in Firefox 2011-05-12 11:28:37 -04:00
David Murdoch
b6497996ce Replace comma with semi-colon. How'd that get there? 2011-05-12 13:28:01 +00:00