Skip to content
Snippets Groups Projects
Commit 964c032f authored by xaver's avatar xaver
Browse files

new selector for submit + button height in autocompelte is read from input before

parent 81c31c61
No related branches found
No related tags found
No related merge requests found
......@@ -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: {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment