diff options
-rw-r--r-- | digest.js | 25 |
1 files changed, 24 insertions, 1 deletions
@@ -577,7 +577,7 @@ function parse_headlines(transport, replace, no_effects) { } } -function init() { +function init_second_stage() { try { new Ajax.Request("backend.php", { parameters: "backend.php?op=rpc&subop=digest-init", @@ -588,6 +588,29 @@ function init() { } }); } catch (e) { + exception_error("init_second_stage", e); + } +} + +function sanity_check(transport) { + try { + + + } catch (e) { + exception_error("sanity_check", e); + } +} + +function init() { + try { + + new Ajax.Request("backend.php", { + parameters: "?op=rpc&subop=sanityCheck", + onComplete: function(transport) { + sanity_check(transport); + } }); + + } catch (e) { exception_error("digest_init", e); } } |