2
0
mirror of https://github.com/devbridge/jQuery-Autocomplete.git synced 2024-12-24 19:50:20 +00:00
Commit Graph

89 Commits

Author SHA1 Message Date
Tomas Kirda
6f46c46356 Use strict equality when comparing values. 2014-08-26 13:46:02 -05:00
Tomas Kirda
17c665557b Merge pull request #229 from ResultsMayVary/master
Only invalidate when value is actually changed
2014-08-26 13:44:17 -05:00
Tomas Kirda
dc34d70831 Cleanup white space, update code styling and naming. 2014-08-26 13:42:06 -05:00
Tomas Kirda
da54bac1ed Add ajaxSettings to src file (was in dist by mistake). 2014-08-26 13:29:33 -05:00
Trevor Parker
6840ce8e53 Only invalidate when value is actually changed 2014-08-26 13:33:44 -04:00
Tomas Kirda
00cefad1ae Add plugin alias. Fixes #153 2014-08-24 19:12:49 -05:00
Tomas Kirda
f73c77905a Rev for 1.2.11 release 2014-08-24 18:25:55 -05:00
Tomas Kirda
cf80d8e67b Use jQuery's trim and inArray so it works in IE8. Fixes #226 2014-08-24 18:21:54 -05:00
Tomas Kirda
74ea7e35f4 Rev for 1.2.10 release 2014-08-18 08:54:08 -05:00
Tomek Główka
562f152bf5 noSuggestions support extended to text, htmlString, Element and jQuery. 2014-07-27 17:03:59 +02:00
Tomek Główka
f69a9d0c5e FixPosition supports not just body, but any appendTo node. 2014-07-27 16:16:06 +02:00
Tomek Główka
46c1dd281d Added vertical orientation of suggestions. 2014-07-27 16:16:00 +02:00
Tomas Kirda
09c4e18558 Merge pull request #177 from polosantiago/master
Added an optional no-suggestions notice when no matching results
2014-07-13 13:04:46 +03:00
Tomas Kirda
ab157017f2 Don't update element value if it is the same. Fixes #182 2014-04-13 12:25:26 -05:00
Polo
80e940ffff Added an optional no-suggestions notice when no matching results
This feature aims to improve user experience and plugin's responsiveness
by providing instant feedback for empty searches.
2014-03-26 11:51:46 -07:00
Mario Andrés Correa
0b7f00dad0 onSearchComplete receives suggestions as second parameter
Added functionality and it’s specs.
In line 648 there is no need to serialise `result` as it will be
already serialised on line `511`.
2014-01-04 01:45:07 -05:00
Tomas Kirda
0ee2ba58dc Rename variable to avoid shadowing variable in the other scope. 2013-11-24 20:12:35 -06:00
Tomas Kirda
e5bbc205df Add flag to disable prevention of AJAX requests for future requests. Closes #122. 2013-11-24 16:01:37 -06:00
Tomas Kirda
4924da0b51 Rev for 1.2.9 release 2013-11-24 10:21:19 -06:00
Tomas Kirda
6dad72898a Add ability to limit results for local lookup. Closes #115. 2013-11-23 23:38:50 -06:00
Tomas Kirda
8278419a04 Improve caching logic. Make cache key to be combination of the serviceUrl and parameters. 2013-11-23 23:12:43 -06:00
Tomas Kirda
9f329d0c49 Add ability to select suggestion if it matches typed value. Fixes #113. 2013-11-23 21:43:40 -06:00
Tomas Kirda
d38ec91e6b Rev for 1.2.8 release 2013-11-23 17:26:19 -06:00
Tomas Kirda
f2aef10a5b Merge branch 'develop'
Conflicts:
	readme.md
2013-11-23 17:16:27 -06:00
Jan-Christian Foeh
82eb09328f Add onSearchError callback for handling AJAX failures 2013-10-01 15:56:39 +02:00
Tomas Kirda
f7716b6551 Add beforeRender callback. Closes #84 2013-08-31 17:13:27 -05:00
Tomas Kirda
684bf9efd7 Adjust suggestions width when resizing window, if width is set to auto. Fixes #92 2013-08-31 16:53:23 -05:00
Tomas Kirda
8d0b422da0 Cancel current request when disabling autocomplete. Closes #107 2013-08-31 16:39:46 -05:00
Tomas Kirda
d1ee9c0cf2 Remove innerHTML usage. Fixes #93. 2013-08-31 16:21:16 -05:00
Tomas Kirda
1906d93ff9 Enable support for minChars: 0. Fixes #95. 2013-08-31 16:16:00 -05:00
Tomas Kirda
2f260cec63 Select hint only if onHint callback specified. 2013-07-19 08:36:20 +03:00
Boris Cosic
5dc41fb0d5 Abort ajax requests in progress. 2013-07-13 17:18:41 -06:00
Tomas Kirda
6a9c2caaf7 Exit if there is no value for hint. 2013-06-27 16:25:47 -05:00
Tomas Kirda
e3e27bb066 Implement selection invalidation. 2013-06-07 19:21:24 -05:00
Tomas Kirda
a2bea849fc Create TypeScript definition file. 2013-06-07 18:38:50 -05:00
Tomas Kirda
5a6eaca541 Track hintValue and signal hint only when hintValue changes. 2013-06-07 17:52:54 -05:00
Tomas Kirda
adfbf7a4e9 Rename keyCode to which for consistency. Select hint on TAB or RIGHT arrow if hinting listener is set. 2013-06-07 16:53:19 -05:00
Tomas Kirda
835a039ba9 Don't adjust position on resize if suggestions not visible. 2013-06-04 18:17:42 -05:00
Tomas Kirda
cc0e124567 Implement onHint callback to enable hinted suggestions. 2013-06-04 18:12:51 -05:00
Tomas Kirda
ee584149d6 Update suggestions position on window resize. 2013-06-04 18:08:06 -05:00
Tomas Kirda
074c44e08e Remove ignoreValue change. Update input value so that onValueChange will not be triggered. 2013-06-04 18:01:31 -05:00
Tomas Kirda
54f24bd098 Remove sniffing for Opera. 2013-05-06 15:35:03 -05:00
Tomas Kirda
7c2121a598 Preserve original width option. Adjust width of the suggestions container each time if width is set to 'auto'. 2013-04-26 14:49:41 -05:00
Tomas Kirda
997a4b92cc Rev for 1.2.7 release 2013-04-24 16:08:01 -05:00
Tomas Kirda
6e055c1a58 Merge branch 'develop' 2013-04-24 16:04:09 -05:00
Tomas Kirda
9f62319033 Rev for 1.2.6 release 2013-04-24 15:57:23 -05:00
Tomas Kirda
d48616adb5 Construct serviceUrl via callback function. Fixes #66. 2013-04-24 15:48:05 -05:00
Tomas Kirda
941c8ee4e3 Don't perform lookup if onSearchStart returns false. Fixes #60. 2013-04-24 15:04:50 -05:00
Tomas Kirda
41543d98a4 Return instance of Autocomplete for the first matched element if called without arguments. 2013-04-24 14:55:34 -05:00
Tomas Kirda
d3bdb0a61b Add dispose method. Remove unused code. Destroy existing instance when creating new instance. Fixes #55. 2013-04-24 14:07:03 -05:00