Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Register
Sign in
Toggle navigation
Menu
Open sidebar
Guilherme Filippo
ISPConfig 3
Commits
81c31c61
Commit
81c31c61
authored
Sep 13, 2011
by
xaver
Browse files
autocomplte fix and empty is still where
parent
7dc6037b
Changes
1
Hide whitespace changes
Inline
Side-by-side
interface/web/themes/default_combobox/templates/main.tpl.htm
View file @
81c31c61
...
...
@@ -97,7 +97,7 @@
var
matcher
=
new
RegExp
(
$
.
ui
.
autocomplete
.
escapeRegex
(
request
.
term
),
"
i
"
);
response
(
select
.
children
(
"
option
"
).
map
(
function
()
{
var
text
=
$
(
this
).
text
();
//
if (
this.value &&
( !request.term || matcher.test(text) ) )
if
((
!
request
.
term
||
matcher
.
test
(
text
)
)
)
return
{
label
:
text
.
replace
(
new
RegExp
(
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment