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

(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/js_includes.inc (-4 / +5 lines)
Lines 69-80 Link Here
69
    </script>
69
    </script>
70
[% END %]
70
[% END %]
71
71
72
[% IF ( PatronAutoComplete ) %]
72
<script>
73
    <script>
74
    // PatronAutoComplete
75
    var defaultPatronSearchFields = "[% Koha.Preference('DefaultPatronSearchFields') || 'firstname,middle_name,surname,othernames,cardnumber,userid' | html %]";
73
    var defaultPatronSearchFields = "[% Koha.Preference('DefaultPatronSearchFields') || 'firstname,middle_name,surname,othernames,cardnumber,userid' | html %]";
76
    var loggedInLibrary = '[% Branches.GetLoggedInBranchcode | html %]';
74
    var loggedInLibrary = '[% Branches.GetLoggedInBranchcode | html %]';
77
    var singleBranchMode = '[% singleBranchMode | html %]';
75
    var singleBranchMode = '[% singleBranchMode | html %]';
76
</script>
77
[% IF ( PatronAutoComplete ) %]
78
    <script>
79
    // PatronAutoComplete
78
    var loggedInClass = "";
80
    var loggedInClass = "";
79
    $(document).ready(function(){
81
    $(document).ready(function(){
80
        [% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]
82
        [% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]
81
- 

Return to bug 33829