Reapply patch to Suggest to allow type param to be passed through to

Search
This commit is contained in:
Tom Morris 2013-08-10 17:59:15 -04:00
parent 4fd20f1b4e
commit cafdb5c70a
2 changed files with 3 additions and 3 deletions

View File

@ -384,7 +384,7 @@ function init() {
"externals/jquery-1.7.2.min.js", "externals/jquery-1.7.2.min.js",
"externals/jquery.cookie.js", "externals/jquery.cookie.js",
"externals/jquery.eventstack-0.3.js", "externals/jquery.eventstack-0.3.js",
"externals/suggest/suggest-4_3.min.js", "externals/suggest/suggest-4_3.js",
"externals/jquery-ui/jquery-ui-1.8.20.custom.min.js", "externals/jquery-ui/jquery-ui-1.8.20.custom.min.js",
"externals/imgareaselect/jquery.imgareaselect.js", "externals/imgareaselect/jquery.imgareaselect.js",
"externals/date.js", "externals/date.js",
@ -490,7 +490,7 @@ function init() {
[ [
"externals/jquery-1.7.2.min.js", "externals/jquery-1.7.2.min.js",
"externals/jquery.cookie.js", "externals/jquery.cookie.js",
"externals/suggest/suggest-4_3.min.js", "externals/suggest/suggest-4_3.js",
"externals/jquery-ui/jquery-ui-1.8.20.custom.min.js", "externals/jquery-ui/jquery-ui-1.8.20.custom.min.js",
"externals/imgareaselect/jquery.imgareaselect.js", "externals/imgareaselect/jquery.imgareaselect.js",
"externals/date.js", "externals/date.js",

View File

@ -87,7 +87,7 @@
var SEARCH_PARAMS = { var SEARCH_PARAMS = {
key:1, filter:1, spell:1, exact:1, key:1, filter:1, spell:1, exact:1,
lang:1, scoring:1, prefixed:1, stemmed:1, format:1, mql_output:1, lang:1, scoring:1, prefixed:1, stemmed:1, format:1, mql_output:1,
output:1 output:1, type:1
}; };
$.suggest = function(name, prototype) { $.suggest = function(name, prototype) {