Commit 68234593 authored by xaver's avatar xaver
Browse files

copied updated keypress submitpart to all other templates

parent 1ce0bbf9
...@@ -79,9 +79,9 @@ ...@@ -79,9 +79,9 @@
}); });
//Use jQuery submit with kespress Enter in panel filterbar //Use jQuery submit with kespress Enter in panel filterbar
jQuery(".panel .list input").live("keypress", function(event) { jQuery(document).bind("keypress", function(event) {
if (event.which == '13' && $(this).parents("tr").find("#Filter")) { if (event.which == '13' && $(".panel #Filter").length > 0) {
$(this).parents("tr").find("#Filter").attr("onsubmit",$(".panel #Filter").attr("onclick")).submit(); $(".panel #Filter").attr("onsubmit",$(".panel #Filter").attr("onclick")).submit();
} }
}); });
......
Supports Markdown
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