Only show series if there is content available for that field.
Also, show series by default without need to select "More Info".
Signed-off-by: Jeff Godin <jgodin@tadl.org>
G.ui.rdetail.publisher.appendChild(text(record.publisher()));
$('rdetail_physical_desc').appendChild(text(record.physical_description()));
- if (record.series()) {
+ if (record.series() && record.series() != '') {
unHideMe($("series_row"));
$('rdetail_series').appendChild(text(record.series()));
}
<td class='rdetail_item' id='rdetail_publisher'> </td>
</tr>
- <tr id='series_row' class='hide_me less'>
+ <tr id='series_row' class='hide_me'>
<td nowrap='nowrap' class='rdetail_desc'>Series</td>
<td class='rdetail_item' id='rdetail_series'> </td>
</tr>