@@ -, +, @@ render --- koha-tmpl/intranet-tmpl/prog/en/css/staff-global.css | 9 +++++++++ koha-tmpl/intranet-tmpl/prog/en/js/staff-global.js | 2 ++ 2 files changed, 11 insertions(+) --- a/koha-tmpl/intranet-tmpl/prog/en/css/staff-global.css +++ a/koha-tmpl/intranet-tmpl/prog/en/css/staff-global.css @@ -2281,6 +2281,15 @@ ul.ui-tabs-nav li { border-radius: 0 0 4px 4px; } +#header_search > div, +#header_search > ul > li { + display: none; +} +#header_search > div:first-of-type, +#header_search > ul > li:first-of-type { + display: block; +} + .authref { font-style: normal; text-indent: 4em; --- a/koha-tmpl/intranet-tmpl/prog/en/js/staff-global.js +++ a/koha-tmpl/intranet-tmpl/prog/en/js/staff-global.js @@ -34,6 +34,8 @@ $.fn.selectTabByID = function (tabID) { if($("#header_search #catalog_search").length > 0){ shortcut.add('Alt+q',function (){ $("#header_search").selectTabByID("#catalog_search"); $("#search-form").focus(); }); } else { shortcut.add('Alt+q',function(){ location.href="/cgi-bin/koha/catalogue/search.pl"; }); } if($("#header_search #renew_search").length > 0){ shortcut.add('Alt+y',function (){ $("#header_search").selectTabByID("#renew_search"); $("#ren_barcode").focus(); }); } else { shortcut.add('Alt+y',function(){ location.href="/cgi-bin/koha/circ/renew.pl"; }); } + $("#header_search > ul > li").show(); + $(".focus").focus(); $(".validated").each(function() { $(this).validate(); --