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
Jörn Zaefferer
45ed8d8447
Popup: Replace var that with this and _delay
2011-09-13 00:27:54 +02:00
Jörn Zaefferer
e1ec6f8ebb
Menu: Refactor to get rid of var that. Cleanup some odd formattings and unneeded temp vars
2011-09-13 00:24:43 +02:00
Jörn Zaefferer
ae0c4e44ff
Merge remote branch 'kborchers/menu_autoCollapse'
2011-09-12 23:54:19 +02:00
Jörn Zaefferer
bf26bf1ac4
Menu: Get rid of var self
, replacing with that
or calls to _delay
2011-09-12 23:52:17 +02:00
Jörn Zaefferer
3a0340f4ee
Widget: return timer value from _delay
2011-09-12 23:47:09 +02:00
Jörn Zaefferer
30482cd04b
Widget: Get rid of var self
2011-09-12 23:41:01 +02:00
Jörn Zaefferer
2a6ca3fb39
Widget: Add a _delay method. Will be used in various places to replace setTimeout with custom binding (mostly getting rid of var self/that)
2011-09-12 23:37:14 +02:00
Jörn Zaefferer
609e1f87f4
Menu: Replace regular bind call with _bind
2011-09-12 23:19:19 +02:00
kborchers
af76ad1c82
Datepicker: Added additional check to checkExternalClick to work when clicking in another datepicker and removed old fix. Fixes #7686 - infinite loop when onclose event shows a second calendar
2011-09-12 13:30:41 -05:00
kborchers
94317d7aa4
Menu: Added autoCollapse as the default and added a unit test
2011-09-12 08:43:49 -05:00
Scott González
7216c08b2f
Spinner: Added ability to specify custom incremental function.
2011-09-09 20:08:51 -04:00
Scott González
4387d19030
Spinner: Default min and max options to null.
2011-09-09 19:24:10 -04:00
Scott González
c1cda180a9
Tabs: Find panels using aria-controls instead of index for remove method. Fixes #7698 - Panels do not sort when a tab is sorted which can cause a mismatch error when a tab is removed.
2011-09-06 13:01:01 -04:00
Scott González
08450c3b2d
Button: Fixed RTL detection to default to LTR. Fixes #7697 - Buttonset: Incorrect corners for disconnected elements.
2011-09-06 11:00:42 -04:00
Jörn Zaefferer
02c821da6e
Popup: Missing semicolon. Can't use :ui-button selected if button isn't loaded.
2011-09-05 17:59:36 +02:00
Scott González
c5ba0535cf
Autocomplete: Fixed setting of valueMethod for textareas. Fixes #7674 - Autocomplete doesn't work with textareas.
2011-08-30 20:45:48 -04:00
Scott González
87f78973b9
Tabs: Pass the required deep parameter to cloneNode(). Fixes completely broken tabs in Opera.
...
Thanks monoblaine.
2011-08-30 20:22:35 -04:00
Corey Frang
dfe75e1b55
Dialog: Update to 96e5c24
- keyup apparently doesn't work like I thought it would everywhere, switching back to keydown.
2011-08-20 18:05:39 -05:00
Corey Frang
96e5c241e1
Dialog: Tabbing out of a modal dialog was possible because keypress doesn't fire for tabs everywhere, switched to keyup. Added Unit Test - Caught by @DomenicDenicola - Fixes #3123 - Tabbing stops in modal dialog
2011-08-19 06:03:59 -05:00
Jörn Zaefferer
fb57cc8aba
Tooltip: Change default to flipfit for both dimensions, now that it is available. Fixes positioning issue when tooltipped element is at the top of the screen.
2011-08-18 21:39:27 +02:00
Jörn Zaefferer
25f2113cc1
Merge remote branch 'kborchers/position_flipfit2'
2011-08-15 11:32:49 +02:00
Scott González
1aea0ff4b8
Spinner: Removed value option. Don't change empty values to zero on init. Don't enforce min/max on blur.
2011-08-13 19:05:04 -04:00
kborchers
80bbebd489
Position: Added better collision detection for flip and fit, added visual tests for each and updated the unit tests to take the changes into account. In the process, I removed the rounding that was being done to the position since older jQuery couldn't handle the fractions. There was another pull for this same issue and I have merged the unit tests from that pull into this commit. Also added flipfit!
2011-08-12 22:19:52 -05:00
Scott González
257021b1af
Spinner: Fixed precision when stepping.
...
Thanks hughlomas
2011-08-12 23:11:35 -04:00
Scott González
6c1bf56029
Spinner: Moved all event handlers into an object.
2011-08-12 22:33:44 -04:00
Scott González
4587f2de68
Widget: Use this.widget() for event delegation.
2011-08-12 22:10:31 -04:00
Scott González
18a3b53988
Tabs: Fixed detection of local vs. remote tabs. Fixes #4941 - Mishandling of base tag. Fixes #4836 - Self refering href only partially detected.
2011-08-11 16:48:58 -04:00
Chris Kelly
478a01582c
Typo fix: loose -> lose
2011-08-10 16:01:44 -04:00
Scott González
ac04462d22
Tabs: Cleanup.
2011-08-10 09:30:52 -04:00
Scott González
de7fd4c130
Spinner: Fixed integration with globalize.
2011-08-10 09:15:47 -04:00
Jörn Zaefferer
56e9cd7119
Replace $.global with Globalize, update Spinner to use it. Related demos currently broken due to previous changes.
2011-08-10 14:55:16 +02:00
Scott González
bb79b41871
Datepicker: Revert "Datepicker: Removing unnessecary typeof check. Fixed #6669 - Datepicker: _selectDate restores focus to non-object" Fixes #7623 - DatePicker reappears after selection in ie8.
...
This reverts commit 5f0a2f01c4
.
2011-08-10 07:55:19 -04:00
Scott González
7c7d3df8e7
Spinner: Return formatted value when using value method.
2011-08-09 21:38:19 -04:00
Scott González
92766654ae
Widget: Wrap the remove event trigerring in a try/catch. Fixes #7510 - jQuery.data throws a script error in certain circumstances.
2011-08-09 11:45:41 -04:00
Karl Kirch
d146297356
Datepicker: Added ability to stop datepicker from beforeShow. Fixes #7602 - Ability to stop datepicker from appearing with beforeShow event handler.
2011-08-09 09:55:50 -04:00
Scott González
7f812f8be9
Mouse: Work around a bug in IE 8 where disabled inputs don't have a nodeName. Fixes #7620 - Mouse: Error in IE 8 with disabled inputs.
2011-08-09 09:32:01 -04:00
Scott González
e827a0e280
Revert "Datepicker: Added onSelect.apply() call to _setDate method if onSelect is defined. Fixed #6264 - Datepicker: onSelect does not fire when setDate is called"
...
This reverts commit effdd5d19c
.
2011-08-09 08:26:33 -04:00
Jörn Zaefferer
f8f38e86c4
Merge remote branch 'kou/autocomplete-destroy-search-timeout'
2011-08-09 12:09:52 +02:00
Scott González
8c5a6f7241
Spinner: Use a polynomial instead of hard-coded blocks for incremental stepping.
2011-08-07 19:21:23 -04:00
Scott González
2a8a77a9b2
Spinner: More tests. Don't trigger spin when programmatically stepping or paging.
2011-08-07 19:11:49 -04:00
Scott González
6c84531d7c
Spinner: Fixed double firing of change event when setting the value option directly.
2011-08-07 12:38:01 -04:00
Scott González
6c9dac29a5
Spinner: Don't need to call _format() and _aria() in _setOptions() since it's wrapped as a modifier.
2011-08-07 12:30:33 -04:00
Scott González
dd0a436c37
Spinner: Trigger change event when the value is changed programmatically.
2011-08-07 12:27:14 -04:00
Scott González
bea9933a8b
Spinner: Re-render value if numberFormat option changes.
2011-08-07 11:35:38 -04:00
Scott González
051b9e07d9
Spinner: Use _getCreateOptions() for value.
2011-08-07 08:20:14 -04:00
Kouhei Sutou
b83a2063cf
Autocomplete: ensure clear searching timeout on destroy.
2011-08-07 15:50:34 +09:00
Scott González
e9cdd576f4
Merge branch 'spinner-getCreateOptions'
...
Conflicts:
ui/jquery.ui.spinner.js
2011-08-06 20:08:50 -04:00
Scott González
e4898fdfc6
Spinner: Added comment with formula that approximates current incrementing logic.
2011-08-06 17:10:09 -04:00
Scott González
b10c4cdab5
Spinner: Define defaults for callbacks.
2011-08-06 17:08:50 -04:00
Scott González
2b22bbdd6a
Spinner: Only trigger change when the field has blurred and the value has changed.
2011-08-06 15:32:19 -04:00
Scott González
08a7a11a1b
Spinner: Don't set focus on stop, focus should already be correct. Always remove ui-state-active on blur, since we no longer blur when interacting with buttons.
2011-08-06 15:26:12 -04:00
Scott González
64cdaa82e6
Spinner: Keep the focus on the text field even when using the buttons.
2011-08-06 15:07:34 -04:00
Scott González
fb5cad37ce
Spinner: Don't clear invalid values on blur (but clear the value option).
2011-08-06 13:28:25 -04:00
Scott González
4d2ac1abca
Spinner: Don't stop propgation of mousedown. Added TODOs.
2011-08-06 13:27:42 -04:00
Scott González
e4c0f202c8
Spinner: Use _getCreateOptions() instead of custom _markupOptions().
2011-08-06 12:58:37 -04:00
Scott González
c1da941f9f
Spinner: Invoke _markupOptions() before _draw().
2011-08-06 12:53:49 -04:00
Scott González
c4bd14f1bb
Spinner: Don't stop propagation for keydown events.
2011-08-06 12:49:11 -04:00
Scott González
6981cab9c4
Spinner: Cleanup, use ._bind() and ._hoverable().
2011-08-06 12:38:59 -04:00
Corey Frang
065aef537b
Button: Adding quotes to the attribute selector for labels - Fixes #7534 - Button label selector omits quotes / fails for ids with ":"
2011-08-03 22:16:34 -05:00
Scott González
e15c32d067
Merge pull request #413 from kborchers/bug_4333_3
...
Mouse: Changed mouseHandled check to a local var rather than using originalEvent. Fixed #4333 - Nested draggables problem in IE
2011-08-02 16:24:27 -07:00
Corey Frang
8108ec82db
Effects: Adding a check to retain focused elements after wrapping and unwrapping in animations - Fixes #7595 - Wrapper-creating jquery-ui animations will discard any focus state during the animation - Thanks @rubyruy
2011-08-02 16:54:24 -05:00
kborchers
dafc941b36
Mouse: Changed mouseHandled check to a local var rather than using originalEvent. Fixed #4333 - Nested draggables problem in IE
2011-08-02 08:36:22 -05:00
Scott González
70687f7955
Datepicker: Removed click handling for month and year dropdowns. Fixes #6198 - Datepicker Month and Year dropdowns in IE have to click twice.
...
Thanks jdufresne
2011-08-01 15:28:37 -04:00
Scott González
350e4ab5b8
Revert "Mouse: Changed mouseHandled check to a local var rather than using originalEvent. Fixed #4333 - Nested draggables problem in IE"
...
This reverts commit 9c50bdfde0
.
2011-08-01 14:16:16 -04:00
Corey Frang
38028f6de1
Autocomplete: Correcting readOnly from readonly - @scottgonzalez
2011-07-29 13:12:34 -05:00
Jörn Zaefferer
0ff3396e88
Widget delegation: Small if-simplify refactoring
2011-07-28 21:55:38 +02:00
Jörn Zaefferer
a57c435257
Whitespace
2011-07-28 15:56:57 +02:00
Jörn Zaefferer
5e35a0c55b
Widget delegation: Put back the simple click event handler where it was.
2011-07-28 15:55:56 +02:00
Jörn Zaefferer
5b45d618dc
Widget delegation: Further simplify menu code, blur handler also doesn't do anything
2011-07-28 15:53:55 +02:00
Jörn Zaefferer
9e2efe95b2
Widget delegation: Further simplify menu code
2011-07-28 15:52:52 +02:00
Jörn Zaefferer
02aad7b0ae
Widget delegation: Update menu to use _bind with delegation. Clean up test.
2011-07-28 15:47:59 +02:00
Jörn Zaefferer
5a45f483d7
Merge branch 'master' into widget-delegation
2011-07-28 15:16:20 +02:00
kborchers
e16e99a154
Menu: Added focusing first menu item when menu receives focus and collapseAll when menu loses focus (blur).
2011-07-26 08:52:33 -05:00
Jörn Zaefferer
f89091105f
Merge remote branch 'kborchers/menu_home_end'
2011-07-25 23:57:51 +02:00
Scott González
19a9de7e66
Merge branch 'master' into core-1.6.1
...
Conflicts:
demos/menubar/default.html
tests/unit/autocomplete/autocomplete.html
tests/visual/effects/effects.all.html
ui/jquery.ui.menu.js
ui/jquery.ui.popup.js
2011-07-25 11:53:14 -04:00
Scott González
f59a3e91e3
Datepicker: Use .attr() for size.
2011-07-25 11:13:54 -04:00
kborchers
23340f1162
Menu: Added Home moves to first item and End moves to last item in currently active menu or submenu. Also fixed PageUp and PageDown so that they don't wrap back around to other end of menu. Also fixed scrolling to use activeMenu rather than element to all. Also added unit tests for keyboard nav
2011-07-25 09:13:13 -05:00
Scott González
e2a9b0c568
Merge pull request #368 from kborchers/bug_3532_2
...
Accordion: Stop current hide animation, jump to last animation and calculate percentages for padding in addition to height. Fixes #3532 - Accordion: Activating a panel during animation fails
2011-07-20 06:30:51 -07:00
kborchers
5f02a8ff1f
Accordion: Stop current hide animation, jump to last animation and calculate percentages for padding in addition to height. Fixes #3532 - Accordion: Activating a panel during animation fails
2011-07-20 08:19:01 -05:00
kborchers
8224c675e1
Menu: Passed the original event that causes a blur through collapseAll to blur, then trigger a blur on the menu. Fixes failing unit test provided by @rwaldron which has been included in this commit
2011-07-19 16:15:59 -05:00
Richard D. Worth
5002bf6185
Datepicker i18n: Corrected Dutch abbreviation of month name March. Fixed #7566 - Dutch march name translation
2011-07-19 11:03:22 -04:00