Lines 672-677
function patron_autocomplete(node, options) {
Link Here
|
672 |
} else { |
672 |
} else { |
673 |
loggedInClass = ""; |
673 |
loggedInClass = ""; |
674 |
} |
674 |
} |
|
|
675 |
|
675 |
return $("<li></li>") |
676 |
return $("<li></li>") |
676 |
.addClass(loggedInClass) |
677 |
.addClass(loggedInClass) |
677 |
.data("ui-autocomplete-item", item) |
678 |
.data("ui-autocomplete-item", item) |
Lines 695-706
function patron_autocomplete(node, options) {
Link Here
|
695 |
__("years") + |
696 |
__("years") + |
696 |
")</span>," |
697 |
")</span>," |
697 |
: "") + |
698 |
: "") + |
698 |
" " + |
699 |
" "+ |
699 |
$format_address(item, { |
700 |
$format_address(item, { |
700 |
no_line_break: true, |
701 |
no_line_break: true, |
701 |
include_li: false, |
702 |
include_li: false, |
702 |
}) + |
703 |
}) |
703 |
" " + |
704 |
" " + |
704 |
(!singleBranchMode |
705 |
(!singleBranchMode |
705 |
? '<span class="ac-library">' + |
706 |
? '<span class="ac-library">' + |
706 |
item.library.name.escapeHtml() + |
707 |
item.library.name.escapeHtml() + |
Lines 708-717
function patron_autocomplete(node, options) {
Link Here
|
708 |
: "") + |
709 |
: "") + |
709 |
"</small>" + |
710 |
"</small>" + |
710 |
"</a>" |
711 |
"</a>" |
711 |
) |
712 |
) |
712 |
.appendTo(ul); |
713 |
.appendTo(ul); |
713 |
}); |
714 |
}); |
714 |
} |
715 |
} |
715 |
|
716 |
|
716 |
function expandPatronSearchFields(search_fields) { |
717 |
function expandPatronSearchFields(search_fields) { |
717 |
switch (search_fields) { |
718 |
switch (search_fields) { |
718 |
- |
|
|