summaryrefslogtreecommitdiff
path: root/functions.js
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2005-11-29 10:50:18 +0100
committerAndrew Dolgov <[email protected]>2005-11-29 10:50:18 +0100
commit36aab70f080d7ab50a754b522e62a2f03ccc167a (patch)
treefc7fb13afd13df996cba879c2d7274031576e935 /functions.js
parenta88c1f36443c5d761d4224df5b887d6b558431fe (diff)
feed errors box in feed editor is collapsed by default
Diffstat (limited to 'functions.js')
-rw-r--r--functions.js11
1 files changed, 11 insertions, 0 deletions
diff --git a/functions.js b/functions.js
index c696ae3e8..694ade06a 100644
--- a/functions.js
+++ b/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);
+ }
+}
+