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 158-163 Link Here
158
            </ol>
158
            </ol>
159
        </fieldset>
159
        </fieldset>
160
        [% END %]
160
        [% END %]
161
        <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>
161
        <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>
162
        </fieldset>
162
        </fieldset>
163
</form>
163
</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/js/auth-finder-search.js (-2 / +4 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
        }, 50);
100
        return true;
98
    });
101
    });
99
});
102
});
100
103
101
- 

Return to bug 31132