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

(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/patron-search-box.inc (-2 / +2 lines)
Lines 4-10 Link Here
4
    <label class="tip" for="findborrower">Enter patron card number or partial name:</label>
4
    <label class="tip" for="findborrower">Enter patron card number or partial name:</label>
5
    [% IF ( PatronAutoComplete ) %]
5
    [% IF ( PatronAutoComplete ) %]
6
    <div class="autocomplete">
6
    <div class="autocomplete">
7
                <input autocomplete="off" id="findborrower" name="findborrower" size="40" class="head-searchbox focus" type="text" />
7
                <input autocomplete="off" id="findborrower" name="findborrower" size="40" class="head-searchbox" type="text" />
8
                <input id="autocsubmit" type="submit" class="submit" value="Submit" />
8
                <input id="autocsubmit" type="submit" class="submit" value="Submit" />
9
            [% IF ( stickyduedate ) %]
9
            [% IF ( stickyduedate ) %]
10
                <input type="hidden" name="duedatespec" value="[% duedatespec | html %]" />
10
                <input type="hidden" name="duedatespec" value="[% duedatespec | html %]" />
Lines 12-18 Link Here
12
            [% END %]
12
            [% END %]
13
        </div>
13
        </div>
14
	[% ELSE %]
14
	[% ELSE %]
15
            <input id="findborrower" name="findborrower" size="40" class="head-searchbox focus" type="text" autocomplete="off" />
15
            <input id="findborrower" name="findborrower" size="40" class="head-searchbox" type="text" autocomplete="off" />
16
            [% IF ( stickyduedate ) %]
16
            [% IF ( stickyduedate ) %]
17
            <input type="hidden" name="duedatespec" value="[% duedatespec | html %]" />
17
            <input type="hidden" name="duedatespec" value="[% duedatespec | html %]" />
18
            <input type="hidden" name="stickyduedate" value="[% stickyduedate | html %]" />
18
            <input type="hidden" name="stickyduedate" value="[% stickyduedate | html %]" />
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/patron-search-header.inc (-1 / +1 lines)
Lines 11-17 Link Here
11
    <form action="/cgi-bin/koha/members/member.pl" method="post">
11
    <form action="/cgi-bin/koha/members/member.pl" method="post">
12
        <label class="tip" for="searchmember">Enter patron card number or partial name:</label>
12
        <label class="tip" for="searchmember">Enter patron card number or partial name:</label>
13
    <div class="autocomplete">
13
    <div class="autocomplete">
14
        <input id="searchmember" data-toggle="tooltip" size="25" class="head-searchbox focus" name="searchmember" type="text" value="[% searchmember | html %]" autocomplete="off" />
14
        <input id="searchmember" data-toggle="tooltip" size="25" class="head-searchbox" name="searchmember" type="text" value="[% searchmember | html %]" autocomplete="off" />
15
        <input type="hidden" name="quicksearch" value="1" />
15
        <input type="hidden" name="quicksearch" value="1" />
16
        <span class="filteraction" id="filteraction_off"> <a href="#">[-]</a></span>
16
        <span class="filteraction" id="filteraction_off"> <a href="#">[-]</a></span>
17
        <span class="filteraction" id="filteraction_on"> <a href="#">[+]</a></span>
17
        <span class="filteraction" id="filteraction_on"> <a href="#">[+]</a></span>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/admin-home.tt (-8 lines)
Lines 275-286 Link Here
275
    </div>
275
    </div>
276
</div>
276
</div>
277
277
278
[% MACRO jsinclude BLOCK %]
279
    <script>
280
        $(document).ready(function(){
281
            $("input[class='head-searchbox'][name='searchfield']").focus();
282
        });
283
    </script>
284
[% END %]
285
286
[% INCLUDE 'intranet-bottom.inc' %]
278
[% INCLUDE 'intranet-bottom.inc' %]
(-)a/koha-tmpl/intranet-tmpl/prog/js/staff-global.js (-2 / +8 lines)
Lines 49-55 $.fn.selectTabByID = function (tabID) { Link Here
49
};
49
};
50
50
51
$(document).ready(function() {
51
$(document).ready(function() {
52
    $('#header_search').tabs().on( "tabsactivate", function() { $(this).find("div:visible").find('input').eq(0).focus(); });
52
    $('#header_search').tabs({
53
        create: function( e, ui ){
54
            ui.panel.find("input:text:first").focus();
55
        },
56
        activate: function ( e, ui ) {
57
            ui.newPanel.find("input:text:first").focus();
58
        }
59
    });
53
60
54
    $(".close").click(function(){ window.close(); });
61
    $(".close").click(function(){ window.close(); });
55
62
56
- 

Return to bug 30640