$line["feed_title"]."</a> $vf_catchup_link:</td></tr>";
}
}
-
- print "<tr class='$class' id='RROW-$id'>";
+
+ $mouseover_attrs = "onmouseover='postMouseIn($id)'
+ onmouseout='postMouseOut($id)'";
+
+ print "<tr class='$class' id='RROW-$id' $mouseover_attrs>";
print "<td class='hlUpdPic'>$update_pic</td>";
$cdm_cstyle = "style=\"display : none\"";
}
+ $mouseover_attrs = "onmouseover='postMouseIn($id)'
+ onmouseout='postMouseOut($id)'";
+
print "<div class=\"cdmArticle$add_class\"
- id=\"RROW-$id\" onmouseover='cdmMouseIn(this)'
+ id=\"RROW-$id\"
onclick='cdmClicked(this)'
- onmouseout='cdmMouseOut(this)'>";
+ $mouseover_attrs'>";
print "<div class=\"cdmHeader\">";
<h2><?php echo __("Other actions") ?></h2>
<table>
+ <tr><td class='n'>[tab]</td><td><?php echo __("Select article under mouse cursor") ?></td></tr>
+
<tr><td class='n'>c f</td><td><?php echo __("Create filter") ?></td></tr>
<tr><td class='n'>c s</td><td><?php echo __("Collapse sidebar") ?></td></tr>
<tr><td class='n'>?</td><td><?php echo __("Display this help dialog") ?></td></tr>
if (keycode == 78 || keycode == 40) { // n, down
if (typeof moveToPost != 'undefined') {
- return moveToPost('next');
+ moveToPost('next');
+ return false;
}
}
if (keycode == 80 || keycode == 38) { // p, up
if (typeof moveToPost != 'undefined') {
- return moveToPost('prev');
+ moveToPost('prev');
+ return false;
}
}
return;
}
- if (keycode == 84) { // t
+ if (keycode == 84 && shift_key) { // T
var id = getActiveArticleId();
if (id) {
editArticleTags(id, getActiveFeedId(), isCdmMode());
}
}
-/* if (keycode == 84) { // t
- var id = getActiveArticleId();
+ if (keycode == 9) { // tab
+ var id = getArticleUnderPointer();
if (id) {
var cb = document.getElementById("RCHK-" + id);
cb.checked = !cb.checked;
toggleSelectRowById(cb, "RROW-" + id);
}
+
+ return false;
}
- } */
+ }
if (keycode == 79) { // o
if (getActiveArticleId()) {
}
}
-
var article_cache = new Array();
var vgroup_last_feed = false;
+var post_under_pointer = false;
function catchup_callback() {
if (xmlhttp_rpc.readyState == 4) {
}
}
+function postMouseIn(id) {
+ try {
+ post_under_pointer = id;
+ } catch (e) {
+ exception_error("postMouseIn", e);
+ }
+}
+
+function postMouseOut(id) {
+ try {
+ post_under_pointer = false;
+ } catch (e) {
+ exception_error("postMouseOut", e);
+ }
+}
+
function cdmMouseIn(elem) {
/* try {
if (elem.id && elem.id.match("RROW-")) {
} catch (e) {
exception_error("subtoolbarSearch", e);
}
+}
+function getArticleUnderPointer() {
+ return post_under_pointer;
}