Lines 65-72
$(document).ready(function() {
Link Here
|
65 |
content = ""; |
65 |
content = ""; |
66 |
if ( data.returned ) { |
66 |
if ( data.returned ) { |
67 |
content = CIRCULATION_RETURNED; |
67 |
content = CIRCULATION_RETURNED; |
|
|
68 |
$(id).parent().parent().addClass('ok'); |
69 |
$('#date_due_' + data.itemnumber).html(_("Returned")); |
68 |
} else { |
70 |
} else { |
69 |
content = CIRCULATION_NOT_RETURNED; |
71 |
content = CIRCULATION_NOT_RETURNED; |
|
|
72 |
$(id).parent().parent().addClass('warn'); |
70 |
} |
73 |
} |
71 |
|
74 |
|
72 |
$(id).replaceWith( content ); |
75 |
$(id).replaceWith( content ); |
73 |
- |
|
|