Commit Graph

197 Commits

Author SHA1 Message Date
Jörn Zaefferer
6a483fd143 Autocomplete: Whitespace 2013-12-07 18:00:20 +01:00
Jörn Zaefferer
0e192979d0 Fix various coding style issues 2013-11-13 19:20:16 +01:00
Jörn Zaefferer
7b9c810b9a Autocomplete: Append liveRegion to body to support detached init. Fixes #9590 - Dynamically adding input field breaks auto-complete's accessibility for screen readers 2013-10-19 00:27:51 +02:00
Kris Borchers
e08791d2c1 Autocomplete: Don't add anchors to items in generated menu 2013-10-05 21:52:31 -05:00
Scott González
9e00e00f3b Autocomplete: Scope race condition handling to the instance. Fixes #9334 - Autocomplete: Multiple instances should be able to start asynchronous requests simultaneously. 2013-05-28 11:04:42 -04:00
Scott González
ce8f4da4e7 Autocomplete: Remove handling for NUMPAD_ENTER. 2013-05-06 15:04:14 -04:00
Jason Moon
f5f0879153 Autocomplete: Don't prevent keypress for multiline. Fixed #8911 - Autocomplete: Unable to use up/down arrow keys in a textarea (Firefox). 2013-04-25 13:17:21 -04:00
Scott González
947d738c0b Autocomplete: Refactored _response() so that requestIndex is defined closer to where it's used. 2013-04-25 10:59:35 -04:00
Scott González
fadf2b312a All: Remove inline JSHint settings. 2013-04-22 12:35:21 -04:00
Scott González
ff11b69a67 Autocomplete: Insert the live region before the input. Fixes #9172 - Autocomplete: .replaceWith() fails to replace. 2013-03-21 15:54:50 -04:00
Jörn Zaefferer
54092e4f63 Autocomplete: Menu's input option is long gone, remove leftovers 2013-03-21 17:09:21 +01:00
Corey Frang
4fce29e935 Widgets: Updating to use instance method on bridge 2013-03-19 16:08:00 +01:00
Scott González
d5d3a745b0 Autocomplete: Set isNewMenu flag on every suggestion. Fixes #9118 - Autocomplete: Mouse auto-highlights option in Firefox. 2013-02-25 15:36:08 -05:00
Scott González
7d5fe02dd9 Autocomplete: Use .ui-front instead of .zIndex() for the suggestions menu. 2013-02-05 13:01:32 -05:00
Scott González
101a09d31f Autocomplete: Optimize element type checks for speed and size. 2013-02-05 09:34:32 -05:00
Scott González
83cbf97978 Update copyright year to 2013. 2013-01-10 08:52:20 -05:00
Scott González
80e46c93a8 Autocomplete: Append to closest .ui-front if available. 2012-12-14 09:10:32 -05:00
Scott González
da17a232ca Autocomplete: Handle detached elements for appendTo after create. 2012-12-07 11:58:58 -05:00
Scott González
b239298946 Allow higher cyclomatic complexity in functions that sanely use switch statements. 2012-12-06 14:31:21 -05:00
Scott González
dec844570f Autocomplete: When appendTo is a jQuery object or a DOM element, don't search against the document. Fixes #8858 - Autocomplete: Fails when appendTo is detached from the DOM. 2012-11-28 10:33:59 -05:00
Scott González
d5afdba4cb Autocomplete: Whitespace. 2012-11-19 17:08:41 -05:00
Scott González
f5870712c1 Updated all widgets to use proper data keys when getting plugin instances. 2012-11-09 13:28:13 -05:00
Scott González
68cab60fa7 Removed bgiframe. 2012-10-26 10:53:17 -04:00
Scott González
9202bb7df5 Autocomplete: Removed data fallback for item.autocomplete. Fixes #8156 - Autocomplete: Remove data fallbacks. 2012-10-25 06:47:19 -04:00
Scott González
eaadcc0eeb Widget: Bind the remove event to the element, not the .widget() element. 2012-10-24 12:00:03 -04:00
Mike Sherov
e1230997aa Build: Enable "unused" option in jshint - Remove unused variables from codebase. - Closes gh-788
Squashed commit of the following:

commit 7f19f92c64
Author: Mike Sherov <mike.sherov@gmail.com>
Date:   Tue Oct 23 10:34:28 2012 -0400

    put back in fake args for signatures that we want to keep

