xaver
2011-09-14 964c032fdc6e4c105ceaa58598262ed3ce458443
new selector for submit + button height in autocompelte is read from input before
1 files modified
8 ■■■■■ changed files
interface/web/themes/default_combobox/templates/main.tpl.htm 8 ●●●●● patch | view | raw | blame | history
interface/web/themes/default_combobox/templates/main.tpl.htm
@@ -67,14 +67,15 @@
            document.getElementsByTagName("head")[0].appendChild(style);
        }
        jQuery(document).ready(function() {
            loadInitContent();
        });
        //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();
            }
        });
@@ -148,6 +149,7 @@
                this.button = $( "<button type='button'>&nbsp;</button>" )
                    .attr( "tabIndex", -1 )
                    .attr( "title", "Show All Items" )
                    .height($(input).outerHeight())
                    .insertAfter( input )
                    .button({
                        icons: {