|
Lines 309-315
Link Here
|
| 309 |
}); |
309 |
}); |
| 310 |
|
310 |
|
| 311 |
$(document).ready(function() { |
311 |
$(document).ready(function() { |
| 312 |
[% UNLESS (patron ) %] |
312 |
if ( $( "#patron" ).size() ){ |
| 313 |
$( "#patron" ).autocomplete({ |
313 |
$( "#patron" ).autocomplete({ |
| 314 |
source: "/cgi-bin/koha/circ/ysearch.pl", |
314 |
source: "/cgi-bin/koha/circ/ysearch.pl", |
| 315 |
minLength: 3, |
315 |
minLength: 3, |
|
Lines 328-334
Link Here
|
| 328 |
item.country + "</small></a>" ) |
328 |
item.country + "</small></a>" ) |
| 329 |
.appendTo( ul ); |
329 |
.appendTo( ul ); |
| 330 |
}; |
330 |
}; |
| 331 |
[% END %] |
331 |
} |
| 332 |
|
332 |
|
| 333 |
$( ".ar-update-branchcode" ).on('focus', function(){ |
333 |
$( ".ar-update-branchcode" ).on('focus', function(){ |
| 334 |
previous_branchcode = this.value; |
334 |
previous_branchcode = this.value; |
| 335 |
- |
|
|