html render replaced by json render in the C server. next needs to be the json-to...
[citadel.git] / webcit-ng / static / js / views.js
index 5b3c47881fefffa8a2ff0e80d58434f0b6a529e3..bfa45f5a6e3b5f5139a54cc9ce0a64f6af195464 100644 (file)
@@ -155,7 +155,7 @@ function render_messages(msgs, prefix, view)
 function render_one(div, msgnum, view)
 {
        var request = new XMLHttpRequest();
-       request.open("GET", "/ctdl/r/" + escapeHTMLURI(current_room) + "/" + msgs[i] + "/html", true);
+       request.open("GET", "/ctdl/r/" + escapeHTMLURI(current_room) + "/" + msgs[i] + "/json", true);
        request.onreadystatechange = function()
        {
                if (this.readyState === 4)