| | |
| | | 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(); |
| | | } |
| | | }); |
| | | |
| | |
| | | this.button = $( "<button type='button'> </button>" ) |
| | | .attr( "tabIndex", -1 ) |
| | | .attr( "title", "Show All Items" ) |
| | | .height($(input).outerHeight()) |
| | | .insertAfter( input ) |
| | | .button({ |
| | | icons: { |