View | Details | Raw Unified | Return to bug 29956
Collapse All | Expand All

(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-advsearch.tt (-3 / +2 lines)
Lines 9-15 Link Here
9
</head>
9
</head>
10
[% INCLUDE 'bodytag.inc' bodyid='advsearch' bodyclass='scrollto' %]
10
[% INCLUDE 'bodytag.inc' bodyid='advsearch' bodyclass='scrollto' %]
11
[% INCLUDE 'masthead.inc' %]
11
[% INCLUDE 'masthead.inc' %]
12
<form action="/cgi-bin/koha/opac-search.pl" method="get">
12
<form id="advsearch_form" action="/cgi-bin/koha/opac-search.pl" method="get">
13
    <input type="hidden" name="advsearch" value="1"/>
13
    <input type="hidden" name="advsearch" value="1"/>
14
    <div class="main">
14
    <div class="main">
15
        <nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumbs">
15
        <nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumbs">
Lines 500-506 $(document).ready(function() { Link Here
500
        jQuery.removeCookie("form_serialized_limits", { path: '/'});
500
        jQuery.removeCookie("form_serialized_limits", { path: '/'});
501
        jQuery.removeCookie("search_path_code", { path: '/'});
501
        jQuery.removeCookie("search_path_code", { path: '/'});
502
    [% END %]
502
    [% END %]
503
    $('#advsearch form').submit(function() {
503
    $('#advsearch_form').submit(function() {
504
        $('[name^="limit"]').each(function(){
504
        $('[name^="limit"]').each(function(){
505
            if( $(this).val() == '' ){
505
            if( $(this).val() == '' ){
506
                $(this).prop("disabled","disabled");
506
                $(this).prop("disabled","disabled");
507
- 

Return to bug 29956