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

(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/auth-finder-search.inc (-1 / +1 lines)
Lines 179-184 Link Here
179
            </ol>
179
            </ol>
180
        </fieldset>
180
        </fieldset>
181
        [% END %]
181
        [% END %]
182
        <fieldset class="action"> <input type="submit" value="Search" class="submit" id="search" /> <a id="clear-form" href="#" class="btn btn-link">Clear form</a> <a id="cancel" class="cancel close" href="#">Cancel</a>
182
        <fieldset class="action"> <input type="submit" value="Search" class="submit" id="search" /> <input type="reset" id="clear-form" value="Clear form"> <a id="cancel" class="cancel close" href="#">Cancel</a>
183
        </fieldset>
183
        </fieldset>
184
</form>
184
</form>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/authorities/auth_finder.tt (+11 lines)
Lines 4-9 Link Here
4
[% INCLUDE 'doc-head-open.inc' %]
4
[% INCLUDE 'doc-head-open.inc' %]
5
<title>Cataloging authority plugin &rsaquo; Koha</title>
5
<title>Cataloging authority plugin &rsaquo; Koha</title>
6
[% INCLUDE 'doc-head-close.inc' %]
6
[% INCLUDE 'doc-head-close.inc' %]
7
<style>
8
#clear-form {
9
    border:0;
10
    background:none;
11
    color:#004d99;
12
    padding-left:1em;
13
}
14
#clear-form:hover {
15
    color:#538200;
16
}
17
</style>
7
</head>
18
</head>
8
19
9
<body id="auth_auth_finder" class="auth">
20
<body id="auth_auth_finder" class="auth">
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/authorities/searchresultlist-auth.tt (+9 lines)
Lines 15-20 Link Here
15
.usefor li {
15
.usefor li {
16
    list-style-type: none;
16
    list-style-type: none;
17
}
17
}
18
#clear-form {
19
    border:0;
20
    background:none;
21
    color:#004d99;
22
    padding-left:1em;
23
}
24
#clear-form:hover {
25
    color:#538200;
26
}
18
</style>
27
</style>
19
</head>
28
</head>
20
29
(-)a/koha-tmpl/intranet-tmpl/prog/js/auth-finder-search.js (-2 / +9 lines)
Lines 94-100 $(document).ready(function(){ Link Here
94
        minLength: 3,
94
        minLength: 3,
95
    });
95
    });
96
    $("#clear-form").click(function(){
96
    $("#clear-form").click(function(){
97
        $(":input[type='text']").val('');
97
        setTimeout(function(){
98
            $(":input[type='text']").val('');
99
            $("#mainmainentry").val("contains");
100
            $("#mainentry").val("contains");
101
            $("#marclistheading").val("contains");
102
            $("#marclistanywhere").val("contains");
103
            $("#orderby").val("HeadingAsc");
104
        }, 50);
105
        return true;
98
    });
106
    });
99
});
107
});
100
108
101
- 

Return to bug 31132