diff options
author | Dieter Hametner <dh (plus) vdr (at) gekrumbel (dot) de> | 2007-02-22 23:51:56 +0000 |
---|---|---|
committer | Dieter Hametner <dh (plus) vdr (at) gekrumbel (dot) de> | 2007-02-22 23:51:56 +0000 |
commit | 3ef60cf2f005573ad9c11a7b5765e0bd4d65c5a0 (patch) | |
tree | 30c3642b0f583316b1aef3affe0c167b2755fc27 /javascript/ajax.js | |
parent | 4c0d3398fc6444169ee47935b9ab814eb3929e72 (diff) | |
download | vdr-plugin-live-3ef60cf2f005573ad9c11a7b5765e0bd4d65c5a0.tar.gz vdr-plugin-live-3ef60cf2f005573ad9c11a7b5765e0bd4d65c5a0.tar.bz2 |
- Polling in status box can now be toggled between active and inactive.
Diffstat (limited to 'javascript/ajax.js')
-rw-r--r-- | javascript/ajax.js | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/javascript/ajax.js b/javascript/ajax.js index 4db64e5..4da2b8d 100644 --- a/javascript/ajax.js +++ b/javascript/ajax.js @@ -66,18 +66,3 @@ function LiveSimpleAjaxRequest(url, param, value) xml.onerror = function(message) { alert(message); } xml.request(param, value); }; - -function LiveStatusAjaxRequest(url, containerid) -{ - var xml = new LiveAjaxCall("text", url); - xml.oncomplete = function() - { - document.getElementById(containerid).innerHTML = this.xml.responseText; - window.setTimeout("LiveStatusAjaxRequest('" + url + "', '" + containerid + "')", 1000); - } - xml.onerror = function(message) - { - document.getElementById(containerid).innerHTML = "<div>ERROR: " + message + "</div>"; - } - xml.request("", ""); -} |