Commit Graph

2474 Commits

Author SHA1 Message Date
kborchers
672218bfec Merge branch 'master' into selectmenu 2011-12-15 13:32:02 -06:00
kborchers
cf1470dcef Menu: Replace accidentally removed scroll-handling code in focus 2011-12-15 13:28:33 -06:00
kborchers
a53916b454 Merge branch 'master' into selectmenu 2011-12-15 12:57:11 -06:00
kborchers
a8d0e4c804 Menu: Fix focus handling to keep focus on the menu and prevent jumping around within the menu on mousedown 2011-12-15 12:43:28 -06:00
kborchers
65f5d9073d Menubar: Update the items option in Menu to the renamed menus option 2011-12-01 12:57:31 -06:00
kborchers
490dc4d36b Merge branch 'master' into menubar_otherStructures 2011-12-01 12:53:35 -06:00
kborchers
c3369365c3 Merge branch 'master' into selectmenu 2011-12-01 12:49:01 -06:00
kborchers
ce7918fc73 Menu: Change items option to menus 2011-12-01 12:39:16 -06:00
kborchers
b539e2e5c8 Merge branch 'master' into selectmenu 2011-11-30 10:49:13 -06:00
kborchers
afdc577e9c Menu: Remove the isScrolling check which nolonger seems necessary. 2011-11-30 08:39:10 -06:00
James Khoury
ce0afde900 Dialog: Modified the dialog._size() to use outerHeight in calculating the nonContentHeight. Fixed #7692 - dialog: dialog height bug is incorrect when .ui-dialog padding set. 2011-11-28 16:52:10 -05:00
meh-cfl
06f6fa8524 Autocomplete: Don't invoke a search from arrow keys when the element can have multi-line text. Fixes #7639 - Key up/key down in textarea's should optionally not toggle auto-complete. 2011-11-28 16:33:23 -05:00
Jörn Zaefferer
9bd08798c2 Merge branch 'master' into selectmenu 2011-11-24 11:25:24 +01:00
kborchers
74a3f2ce08 Menu: Move mousedown handler into _bind and fix focusing of the Menu after click. Fixes focus issues with Selectmenu and Autocomplete. 2011-11-23 22:37:55 -06:00
Shannon
2445e20a85 Autocomplete: Making sure we do not show search menu after a blur. Fixed #7423 - Tab out of autocomplete with remote source can leave menu showing. 2011-11-23 13:39:45 -05:00
Scott González
35dd0417bd Selectable: Explicitly check event.ctrlKey now that jQuery differentiates between meta and ctrl. Fixes #7858 - ctrl-click to select multiple elements not working. 2011-11-22 08:31:11 -05:00
Felix Nagel
e79700eb28 Selectmenu: fixed aria-hidden attribute 2011-11-22 00:11:23 +01:00
Scott González
24fc8d6827 Merge pull request #463 from jason-oster/master
Merge #463.
2011-11-21 13:32:30 -08:00
Michael P. Jung
fdc332ed5f Droppable: Make sure._drop is called for all relevant droppables. Fixes #6009 - Upper droppable should receive draggable. Fixes #6085 - Parent droppable takes precedence over dynamically created child droppable. 2011-11-21 16:16:32 -05:00
Scott González
5fb9629766 Widget: Simplify data normalization in _trigger(). 2011-11-21 11:31:51 -05:00
Scott González
91ef69d750 Widget: Don't use $.event.props when creating events. 2011-11-21 11:14:19 -05:00
Jörn Zaefferer
95ea303418 Remove method argument from _super and _superApply. 2011-11-18 17:15:01 +01:00
Jörn Zaefferer
dbb274702a Whitespace cleanup 2011-11-18 17:14:38 +01:00
Jörn Zaefferer
d6e4d4705d Merge branch 'master' into selectmenu 2011-11-18 17:13:28 +01:00
Jörn Zaefferer
66f9e12797 Widget: Remove method argument from _super and _superApply. Was a left-over from first implementation, not necessary anymore. 2011-11-18 17:08:40 +01:00
Kris Borchers
e6f55967ab Merge pull request #493 from solarprominence/patch-1
Datepicker: Corrected translation of the weekHeader in Ukrainian localization. Fixes #7896 Datepicker: Fix Ukrainian localization's week header
2011-11-17 14:38:28 -08:00
David De Sloovere
dfbd9be72d Datepicker: added i18n for nl-BE. Fixes #7895 Datepicker: Add Dutch (Belgium) Localization 2011-11-17 13:43:02 -06:00
David Soms
9ebbcfe87e Datepicker: Updated catalan translation using globalize.js as a reference (https://github.com/jquery/globalize/blob/master/lib/cultures/globalize.culture.ca.js). Fixes #7894 Datepicker: Update Catalan Localization 2011-11-17 13:30:01 -06:00
stojce
b2d05f8b76 Datepicker: Added Macedonian i18n for date picker plugin. Fixes #7893 Datepicker: Add Macedonian Localization 2011-11-17 12:45:36 -06:00
William Griffiths
6525365944 Datepicker: Added Welsh/UK localization. Fixes #7892 Datepicker: Add Welsh/UK Localization 2011-11-17 12:34:33 -06:00
Michel Weimerskirch
326bfec626 Datepicker: Added Luxembourgish translation. Fixes #7891 Datepicker: Add Luxembourgish Translation 2011-11-17 11:52:32 -06:00
Scott González
69f6f585ae Merge pull request #501 from maljub01/master
Fixed ticket #7800 - Draggable helper="clone" doesn't remove the dragged clone if original element is removed upon drop
2011-11-17 07:31:03 -08:00
Jörn Zaefferer
a8a0b022cd Merge pull request #469 from polomoshnov/patch-1
Resizable: Removed unnecessary code.
2011-11-17 06:56:45 -08:00
Scott González
4f95be1bb4 Merge pull request #429 from ckdake/master
Just a small typo fix
2011-11-17 05:52:24 -08:00
Scott González
924e80e576 Spinner: Handle changes to numberFormat and currency options. 2011-11-16 12:07:46 -05:00
Richard D. Worth
97bc2d9de9 Selectable: add ui-selectee class to elements matching filter on refresh. Fixes #7716 - Selectable: new elements added programatically don't have class ui-selectee 2011-11-16 10:52:12 -05:00
Scott González
e5464f8f19 Accordion: Fixed back-compat for icons.headerSelected when icons option is null. 2011-11-16 08:00:03 -05:00
Scott González
1b165148a6 Widget: Set event.target in ._trigger(). Fixes #7852 - Droppable event target changes under jQuery 1.7. 2011-11-10 07:58:58 -05:00
Richard D. Worth
1856a84d59 Popup: increased delay between focusout and focusin/mouseup as it was sometimes not high enough 2011-11-09 08:45:10 -05:00
Scott González
8fd6101c3c Widget: Define this.document properly when instantiating a widget on a document or window. Fixes #7835 - Undefined property when creating widgets. 2011-11-07 08:39:22 -05:00
Gaëtan Muller
124cf3cc6c Accordion: Fixed #7238 - Problem with accordion slide animation fixed width calculation 2011-11-06 15:21:22 +01:00
Felix Nagel
6edc790e8c Selectmenu: renaming of internal variable opened to isOpen 2011-11-02 19:44:45 +01:00
Scott González
3de7d8b68c Position: Check for fraction support. 2011-11-02 11:09:00 -04:00
Scott González
f76873c2d2 Tabs test: Increase delay in load test. 2011-11-02 09:35:20 -04:00
Scott González
f11dab34cc Datepicker: Changed Kazakh locale from kz to kk. Fixes #7829 - Kazakhstan language code. 2011-11-01 18:16:04 -04:00
kborchers
e206e54935 Menubar: Refactored _next, _prev, _right and _left into a single method called _move and then created next and previous public methods that call _move. Very similar to how Menu handles keyboard interaction. 2011-10-26 22:54:12 -05:00
ddstreet
e3156ea286 Effects Core: Do not overwrite css or class changes that aren't animated during class animation. Fixed #7106 - animateClass: css and class changes during animation are lost 2011-10-25 17:40:37 -05:00
Scott González
4cc61b459d Autocomplete: Add 1px to the width of the menu to avoid wrapping in Firefox. Fixes #7513 - Autocomplete: long text wraps in Firefox. 2011-10-25 17:19:26 -04:00
Scott González
6625060d83 Widget: Use parentWindow if defaultView doesn't exist.
Thanks ronchalant
2011-10-21 09:26:07 -04:00
Scott González
a0856efef3 Widget: Added window and document properties. Fixes #7801 - Widget: Add document and window properties. 2011-10-20 16:57:47 -04:00
Scott González
c145f1698a Button: Create text span in correct document. 2011-10-20 13:28:31 -04:00
kborchers
92c61b3507 Menubar: Allow structures other than just UL/LI 2011-10-19 13:59:07 -05:00
Corey Frang
2f89f35643 Widget: Refactoring setOptions loop to remove unnesecary closure / that reference 2011-10-19 12:54:08 -05:00
kborchers
164ebf8202 Popup: Remove any references to "that" and use _delay instead of setTimeout. 2011-10-19 10:13:05 -05:00
Hans Hillen
3c258bfa3c Rewrite popup/menu interaction to make popup managed by menu (adds trigger option to menu). Makes popup agnostic of menu and allows datepicker to use popup (soon). 2011-10-19 12:05:37 +02:00
Felix Nagel
2ed360c380 Selectmenu: code cleanup 2011-10-17 22:13:36 +02:00
Felix Nagel
c31e6e8ffe Selectmenu: fixed disabled option 2011-10-17 22:04:54 +02:00
Felix Nagel
31ccf10698 Selectmenu: fixed IE width calc 2011-10-17 22:04:14 +02:00
Felix Nagel
df68860a61 Selectmenu: removed unneeded data binding, improved event handling, 2011-10-17 22:03:22 +02:00
Marwan Al Jubeh
c3c8400289 Core, Draggable: Fixed #7800 - Draggable helper="clone" doesn't remove the dragged clone if original element is removed upon drop 2011-10-17 19:14:54 +03:00
Scott González
bdd602e21b Spinner: Re-enable autocomplete if the page is unloaded so the browser will remember the current value when navigating through history. 2011-10-17 10:12:35 -04:00
Scott González
81b2ef4a60 Autocomplete: Re-enable native autocomplete whent he page is unloaded. Fixes #7790 - Autocomplete-enabled text input does not keep value when using back button in browser. 2011-10-17 09:25:36 -04:00
Scott González
63374dcb52 Autocomplete: Avoid handling keypress when keydown modified the search term. Fixes #7799 - Autocomplete regression - Cannot type '&' in IE and Chrome. 2011-10-17 08:11:23 -04:00
Corey Frang
d4d8d74b10 Scale: We can't detect this reliably currently, so assume all elements are positioned with left and top 2011-10-14 10:24:01 -05:00
Florian Gutmann
42d33f2f86 Dialog: fix small memory leak when having lot's of instances. Fixes #7793 - Small memory leak in ui dialog. 2011-10-14 11:18:48 -04:00
Scott González
26bcf972e6 Spinner: Fixed mousewheel stop timer. 2011-10-13 16:47:01 -04:00
Scott González
4694f85d4c Spinner: Adjust height check for IE 6 rendering. 2011-10-13 16:39:14 -04:00
kborchers
9a274c0675 Menu: Check if menu is scrolling to prevent inadvertent mouseover events from being fired on scroll 2011-10-12 16:13:34 -05:00
Scott González
75415b35ea Autocomplete: Don't react to the escape key if the menu isn't open. Fixes #7579 - autocomplete overwrites input erroneously when user hits ESC before timeout expires. 2011-10-12 16:25:59 -04:00
Felix Nagel
cc232430fe Selectmenu: added braces to if clauses, coding guidelines 2011-10-12 22:14:28 +02:00
Felix Nagel
0c954cb243 Selectmenu: changed this.ids to associative array 2011-10-12 22:06:18 +02:00
Scott González
84e99650bf Autocomplete: Added missing semicolon. 2011-10-12 13:58:02 -04:00
Scott González
d8b0ce8db2 Autocomplete: Use strict equality check. 2011-10-12 13:53:50 -04:00
Scott González
ea19645c20 Autocomplete: Don't react to menu blurs. Fixes #7742 - Autocomplete: Blur should not change the value of the input. 2011-10-12 13:38:38 -04:00
Felix Nagel
7b9813c40e Selectmenu: improved event handling, fixed tabindex when disabled 2011-10-12 02:10:31 +02:00
Felix Nagel
c0864df4d7 Selectmenu: changed to _delay 2011-10-12 02:02:19 +02:00
Felix Nagel
2e229e8ddc Selectmenu: renamed vars and methods 2011-10-12 01:38:30 +02:00
Felix Nagel
9b2e0c97f0 Selectmenu: fixed disabled state tabindex 2011-10-12 01:26:31 +02:00
Felix Nagel
469426160e Selectmenu: removed unneeded that, use this instead 2011-10-12 01:24:04 +02:00
kborchers
f24ab94f86 Popup: Removed the focusout and focusin handlers which are nolonger necessary. Also updated the tooltip style demo to have a little more interactive content. 2011-10-11 00:06:09 -05:00
igor milla
f25937b215 jquery.ui.datepicker-uk.js : Corrected translation of the weekHeader. 2011-10-11 02:09:08 +03:00
Scott González
fa26847f91 Tabs: Force ajax tabs to resolve asynchronously to avoid a bug caused by cached XHRs resolving immediately in IE. 2011-10-10 15:34:47 -04:00
Felix Nagel
ee26baa997 Selectmenu: improved event handling, fixed anchor problem when clicking menu item 2011-10-10 20:27:29 +02:00
Felix Nagel
8944abce67 Selectmenu: fixed destroy method, show original select again, thx to @jzaefferer 2011-10-10 20:08:47 +02:00
Felix Nagel
ba748232c1 Selectmenu: added custom_render.html demo, removed widgetBaseClass 2011-10-09 01:54:36 +02:00
Felix Nagel
f4454ce30e Selectmenu: fixed click scrollbar issue (follow up), improved document event handling 2011-10-09 00:47:09 +02:00
Felix Nagel
ac54556fb3 Merge branch 'master' of github.com:jquery/jquery-ui into selectmenu 2011-10-09 00:14:03 +02:00
Felix Nagel
d7e23ce225 Selectmenu: fixed event for hovering, click scrollbar issue 2011-10-09 00:09:16 +02:00
Felix Nagel
37d22ee017 Selectmenu: fixed unwanted focus events 2011-10-06 01:09:12 +02:00
Felix Nagel
3ba99cbd6b Selectmenu: code cleanup 2011-10-06 00:38:22 +02:00
Felix Nagel
0dc020f79b Selectmenu: fixed positioning (change to inline element follow-up) 2011-10-06 00:35:42 +02:00
Felix Nagel
6351880e09 Selectmenu: removed outdated comment 2011-10-06 00:24:58 +02:00
Felix Nagel
d1208900f8 Selectmenu: fixed CSS class for button wrapper 2011-10-05 00:50:59 +02:00
Felix Nagel
d83f0b2de9 Selectmenu: changed button to inline element 2011-10-05 00:47:38 +02:00
Felix Nagel
30ac35afb1 Selectmenu: fixed ENTER event on closed button, fixed demo events.html 2011-10-05 00:45:53 +02:00
Marian Rudzynski
8d09f750a4 Menubar: moved mouseleave _bind call into existing _bind block, added the mouseenter binding back in to help with accidental quick mouseouts causing the menu to close and use same close time for all 2011-10-01 10:56:49 -04:00
David Leal
663719863f Autocomplete: Fix stray reference to element.val(). 2011-10-01 12:06:40 +01:00
Scott González
1e395ecf08 Accordion: Fixed nested accordions. 2011-09-30 17:06:22 -04:00
Felix Nagel
a9aef0974b Selectmenu: removed option wrapperElement 2011-09-30 21:51:37 +02:00
Felix Nagel
bf7394e50e Selectmenu: removed old click event (follow up) 2011-09-30 21:37:35 +02:00
Felix Nagel
4eff2a9cfa Selectmenu: change to _bind (follow up), improved anchor handling 2011-09-30 21:36:16 +02:00
Felix Nagel
eaece574bd Selectmenu: changed to _bind, _create refactoring, removed source option, replaced 'return false' with 'event.preventDefault' 2011-09-30 21:16:55 +02:00
Corey Frang
e8ba367a58 Effects: fixing an animateClass issue when the class was empty 2011-09-29 20:45:23 -04:00
Corey Frang
dda67fc171 Effect core: Making animate class cross-frame safe, style guidence 2011-09-29 18:55:58 -04:00
kborchers
ac8a19b62d Menubar: Fixed an issue with autoExpand binding that caused the menu to close on fast mouseenter by changing to _bind on the parent menubar item 2011-09-29 14:23:26 -05:00
Scott González
c2f036277c Spinner: Added culture option. 2011-09-28 18:30:58 -04:00
Felix Nagel
a438ec3b7d Selectmenu: fixed disabled status of the widget (keyboard control) 2011-09-29 00:11:18 +02:00
Felix Nagel
c0ea81a2a8 Selectmenu: replaced self with that 2011-09-28 23:59:23 +02:00
Felix Nagel
7f8f321298 Selectmenu: removed iconWidth 2011-09-28 22:22:36 +02:00
Felix Nagel
3e1557b654 Selectmenu: changed from return false to event.preventDefault() 2011-09-28 21:13:14 +02:00
Felix Nagel
fd69abb8d0 Selectmenu: improved width handling and visual style 2011-09-28 00:18:36 +02:00
Felix Nagel
68a369911a Selectmenu: added zIndex for positioned element 2011-09-27 23:55:52 +02:00
Felix Nagel
4d56732195 Selectmenu: improved value option, added demo file 2011-09-27 23:52:44 +02:00
Felix Nagel
9c43d64312 Selectmenu: improved events and added test file with callbacks 2011-09-27 22:06:03 +02:00
Felix Nagel
257067c81b Selectmenu: improved disable method, added and improved demo files 2011-09-27 21:46:29 +02:00
Felix Nagel
426ecaf21e Selectmenu: implemented change callback event 2011-09-27 21:33:08 +02:00
Richard D. Worth
228b1b191b Sortable: replaced hard-coded sortable with this.widgetName, and removed lines from destroy that are handled by super. Fixes #7741 - ui.sortable is not working when it is extended 2011-09-27 07:57:06 -04:00
Felix Nagel
7e8e542667 Selectmenu: fixed method _setSelected called twice 2011-09-27 02:01:03 +02:00
Felix Nagel
afec3f9e0b Selectmenu: “eats” too many key strokes when focused 2011-09-27 01:50:06 +02:00
Felix Nagel
3a8216fed8 Selectmenu: improve positioning and keyboard control 2011-09-26 01:18:19 +02:00
Felix Nagel
55184e1e07 Merge branch 'master' of github.com:jquery/jquery-ui into selectmenu 2011-09-24 19:49:22 +02:00
Jörn Zaefferer
cf3e655be1 Autocomplete: Delay option just delays request, doesn't clear existing timeout, therefore not preventing unncessary requests. Calling abort() on existing requests has no effect for JSONP, but even then its unncessary to start a request if the user is still typing. Works fine in 1-8-stable. 2011-09-24 19:07:08 +02:00
Jörn Zaefferer
bf51b0e71c Spinner: Fix the IE6-height-fix to not break the spinner when initialized while not visible 2011-09-24 14:36:39 +02:00
Felix Nagel
17c8ec587d Selectmenu: improved disabled implementation 2011-09-24 05:29:05 +02:00
Felix Nagel
d2a6eadde0 Selectmenu: added destroy method 2011-09-24 04:47:11 +02:00
Felix Nagel
3503c586c4 Selectmenu: added callback events 2011-09-24 04:44:13 +02:00
Felix Nagel
35289489c4 Selectmenu: implemented disable for option and optgroup, code cleanup 2011-09-24 04:04:54 +02:00
Felix Nagel
1d9fac52f7 Selectmenu: refresh method, value option, code cleanup 2011-09-24 03:08:03 +02:00
Felix Nagel
d89e9b41a9 Selectmenu: code cleanup 2011-09-24 02:04:06 +02:00
Felix Nagel
bb4291457c Selectmenu: improved popop style, styles and focus handling 2011-09-24 01:59:16 +02:00
polomoshnov
0b4f80899c Removed unnecessary code. 2011-09-23 13:57:02 +12:00
Felix Nagel
85a34ebedb Selectmenu: basic popop support, code cleanup 2011-09-23 00:17:24 +02:00
Corey Frang
34a0479d1c Menu: Refactoring the collapseAll to deal with some issues selecting - Updating unit tests. Thanks @kborchers 2011-09-22 15:30:46 -05:00
Felix Nagel
8120b0d6df Selectmenu: improved visual style 2011-09-22 21:20:49 +02:00
Felix Nagel
e70092f602 Selectmenu: fixed dependencies 2011-09-22 01:35:54 +02:00
Felix Nagel
ecd8ea4a1c Selectmenu: basic implementation 2011-09-22 01:34:49 +02:00
Jörn Zaefferer
cb372b7c20 Popup: Make menu dependency actually optional, cleanup demos 2011-09-21 22:54:29 +02:00
Jörn Zaefferer
a3866bf057 Popup: Use duration:fast for default animations. Also fix two missing semicolons. 2011-09-21 22:48:55 +02:00
kborchers
2196b74a31 Popup: Added show/hide animations and a demo 2011-09-21 10:42:07 -05:00
Jörn Zaefferer
6d430e4fd3 Merge remote branch 'kborchers/menu_notJustUL' 2011-09-19 10:18:04 +02:00
kborchers
7f808b2047 Position: Check to also make sure to only flip if more of the element is inside "within" 2011-09-16 11:52:22 -05:00
Scott González
a60a99ee48 Merge remote branch 'kborchers/bug_7686' 2011-09-16 10:45:35 -04:00
Jay Oster
c36b43d0ee Datepicker: Fix this reference in _hideDatepicker(). Fixed #7722 - Datepicker: Does not properly clear current instance when hidden. 2011-09-15 17:02:18 -07:00
kborchers
9e617bbad1 Menu: Add support for structures other than UL/LI plus visual and unit tests 2011-09-14 10:29:36 -05:00
Scott González
6807d588ee Spinner: Work around a bug in IE 6 with the height of the buttons. 2011-09-14 09:41:57 -04:00
Scott González
91786d550b Spinner: Added missing dependency to header comment. 2011-09-14 09:01:29 -04:00
Scott González
42337dd959 Spinner: Fix step mismatches whenever stepping, paging or using the value setter.
Thanks Nate Ferrero
2011-09-14 08:55:22 -04:00
Richard D. Worth
cedac75bcc Datepicker i18n hu: Corrected four-digit year in dateFormat. Fixes #7714 - Hungarian translation 2011-09-13 05:06:06 -04:00
Richard D. Worth
b8821d945e Datepicker i18n hu: Corrected some spellings and abbreviations as well as dateFormat. Fixes #7714 - Hungarian translation 2011-09-13 04:57:31 -04:00
Jörn Zaefferer
61290de86d Spinner: Replace var that with this and _delay 2011-09-13 00:28:29 +02:00