diff options
Diffstat (limited to 'functions.js')
-rw-r--r-- | functions.js | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/functions.js b/functions.js index 1f031f149..21a0da799 100644 --- a/functions.js +++ b/functions.js @@ -1389,6 +1389,22 @@ function infobox_callback() { } } +function helpbox_callback() { + if (xmlhttp.readyState == 4) { + var box = document.getElementById('helpBox'); + var shadow = document.getElementById('helpBoxShadow'); + if (box) { + box.innerHTML=xmlhttp.responseText; + if (shadow) { + shadow.style.display = "block"; + } else { + box.style.display = "block"; + } + } + notify(""); + } +} + function addFilter() { if (!xmlhttp_ready(xmlhttp)) { |