Jo Liss
37dcc3e21d
Protect all copyright notices against minification
...
For instance, this is useful for the jquery-ui-rails gem, which does not
use jQuery UI's own minification, but relies on Rails to minify the
files where necessary. Rails in turn uses UglifyJS for JS and YUI for
CSS, both of which respect the /*! ... */ convention.
2012-04-02 15:21:06 +02:00
Scott González
932fe888c0
Updated copyright year.
2012-03-08 10:53:08 -05:00
Jörn Zaefferer
d901cd4160
Autocomplete: Add removal TODOs for #7810
2012-03-01 14:40:23 +01:00
Jörn Zaefferer
811b377aad
Update data naming for autocomplete. Backwards compatible for overrides of _renderItem. Partial fix for #7810
2012-02-28 16:08:59 +01:00
Scott González
f5b52a89a7
Autocomplete: Removed the timeout for the change event. Fixes #7550 - Autocomplete change event not triggered in time.
...
Thanks spekary for finding a workaround for IE.
2012-02-16 20:24:11 -05:00
Scott González
adaba7790b
Autocomplete: Fixed typo in comment.
...
Thanks Jellyfrog.
2012-02-12 19:27:28 -05:00
Scott González
530d4cb408
Autocomplete: Cancel search when closing the menu. Fixes #7523 - Autocomplete cancel pending request when text changes below minLength.
2012-02-11 10:12:51 -05:00
Scott González
041cb39a66
Autocomplete: Set context for ajax requests instead of relying on default context. Fixes #7490 - Autocomplete fails when context option is set with ajaxSetup.
2012-02-11 08:15:24 -05:00
kborchers
f0007ec745
Menu: Change first() and last() to isFirstItem() and isLastItem()
2011-12-23 09:48:14 -06: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
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
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
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
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
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
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
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
David Leal
663719863f
Autocomplete: Fix stray reference to element.val().
2011-10-01 12:06:40 +01: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
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
Kouhei Sutou
b83a2063cf
Autocomplete: ensure clear searching timeout on destroy.
2011-08-07 15:50:34 +09:00
Corey Frang
38028f6de1
Autocomplete: Correcting readOnly from readonly - @scottgonzalez
2011-07-29 13:12:34 -05:00
Scott González
0080f2d581
Use .attr() for boolean ARIA attributes.
2011-07-12 11:36:34 -04:00
Scott González
da84672db8
.attr() -> .prop()
2011-06-08 17:02:57 -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
8a972f5cce
Autocomplete: Whitespace.
2011-05-27 08:35:18 -04:00
Jörn Zaefferer
4f0f407df3
Merge remote branch 'treyhunner/topic/autocomplete-pasting'
2011-05-18 17:47:01 +02: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
Jörn Zaefferer
c17f245d98
Autocomplete: Revert fix for #7024 , broke regular menu selection.
...
Disabled test for now (need to reopen ticket).
2011-05-11 13:19:46 +02:00
Jörn Zaefferer
7f8ccc523a
Autocomplete: Add comment to fix for #7269
2011-05-10 17:43:21 +02:00
Jörn Zaefferer
0e1bfaf1fa
Merge remote branch 'treyhunner/topic/arrow-keys'
2011-05-10 17:40:49 +02:00
kborchers
73ed73890c
Autocomplete: Added check to determine if menu has just been created to override mouseover event and reset that variable from autocomplete on close. Fixed #7024 - Autocomplete menu options are activated even if mouse is not moved
2011-05-09 16:22:11 -05:00
Scott González
c4c36e557e
Accordion, Autocomplete, Tabs: Separate callbacks and options in the defaults.
2011-04-25 08:11:52 -04:00
Trey Hunner
bdfc6d532c
Autocomplete: Fix list traversal bug. Fixes #7269 - autocomplete: holding down arrow keys in Firefox does not traverse list
...
Use keypress event for listening for arrow keys because Firefox
and Opera do not repeat keydown events for these keys.
2011-04-20 09:03:11 -07:00
Richard Worth
b5e67861bb
Autocomplete: changed autoFocus default back to false. Reverts #7042 - Autocomplete: Default autoFocus to true
2011-03-28 11:13:53 -04:00
Scott González
e7991e33f3
Autocomplete: Added response event. Fixes #6777 - Autocomplete callback when search is complete.
2011-03-22 14:07:49 -04:00
Richard Worth
4026d3acd7
Autocomplete: moved autoFocus implementation to after menu visible for a11y
2011-03-15 12:26:47 -04:00
Richard Worth
2f5eadeb8f
Autocomplete: changed autoFocus default to true for 1.9. Fixed #7042 - Autocomplete: Default autoFocus to true
2011-03-15 05:48:31 -04:00
Richard Worth
09215ef2cd
Autocomplete: new option autoFocus, default false. Fixed #7032 - Autocomplete: Add option to automatically highlight the first result
2011-03-15 05:39:56 -04:00
jzaefferer
38cfcfffe9
Menu: Update autocomplete to use deactivate and check for focus class
2011-02-24 12:05:20 +01:00
Scott González
50958718c2
Autocomplete: Added support for contenteditable elements. Fixes #6914 - Autocomplete: Support contenteditable.
2011-02-24 10:24:32 +01:00
Scott González
678ff6326a
Added version property to plugins that were missing them.
2011-02-03 12:01:26 -05:00
Scott González
a1ab9678e9
Autocomplete: Fixed handling of race conditions when using jQuery 1.3.2. Fixes #6904 - Autocomplete: Race condition handling means.
2011-01-27 14:49:59 -05:00
Scott González
29bfb86ce2
All: Define defaultElement for non-div widgets.
2011-01-23 17:55:53 -05:00
Scott González
6e0482a9cb
Updated copyright year.
2011-01-17 09:13:18 -05:00
Scott González
e0b52831fc
Updated widgets to use new methods from $.Widget.
2011-01-15 06:34:07 -05:00
Scott González
56c4c6aca9
Change destroy to _destroy and remove calls to $.Widget.prototype.destroy in widgets with simple destroy methods.
2011-01-14 17:11:22 -05:00