From 49f6336cda354501b31a6d8a358955fce39a7ea7 Mon Sep 17 00:00:00 2001 From: Paul Pound Date: Thu, 23 Oct 2014 10:28:16 -0300 Subject: [PATCH] check for pdflink value for full text link --- targets/eds/js/eds_results_article.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/targets/eds/js/eds_results_article.js b/targets/eds/js/eds_results_article.js index 5c5ee0e..85731c5 100644 --- a/targets/eds/js/eds_results_article.js +++ b/targets/eds/js/eds_results_article.js @@ -40,7 +40,7 @@ Drupal.behaviors.roblib_search_eds_articles = { items.push('
'+source.Label+': '+source.Data+'
'); }) } - if (typeof val.PLink !== 'undefined'){ + if (typeof val.PLink !== 'undefined' && typeof val.PDF !== 'undefined' && val.PDF == 'pdflink'){ items.push(''); } //items.push('
'+val.DbLabel+'
');