diff options
author | 2009-02-15 12:33:41 -0500 | |
---|---|---|
committer | 2009-02-15 12:33:41 -0500 | |
commit | b228a55b0c40fc309c5bbbc9e4c15c3eebf82880 (patch) | |
tree | 82ba6f2b8547742ce5c12abb628e21a7843db234 /lib/js/urweb.js | |
parent | e2d8010cf8e5334b58713404e9e146b18292ef73 (diff) |
Initial parsing of RPC results
Diffstat (limited to 'lib/js/urweb.js')
-rw-r--r-- | lib/js/urweb.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/js/urweb.js b/lib/js/urweb.js index bfca94a4..c78229af 100644 --- a/lib/js/urweb.js +++ b/lib/js/urweb.js @@ -129,7 +129,7 @@ function getXHR() } } -function rc(uri, k) { +function rc(uri, parse, k) { var xhr = getXHR(); xhr.onreadystatechange = function() { @@ -142,7 +142,7 @@ function rc(uri, k) { } catch (e) { } if (isok) - k(xhr.responseText); + k(parse(xhr.responseText)); else alert("Error querying remote server!"); } |