View | Details | Raw Unified | Return to bug 27170
Collapse All | Expand All

(-)a/koha-tmpl/intranet-tmpl/prog/js/ill-availability.js (-1 / +1 lines)
Lines 1-7 Link Here
1
$(document).ready(function() {
1
$(document).ready(function() {
2
2
3
    var getLinks = function(row) {
3
    var getLinks = function(row) {
4
        if (row.links && row.links.length === 0) {
4
        if (!row.links || row.links.length === 0) {
5
            return false;
5
            return false;
6
        }
6
        }
7
        return row.links.map(function(link) {
7
        return row.links.map(function(link) {
(-)a/koha-tmpl/opac-tmpl/bootstrap/js/ill-availability.js (-2 / +1 lines)
Lines 1-7 Link Here
1
$(document).ready(function() {
1
$(document).ready(function() {
2
2
3
    var getLinks = function(row) {
3
    var getLinks = function(row) {
4
        if (row.links && row.links.length === 0) {
4
        if (!row.links || row.links.length === 0) {
5
            return false;
5
            return false;
6
        }
6
        }
7
        return row.links.map(function(link) {
7
        return row.links.map(function(link) {
8
- 

Return to bug 27170