feed errors box in feed editor is collapsed by default
This commit is contained in:
parent
a88c1f3644
commit
36aab70f08
|
@ -1379,9 +1379,10 @@
|
|||
|
||||
print "<div class=\"warning\">";
|
||||
|
||||
print "<b>Feeds with update errors:</b>";
|
||||
print "<a href=\"javascript:showBlockElement('feedUpdateErrors')\">
|
||||
<b>Feeds with update errors</b> (click to expand)</a>";
|
||||
|
||||
print "<ul class=\"nomarks\">";
|
||||
print "<ul id=\"feedUpdateErrors\" class=\"nomarks\">";
|
||||
|
||||
while ($line = db_fetch_assoc($result)) {
|
||||
print "<li>" . $line["title"] . " (" . $line["feed_url"] . "): " .
|
||||
|
|
11
functions.js
11
functions.js
|
@ -672,3 +672,14 @@ function getRelativeFeedId(list, id, direction) {
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
function showBlockElement(id) {
|
||||
var elem = document.getElementById(id);
|
||||
|
||||
if (elem) {
|
||||
elem.style.display = "block";
|
||||
} else {
|
||||
alert("[showBlockElement] can't find element with id " + id);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -765,3 +765,8 @@ div.postHeader td.postDate {
|
|||
text-align : right;
|
||||
color : gray;
|
||||
}
|
||||
|
||||
#feedUpdateErrors {
|
||||
display : none;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue