Browse Source

added string when no abstract found for islandscholar

2.x-ebsco
Paul Pound 11 years ago
parent
commit
f06589b20c
  1. 2
      targets/islandscholar/js/islandscholar_results.js

2
targets/islandscholar/js/islandscholar_results.js

@ -21,6 +21,8 @@ Drupal.behaviors.roblib_search_islandscholar = {
content[counter] = ''; content[counter] = '';
if(typeof val['mods.abstract'] !== 'undefined' ){ if(typeof val['mods.abstract'] !== 'undefined' ){
content[counter] = val['mods.abstract'][0]; content[counter] = val['mods.abstract'][0];
} else {
content[counter] = 'No abstract available';
} }
divs[counter++] = id; divs[counter++] = id;
items.push('<div class ="roblib-search-row" id="' + id + '">\n\ items.push('<div class ="roblib-search-row" id="' + id + '">\n\

Loading…
Cancel
Save