|
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 324-330
function filterByFirstLetterSurname(letter) {
Link Here
|
| 324 |
<div class="yui-b"> |
324 |
<div class="yui-b"> |
| 325 |
<div class="yui-g"> |
325 |
<div class="yui-g"> |
| 326 |
[% IF CAN_user_tools_manage_patron_lists %] |
326 |
[% IF CAN_user_tools_manage_patron_lists %] |
| 327 |
<div id="patron_list_dialog" class="dialog alert"> |
327 |
<div id="patron_list_dialog" class="dialog alert" style="display:none"> |
| 328 |
Added <span class="patrons-length"></span> patrons to <a></a>. |
328 |
Added <span class="patrons-length"></span> patrons to <a></a>. |
| 329 |
</div> |
329 |
</div> |
| 330 |
[% END %] |
330 |
[% END %] |
|
Lines 351-357
function filterByFirstLetterSurname(letter) {
Link Here
|
| 351 |
</div> |
351 |
</div> |
| 352 |
[% END %] |
352 |
[% END %] |
| 353 |
|
353 |
|
| 354 |
<div id="searchresults"> |
354 |
<div id="searchresults" style="display:none"> |
| 355 |
<div id="searchheader"> |
355 |
<div id="searchheader"> |
| 356 |
<h3>Patrons found for: <span id="searchpattern">[% IF searchmember %] for '[% searchmember %]'[% END %]</span></h3> |
356 |
<h3>Patrons found for: <span id="searchpattern">[% IF searchmember %] for '[% searchmember %]'[% END %]</span></h3> |
| 357 |
</div> |
357 |
</div> |
| 358 |
- |
|
|