$reply['content'] .= "</div>";
$reply['content'] .= "<div class=\"cdmContent\" $content_hidden
- onclick=\"return cdmClicked(event, $id);\"
+ onclick=\"return cdmClicked(event, $id, true);\"
id=\"CICD-$id\">";
$reply['content'] .= "<div id=\"POSTNOTE-$id\">";
}
}
-function cdmClicked(event, id) {
+function cdmClicked(event, id, in_body) {
//var shift_key = event.shiftKey;
if (!event.ctrlKey && !event.metaKey) {
return !event.shiftKey;
}
- } else if (event.target.parents(".cdmHeader").length > 0) {
+ } else if (!in_body) {
toggleSelected(id, true);
toggleUnread(id, 0, false);
openArticleInNewWindow(id);
+ } else {
+ return true;
}
var unread_in_buffer = $$("#headlines-frame > div[id*=RROW][class*=Unread]").length