wiki: Fix wrong variable name
authorMichael Tremer <michael.tremer@ipfire.org>
Thu, 30 May 2019 15:16:39 +0000 (16:16 +0100)
committerMichael Tremer <michael.tremer@ipfire.org>
Thu, 30 May 2019 15:16:39 +0000 (16:16 +0100)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
src/templates/wiki/edit.html

index 4969e3b..08f0f36 100644 (file)
@@ -96,7 +96,7 @@
                                update = setTimeout(function() {
                                        var c = $("#preview-content");
 
-                                       $.post("{{ os.path.join(request.path, "_render") }}", {┬ácontent : content },
+                                       $.post("{{ os.path.join(page.url, "_render") }}", {┬ácontent : content },
                                                function(data) {
                                                        c.html(data);