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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/authorised_values.tt (-6 / +3 lines)
Lines 195-202 Link Here
195
195
196
    <form action="/cgi-bin/koha/admin/authorised_values.pl" method="get" id="category">
196
    <form action="/cgi-bin/koha/admin/authorised_values.pl" method="get" id="category">
197
        <p>
197
        <p>
198
            <label for="searchfield">Show category: </label>
198
            <label for="category_search">Show category: </label>
199
            <select name="searchfield" id="searchfield" size="1">
199
            <select name="searchfield" id="category_search" size="1">
200
                [% FOR c IN categories %]
200
                [% FOR c IN categories %]
201
                    [% IF c == searchfield %]
201
                    [% IF c == searchfield %]
202
                        <option value="[% c | html %]" selected="selected">[% c | html %]</option>
202
                        <option value="[% c | html %]" selected="selected">[% c | html %]</option>
Lines 205-211 Link Here
205
                    [% END %]
205
                    [% END %]
206
                [% END %]
206
                [% END %]
207
            </select>
207
            </select>
208
            <input type="submit" value="Submit" />
209
        </p>
208
        </p>
210
    </form>
209
    </form>
211
210
Lines 329-336 Link Here
329
            $("a.delete").click(function(){
328
            $("a.delete").click(function(){
330
                return confirm(_("Are you sure you want to delete this authorized value?"));
329
                return confirm(_("Are you sure you want to delete this authorized value?"));
331
            });
330
            });
332
            $('#category').find("input:submit").hide();
331
            $('#category_search').change(function() {
333
            $('#searchfield').change(function() {
334
                $('#category').submit();
332
                $('#category').submit();
335
            });
333
            });
336
            $(".library_limitation").tooltip();
334
            $(".library_limitation").tooltip();
337
- 

Return to bug 27703