]> git.wh0rd.org - tt-rss.git/blobdiff - functions.js
help uses popup window, recolor infoBox, use subscribe dialog in prefs
[tt-rss.git] / functions.js
index 1f031f149238b6b18fbde7706eb34993ddcda97a..21a0da7992b7a3973b19f89d09d16959f87e4f6b 100644 (file)
@@ -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)) {