From 9cfc649af5e3a397f530475a16a2ae51965e948b Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Thu, 25 Aug 2005 12:20:50 +0100 Subject: keyboard navigation and cute active headline selection --- functions.js | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) (limited to 'functions.js') 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); + } + } -- cgit v1.2.3