if (feedctr && feedu && feedr) {
if (feedu.innerHTML != ctr && id == getActiveFeedId() && scheduled_call) {
- viewCurrentFeed();
+ displayNewContentPrompt(id);
}
var row_needs_hl = (ctr > 0 && ctr > parseInt(feedu.innerHTML));
}
}
+function hideAuxDlg() {
+ try {
+ Element.hide('auxDlg');
+ } catch (e) {
+ exception_error("hideAuxDlg", e);
+ }
+}
+
+function displayNewContentPrompt(id) {
+ try {
+ var msg = __("New articles in «%s». <a href='#' onclick='viewCurrentFeed()'>Click to view</a>.");
+ msg = msg.replace("%s", getFeedName(id));
+
+ $('auxDlg').innerHTML = msg;
+
+ Element.show('auxDlg');
+
+ } catch (e) {
+ exception_error("displayNewContentPrompt", e);
+ }
+}
<div id="infoBoxShadow" style="display : none"><div id="infoBox"> </div></div>
<div id="cmdline" style="display : none"></div>
+<div id="auxDlg" style="zdisplay : none"></div>
<div id="errorBoxShadow" style="display : none">
<div id="errorBox">