make 'v' hotkey work in CDM mode

master
Andrew Dolgov 18 years ago
parent 8a5b4579fa
commit e4914b6275

@ -1762,3 +1762,4 @@ function openArticleInNewWindow(id) {
exception_error("openArticleInNewWindow", e);
}
}

@ -3917,7 +3917,9 @@
$add_class = "";
}
print "<div class=\"cdmArticle$add_class\" id=\"RROW-$id\">";
print "<div class=\"cdmArticle$add_class\"
id=\"RROW-$id\" onmouseover='cdmMouseIn(this)'
onmouseout='cdmMouseOut(this)'>";
print "<div class=\"cdmHeader\">";

@ -845,6 +845,10 @@ td.hlFeed {
text-align : right;
}
div.cdmArticle:hover {
background-color : white;
}
div.cdmArticle {
border-color : #c0c0c0;
border-width : 0px 0px 1px 0px;
@ -854,6 +858,10 @@ div.cdmArticle {
padding : 10px;
}
div.cdmArticleUnread:hover {
background-color : white;
}
div.cdmArticleUnread {
border-color : #c0c0c0;
border-width : 0px 0px 1px 0px;
@ -881,6 +889,10 @@ div.cdmHeader {
padding-bottom : 5px;
}
div.cdmArticleUnread div.cdmHeader a {
color : black;
}
div.cdmFooter {
font-size : 9pt;
color : gray;

@ -715,3 +715,4 @@ function feedEditSave() {
}
}

@ -921,3 +921,19 @@ function cache_invalidate(id) {
function getActiveArticleId() {
return active_post_id;
}
function cdmMouseIn(elem) {
try {
if (elem.id && elem.id.match("RROW-")) {
var id = elem.id.replace("RROW-", "");
active_post_id = id;
}
} catch (e) {
exception_error("cdmMouseIn", e);
}
}
function cdmMouseOut(elem) {
active_post_id = false;
}

Loading…
Cancel
Save