xaver
2011-09-19 29922a384206926e5985aaec4c72139f8264a8ca
copied updated keypress submitpart to all other templates
1 files modified
6 ■■■■ changed files
interface/web/themes/default_combobox/templates/main.tpl.htm 6 ●●●● patch | view | raw | blame | history
interface/web/themes/default_combobox/templates/main.tpl.htm
@@ -79,9 +79,9 @@
        });
        
        //Use jQuery submit with kespress Enter in panel filterbar
        jQuery(document).bind("keypress", function(event) {
            if (event.which == '13' && $(".panel #Filter").length > 0) {
                $(".panel #Filter").attr("onsubmit",$(".panel #Filter").attr("onclick")).submit();
        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();
            }
        });