Lines 94-99
$(document).ready(function() {
Link Here
|
94 |
var content = ""; |
94 |
var content = ""; |
95 |
if ( data.renew_okay ) { |
95 |
if ( data.renew_okay ) { |
96 |
content = CIRCULATION_RENEWED_DUE + " " + data.date_due; |
96 |
content = CIRCULATION_RENEWED_DUE + " " + data.date_due; |
|
|
97 |
$('#date_due_' + data.itemnumber).replaceWith( data.date_due ); |
97 |
} else { |
98 |
} else { |
98 |
content = CIRCULATION_RENEW_FAILED + " "; |
99 |
content = CIRCULATION_RENEW_FAILED + " "; |
99 |
if ( data.error == "no_checkout" ) { |
100 |
if ( data.error == "no_checkout" ) { |
Lines 201-206
$(document).ready(function() {
Link Here
|
201 |
due += "<span class='dmg'>" + oObj.damaged + "</span>"; |
202 |
due += "<span class='dmg'>" + oObj.damaged + "</span>"; |
202 |
} |
203 |
} |
203 |
|
204 |
|
|
|
205 |
due = "<span id='date_due_" + oObj.itemnumber + "' class='date_due'>" + due + "</span>"; |
206 |
|
204 |
return due; |
207 |
return due; |
205 |
} |
208 |
} |
206 |
}, |
209 |
}, |
207 |
- |
|
|