Commit 9d6d30ac authored by xaver's avatar xaver

copied updated keypress submitpart to all other templates

parent 29922a38
......@@ -77,9 +77,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();
}
});
......
......@@ -77,9 +77,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();
}
});
</script>
......
......@@ -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();
}
});
......
......@@ -77,9 +77,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();
}
});
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment