aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl/wiki.tpl
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2018-10-08 20:58:16 -0700
committerzotlabs <mike@macgirvin.com>2018-10-08 20:58:16 -0700
commit2cb52f88755aac62f208463e4754153bbf249c67 (patch)
tree01746da751c10a67f6064d2d1fd79af33dc73685 /view/tpl/wiki.tpl
parent2c797807cd63850055fc65e445a605aee106530a (diff)
parent37b94bf5fa71835fe50af6f862e124e24b5db4b4 (diff)
downloadvolse-hubzilla-2cb52f88755aac62f208463e4754153bbf249c67.tar.gz
volse-hubzilla-2cb52f88755aac62f208463e4754153bbf249c67.tar.bz2
volse-hubzilla-2cb52f88755aac62f208463e4754153bbf249c67.zip
Merge branch 'dev'
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'}}