Bug 27170: Fix bug fix
<sigh> This commit fixes the incorrect bug fix from the previous commit Signed-off-by: Holly Cooper <hc@interleaf.ie> Signed-off-by: Barry Cannon <bc@interleaf.ie> Signed-off-by: Nick Clemens <nick@bywatersolutions.com> Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
This commit is contained in:
parent
7811505506
commit
567557117a
2 changed files with 2 additions and 2 deletions
|
@ -1,7 +1,7 @@
|
|||
$(document).ready(function() {
|
||||
|
||||
var getLinks = function(row) {
|
||||
if (row.links && row.links.length === 0) {
|
||||
if (!row.links || row.links.length === 0) {
|
||||
return false;
|
||||
}
|
||||
return row.links.map(function(link) {
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
$(document).ready(function() {
|
||||
|
||||
var getLinks = function(row) {
|
||||
if (row.links && row.links.length === 0) {
|
||||
if (!row.links || row.links.length === 0) {
|
||||
return false;
|
||||
}
|
||||
return row.links.map(function(link) {
|
||||
|
|
Loading…
Reference in a new issue