summaryrefslogtreecommitdiff
path: root/functions.js
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2005-08-25 12:20:50 +0100
committerAndrew Dolgov <[email protected]>2005-08-25 12:20:50 +0100
commit9cfc649af5e3a397f530475a16a2ae51965e948b (patch)
tree01bae7fb4b9ae3a80ff0c9de6be969175a9b4e82 /functions.js
parente695fdc83ef295fd18e9757ff5b12f3d9a8d213c (diff)
keyboard navigation and cute active headline selection
Diffstat (limited to 'functions.js')
-rw-r--r--functions.js18
1 files changed, 18 insertions, 0 deletions
diff --git a/functions.js b/functions.js
index 8cd5b47ca..0b05ae2e8 100644
--- a/functions.js
+++ b/functions.js
@@ -1,3 +1,17 @@
+function notify_callback() {
+ var container = document.getElementById('notify');
+ if (xmlhttp.readyState == 4) {
+ container.innerHTML=xmlhttp.responseText;
+ }
+}
+
+function rpc_notify_callback() {
+ var container = document.getElementById('notify');
+ if (xmlhttp_rpc.readyState == 4) {
+ container.innerHTML=xmlhttp_rpc.responseText;
+ }
+}
+
function param_escape(arg) {
if (typeof encodeURIComponent != 'undefined')
return encodeURIComponent(arg);
@@ -64,6 +78,10 @@ function hotkey_handler(e) {
localPiggieFunction(false);
}
+ if (typeof localHotkeyHandler != 'undefined') {
+ localHotkeyHandler(keycode);
+ }
+
}