highlight active headline after post loaded (in view_callback)
This commit is contained in:
parent
c33c296c04
commit
b10e155060
|
@ -116,6 +116,7 @@ function view_callback() {
|
||||||
var container = document.getElementById('content');
|
var container = document.getElementById('content');
|
||||||
if (xmlhttp_view.readyState == 4) {
|
if (xmlhttp_view.readyState == 4) {
|
||||||
container.innerHTML=xmlhttp_view.responseText;
|
container.innerHTML=xmlhttp_view.responseText;
|
||||||
|
markHeadline(active_post_id);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -327,8 +328,7 @@ function view(id,feed_id) {
|
||||||
}
|
}
|
||||||
|
|
||||||
cleanSelected("headlinesList");
|
cleanSelected("headlinesList");
|
||||||
|
// crow.className = crow.className + "Selected";
|
||||||
crow.className = crow.className + "Selected";
|
|
||||||
|
|
||||||
var upd_img_pic = document.getElementById("FUPDPIC-" + id);
|
var upd_img_pic = document.getElementById("FUPDPIC-" + id);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue