aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl/wiki.tpl
diff options
context:
space:
mode:
authorM.Dent <dentm42@dm42.net>2018-10-08 17:22:39 +0000
committerMario <mario@mariovavti.com>2018-10-10 11:05:34 +0200
commitd8f79f48e9b4859383eaeea35da6d32045f55ae1 (patch)
treeeaea8974c1d2b71f486a31334ef1b160bffae58b /view/tpl/wiki.tpl
parentbf878dc4461ea28f71055d59496b21a1685ef63e (diff)
downloadvolse-hubzilla-d8f79f48e9b4859383eaeea35da6d32045f55ae1.tar.gz
volse-hubzilla-d8f79f48e9b4859383eaeea35da6d32045f55ae1.tar.bz2
volse-hubzilla-d8f79f48e9b4859383eaeea35da6d32045f55ae1.zip
Rework Wiki encoding scheme.
(cherry picked from commit 709665846e66f093109730691b31d9e094d02088)
Diffstat (limited to 'view/tpl/wiki.tpl')
-rw-r--r--view/tpl/wiki.tpl3
1 files changed, 2 insertions, 1 deletions
diff --git a/view/tpl/wiki.tpl b/view/tpl/wiki.tpl
index 2aabc7b5f..0f6fad8e3 100644
--- a/view/tpl/wiki.tpl
+++ b/view/tpl/wiki.tpl
@@ -262,7 +262,8 @@
if (data.success) {
window.saved = true;
window.console.log('Page saved successfully.');
- window.wiki_page_content = currentContent;
+ //window.wiki_page_content = currentContent;
+ window.wiki_page_content = data.content;
$('#id_commitMsg').val(''); // Clear the commit message box
$('#save-page').addClass('disabled'); // Disable the save button
{{if !$mimeType || $mimeType == 'text/markdown'}}