commit 257505a9e6
Author: Mike Sherov <mike.sherov@gmail.com>
Date:   Tue Oct 23 08:10:20 2012 -0400

    changes per @scott_gonzalez

commit 12725480cb
Author: Mike Sherov <mike.sherov@gmail.com>
Date:   Mon Oct 22 22:54:05 2012 -0400

    clean up unused vars in ui directory

commit 563595e7ae
Author: Mike Sherov <mike.sherov@gmail.com>
Date:   Mon Oct 22 22:37:42 2012 -0400

    clean up unused vars in grunt and tests
2012-10-23 09:37:46 -05:00
Mike Sherov
d67522e329 Build: Upgrade to the latest Grunt and JSHint - Closes gh-786 2012-10-22 17:04:08 -05:00
Scott González
149567e476 Updated docs URLS. 2012-09-26 18:06:20 -05:00
Scott González
93556a8e18 Menu: If the active element no longer exists after a refresh, blur the menu. 2012-08-27 08:05:27 -04:00
Pierre-Henri Ausseil
767af39f7f Autocomplete: Fixed an invisible character tht lead to a failure of the function. 2012-08-26 17:09:39 -04:00
Scott González
485ca7192a Simplify licensing. 2012-08-09 15:09:50 -04:00
Scott González
b68b116adf Autocomplete: Fixed spacing. 2012-07-30 12:48:47 -04:00
Scott González
a4534bb993 Update copyright to jQuery Foundation. 2012-07-04 09:08:08 -04:00
Scott González
ab39099f66 Autocomplete: More verbose checking for multi-line to work around IE treating inputs as contentEditable. 2012-06-25 11:59:35 -04:00
Scott González
405cbefe5c Autocomplete: Check for contenteditable via isContentEditable property rather than [contenteditable] selector. Properly accounts for properties vs. attributes and 'inherit'. 2012-06-25 11:41:24 -04:00
Scott González
9608e98149 Widget: Rename _bind() to _on(). Partial fix for #7795 - Widget: _on and _off. 2012-06-13 08:00:45 -04:00
Scott González
03da6e41f6 Autocomplete: Remove left-over clearTimeout( this.closing ). 2012-05-24 16:16:27 -04:00
Scott González
d0ef9d6fb2 Autocomplete: We no longer need to remove aria attributes on destroy. 2012-05-23 19:28:52 -04:00
Scott González
cac6831e34 Autocomplete: Coding standards. 2012-05-18 16:23:03 -04:00
kborchers
098dd1404b Autocomplete: Added check to prevent accidental focus of menu-item on page load in Firefox. Fixed #7024 - Autocomplete menu options are activated even if mouse is not moved. 2012-05-18 15:55:10 -04:00
Scott González
0adc6f5e17 Menu: Remove need to pass an event for next(), previous(), focus(). 2012-05-18 15:34:47 -04:00
Scott González
85639bf0fa Autocomplete: Update live region if focus event is canceled. Remove live region on destroy. 2012-05-16 09:43:49 -04:00
Jörn Zaefferer
f4b2d7a411 Autocomplete: ARIA live region as extension, adding a messages option. Fixes #7840 - Autocomplete: popup results not read by screen-readers 2012-05-16 11:55:12 +02:00
Scott González
ab4d8b748d Autocomplete: Fixed context for handling async focus in IE; makes change event work properly in IE again. 2012-05-10 12:57:41 -04:00
Scott González
a1b9fbfe75 Autocomplete: Remove uses of self var; use new APIs or that var. 2012-05-09 09:20:20 -04:00
Scott González
4ab7d53b1c Autocomplete: Prevent the default action on escape when the menu is open. Fixes #8282 - Double escape clear IE form, continue Ticket #7643. 2012-04-30 11:48:37 -04:00
Jörn Zaefferer
79f1eea6dc Build: Filter filters for linting to exclude some to-be-rewritten ones. Fix lint in those remaining 2012-04-04 11:02:08 +02:00
Scott González
96f9c84b7b Autocomplete: Move race condition logic from ajax requests to general response handler. Fixes #8234 - Autocomplete: Automatic race-condition handling for custom sources. 2012-04-03 16:47:14 -04:00
Scott González
e0616aaf74 Autocomplete: Add header protection which was accidentally removed. 2012-04-03 07:15:09 -04:00
Scott González
639afa5954 Lint fixes. 2012-04-02 19:12:21 -04:00