Fix content server tags display problem

This commit is contained in:
Charles Haley 2010-09-19 07:47:03 +01:00
parent f0f858c7d0
commit 7eaf417bb1

View File

@ -84,7 +84,10 @@ function render_book(book) {
} }
title += '</span>' title += '</span>'
title += '<span class="tagdata_long" style="display:none">' title += '<span class="tagdata_long" style="display:none">'
if (tags) title += 'Tags=[{0}] '.format(tags); if (tags) {
t = tags.split(':&:', 2);
title += 'Tags=[{0}] '.format(t[1]);
}
custcols = book.attr("custcols").split(',') custcols = book.attr("custcols").split(',')
for ( i = 0; i < custcols.length; i++) { for ( i = 0; i < custcols.length; i++) {
if (custcols[i].length > 0) { if (custcols[i].length > 0) {