diff --git a/targets/eds/js/eds_results_article.js b/targets/eds/js/eds_results_article.js
index 8b4b265..320ea18 100644
--- a/targets/eds/js/eds_results_article.js
+++ b/targets/eds/js/eds_results_article.js
@@ -2,6 +2,7 @@ Drupal.behaviors.roblib_search_eds_articles = {
attach: function (context, settings) {
$url = settings.roblib_search_eds_articles.search_url;
articles_profile = settings.roblib_search_eds_articles.eds_profile;
+ proxy_url = "http://proxy.library.upei.ca/login?url=";
jQuery.getJSON($url, function (data) {
var items = [];
var numberOfDocs = 0;
@@ -31,7 +32,7 @@ Drupal.behaviors.roblib_search_eds_articles = {
items.push('
');
}
pubType = val.PubType;
@@ -56,10 +57,10 @@ Drupal.behaviors.roblib_search_eds_articles = {
items.push('In: ' + val.Items.TitleSource.Data + '
');
}
if (typeof val.PLink !== 'undefined' && typeof val.PDF !== 'undefined' && val.PDF == 'pdflink') {
- items.push('');
+ items.push('');
}
if (typeof val.PLink !== 'undefined' && typeof val.HTML !== 'undefined' && val.HTML == '1') {
- items.push('');
+ items.push('');
}
items.push('');
@@ -72,7 +73,7 @@ Drupal.behaviors.roblib_search_eds_articles = {
var upei_link = 'SEE ALL (' + data.recordCount + ') ';
if(!data.is_local_ip) {
non_upei_link = '[Non-UPEI]';
- upei_link = 'SEE ALL (' + data.recordCount + ') ' + non_upei_link;
+ upei_link = 'SEE ALL (' + data.recordCount + ') ' + non_upei_link;
}
jQuery('#roblib-search-eds-article-more').empty().append(upei_link);
jQuery('#roblib-eds-articles-more-results').empty().append(upei_link);