]> git.ipfire.org Git - ipfire.org.git/commitdiff
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 4969e3b817b7a0e4b0082edb66072a1788c778c4..08f0f36dd98c0918f975ac91174862c13a87783f 100644 (file)
@@ -96,7 +96,7 @@
                                update = setTimeout(function() {
                                        var c = $("#preview-content");
 
                                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);
 
                                                function(data) {
                                                        c.html(data);