Bug 13618: (follow-up) Escape HTML chars in holds.js
For biblio level holds we got: TypeError: oObj.itemcallnumber is undefined Signed-off-by: Owen Leonard <oleonard@myacpl.org> Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
This commit is contained in:
parent
8d61035e85
commit
726a61ac65
|
|
@ -47,7 +47,7 @@ $(document).ready(function() {
|
|||
},
|
||||
{
|
||||
"mDataProp": function( oObj ) {
|
||||
return oObj.itemcallnumber.escapeHtml() || "";
|
||||
return oObj.itemcallnumber && oObj.itemcallnumber.escapeHtml() || "";
|
||||
}
|
||||
},
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in New Issue