From 645e854edd0d530777933b1c5c2529d0b619bad7 Mon Sep 17 00:00:00 2001 From: Dan Scott Date: Sat, 28 May 2011 00:00:47 -0400 Subject: [PATCH] Duh. == not = for an equality test Signed-off-by: Dan Scott --- Open-ILS/web/opac/skin/default/js/result_common.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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); } }); -- 2.11.0