From: Dan Scott Date: Sat, 28 May 2011 04:00:47 +0000 (-0400) Subject: Duh. == not = for an equality test X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=645e854edd0d530777933b1c5c2529d0b619bad7;p=working%2FEvergreen.git Duh. == not = for an equality test Signed-off-by: Dan Scott --- diff --git a/Open-ILS/web/opac/skin/default/js/result_common.js b/Open-ILS/web/opac/skin/default/js/result_common.js index 6b50eb1f1a..523ca7c735 100644 --- a/Open-ILS/web/opac/skin/default/js/result_common.js +++ b/Open-ILS/web/opac/skin/default/js/result_common.js @@ -717,8 +717,8 @@ function renderOpenLibraryLinks(response) { /* Find matching items by their fromEdition key */ dojo.forEach(results.items, function (item) { /* Populate the links if we have a match */ - if (item.fromRecord = oled) { - var lnode = dojo.query('span[name="googleBooksLink-' + isbn + '"'); + if (item.fromRecord == oled) { + /* alert for now */ alert(item.status + ' ' + item.match + ' ' + item.url); } });