[open-ils-commits] r9009 - trunk/Open-ILS/web/opac/skin/default/js
svn at svn.open-ils.org
svn at svn.open-ils.org
Fri Mar 14 10:02:20 EDT 2008
Author: miker
Date: 2008-03-14 09:28:43 -0400 (Fri, 14 Mar 2008)
New Revision: 9009
Modified:
trunk/Open-ILS/web/opac/skin/default/js/result_common.js
Log:
thinkos ... it seems to be working now
Modified: trunk/Open-ILS/web/opac/skin/default/js/result_common.js
===================================================================
--- trunk/Open-ILS/web/opac/skin/default/js/result_common.js 2008-03-14 13:00:32 UTC (rev 9008)
+++ trunk/Open-ILS/web/opac/skin/default/js/result_common.js 2008-03-14 13:28:43 UTC (rev 9009)
@@ -3,7 +3,7 @@
var recordsCache = [];
var lowHitCount = 4;
var isbnList = '';
-var googleBooks = false;
+var googleBooks = true;
var resultFetchAllRecords = false;
var resultCompiledSearch = null;
@@ -400,10 +400,10 @@
for ( var i in data ) {
if (data[i].preview == 'noview') continue;
- var gbspan = $n('googleBooks-' + i);
- var gba = $n("googleBooks-link",gbspan)
+ var gbspan = $n(document.documentElement, 'googleBooks-' + i);
+ var gba = $n(gbspan, "googleBooks-link");
- gba..setAttribute(
+ gba.setAttribute(
'href',
data[i].info_url
);
More information about the open-ils-commits
mailing list