Lines 11-17
$(document).ready(function(){
Link Here
|
11 |
$('#patronRenewals #retrieving').show(); |
11 |
$('#patronRenewals #retrieving').show(); |
12 |
$.get('/api/v1/patrons/'+patronid+'/renewals?item_id='+itemid+'&embed=patron,renewed_by', function(data) { |
12 |
$.get('/api/v1/patrons/'+patronid+'/renewals?item_id='+itemid+'&embed=patron,renewed_by', function(data) { |
13 |
if (data.length < renewals) { |
13 |
if (data.length < renewals) { |
14 |
$('#patronRenewals #incomplete').append(note + ': ' + data.length + ' ' + out_of + ' ' + renewals + ' ' + renewals_logged).show(); |
14 |
$('#patronRenewals #incomplete').append(renewed_prop.format(data.length, renewals)).show(); |
15 |
} |
15 |
} |
16 |
var items = data.map(function(item) { |
16 |
var items = data.map(function(item) { |
17 |
return createLi(item); |
17 |
return createLi(item); |
18 |
- |
|
|