Lines 37-43
$(document).ready(function() {
Link Here
|
37 |
} |
37 |
} |
38 |
}); |
38 |
}); |
39 |
|
39 |
|
40 |
$("#patron_list_dialog").hide(); |
|
|
41 |
$("#add_to_patron_list_submit").on('click', function(e){ |
40 |
$("#add_to_patron_list_submit").on('click', function(e){ |
42 |
if ( $('#add_to_patron_list').val() == 'new' ) { |
41 |
if ( $('#add_to_patron_list').val() == 'new' ) { |
43 |
if ( $('#new_patron_list').val() ) { |
42 |
if ( $('#new_patron_list').val() ) { |
Lines 132-139
$(document).ready(function() {
Link Here
|
132 |
[% END %] |
131 |
[% END %] |
133 |
|
132 |
|
134 |
[% IF view != "show_results" %] |
133 |
[% IF view != "show_results" %] |
135 |
$("#searchresults").hide(); |
|
|
136 |
search = 0; |
134 |
search = 0; |
|
|
135 |
[% ELSE %] |
136 |
$("#searchresults").show(); |
137 |
[% END %] |
137 |
[% END %] |
138 |
|
138 |
|
139 |
// Build the aLengthMenu |
139 |
// Build the aLengthMenu |
Lines 328-334
function filterByFirstLetterSurname(letter) {
Link Here
|
328 |
<div class="yui-b"> |
328 |
<div class="yui-b"> |
329 |
<div class="yui-g"> |
329 |
<div class="yui-g"> |
330 |
[% IF CAN_user_tools_manage_patron_lists %] |
330 |
[% IF CAN_user_tools_manage_patron_lists %] |
331 |
<div id="patron_list_dialog" class="dialog alert"> |
331 |
<div id="patron_list_dialog" class="dialog alert" style="display:none"> |
332 |
Added <span class="patrons-length"></span> patrons to <a></a>. |
332 |
Added <span class="patrons-length"></span> patrons to <a></a>. |
333 |
</div> |
333 |
</div> |
334 |
[% END %] |
334 |
[% END %] |
Lines 355-361
function filterByFirstLetterSurname(letter) {
Link Here
|
355 |
</div> |
355 |
</div> |
356 |
[% END %] |
356 |
[% END %] |
357 |
|
357 |
|
358 |
<div id="searchresults"> |
358 |
<div id="searchresults" style="display:none"> |
359 |
<div id="searchheader"> |
359 |
<div id="searchheader"> |
360 |
<h3>Patrons found for: <span id="searchpattern">[% IF searchmember %] for '[% searchmember %]'[% END %]</span></h3> |
360 |
<h3>Patrons found for: <span id="searchpattern">[% IF searchmember %] for '[% searchmember %]'[% END %]</span></h3> |
361 |
</div> |
361 |
</div> |
362 |
- |
|
|