From cb7f7b2e989a82746dab42bcd4b8b5fe47025a5c Mon Sep 17 00:00:00 2001 From: Wolfram Schneider Date: Fri, 5 Dec 2008 17:28:10 +0100 Subject: [PATCH] In detailed view, print the same title information as in the short list (title + subtitle) --- www/jsdemo/example_client.js | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/www/jsdemo/example_client.js b/www/jsdemo/example_client.js index 19f21d3..c1671e2 100644 --- a/www/jsdemo/example_client.js +++ b/www/jsdemo/example_client.js @@ -343,8 +343,16 @@ function drawCurDetails () var data = curDetRecData; var recordDiv = document.getElementById('recdiv_'+data.recid); var details = ""; - if (data["md-title"] != undefined) - details += 'Title: '+data["md-title"] + ''; + if (data["md-title"] != undefined) { + details += 'Title: '+data["md-title"]; + if (data["md-title-remainder"] !== undefined) { + details += ' : ' + data["md-title-remainder"] + ' '; + } + if (data["md-title-responsibility"] !== undefined) { + details += ' '+ data["md-title-responsibility"] +''; + } + details += ''; + } if (data["md-date"] != undefined) details += 'Date: ' + data["md-date"] + ''; if (data["md-author"] != undefined) -- 1.7.10.4