diff options
author | Andrew Manning <tamanning@zoho.com> | 2016-06-04 15:12:04 -0400 |
---|---|---|
committer | Andrew Manning <tamanning@zoho.com> | 2016-06-04 15:12:04 -0400 |
commit | 344c293424716cc53eed2fea9eb3a7512e725516 (patch) | |
tree | 8fa8361f1b5a0286c9177c5ce61a069b85fe4d6e /view/tpl/wiki.tpl | |
parent | b5d8443f59d96cece2357b6a791fe8ffe854dd95 (diff) | |
download | volse-hubzilla-344c293424716cc53eed2fea9eb3a7512e725516.tar.gz volse-hubzilla-344c293424716cc53eed2fea9eb3a7512e725516.tar.bz2 volse-hubzilla-344c293424716cc53eed2fea9eb3a7512e725516.zip |
Wiki and page filenames are abstracted from their displayed names. Special characters do not seem to break things.
Diffstat (limited to 'view/tpl/wiki.tpl')
-rw-r--r-- | view/tpl/wiki.tpl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/view/tpl/wiki.tpl b/view/tpl/wiki.tpl index 86c503bb3..384dc796d 100644 --- a/view/tpl/wiki.tpl +++ b/view/tpl/wiki.tpl @@ -139,8 +139,8 @@ ev.preventDefault(); }); -function wiki_delete_wiki(wikiName, resource_id) { - if(!confirm('Are you sure you want to delete the entire wiki: ' + JSON.stringify(wikiName))) { +function wiki_delete_wiki(wikiHtmlName, resource_id) { + if(!confirm('Are you sure you want to delete the entire wiki: ' + JSON.stringify(wikiHtmlName))) { return; } $.post("wiki/{{$channel}}/delete/wiki", {resource_id: resource_id}, function (data) { |