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
Zvonimir
ISPConfig 3
Commits
68234593
Commit
68234593
authored
Sep 19, 2011
by
xaver
Browse files
copied updated keypress submitpart to all other templates
parent
1ce0bbf9
Changes
1
Hide whitespace changes
Inline
Side-by-side
interface/web/themes/default_combobox/templates/main.tpl.htm
View file @
68234593
...
...
@@ -79,9 +79,9 @@
});
//Use jQuery submit with kespress Enter in panel filterbar
jQuery
(
"
.panel .list input
"
).
live
(
"
keypress
"
,
function
(
event
)
{
if
(
event
.
which
==
'
13
'
&&
$
(
this
).
parents
(
"
tr
"
).
find
(
"
#Filter
"
)
)
{
$
(
this
).
parents
(
"
tr
"
).
find
(
"
#Filter
"
).
attr
(
"
onsubmit
"
,
$
(
"
.panel #Filter
"
).
attr
(
"
onclick
"
)).
submit
();
jQuery
(
document
).
bind
(
"
keypress
"
,
function
(
event
)
{
if
(
event
.
which
==
'
13
'
&&
$
(
"
.panel #Filter
"
).
length
>
0
)
{
$
(
"
.panel
#Filter
"
).
attr
(
"
onsubmit
"
,
$
(
"
.panel #Filter
"
).
attr
(
"
onclick
"
)).
submit
();
}
});
...
...
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