aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl/wiki_page_list.tpl
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2018-10-10 09:01:13 +0000
committerMario <mario@mariovavti.com>2018-10-10 11:07:00 +0200
commit94905a71ac29de37c6798c933df1a7c55f183c49 (patch)
tree57ac0330cb3fe2267846b1b4a33a8cdd363aeebb /view/tpl/wiki_page_list.tpl
parentc7644ad29dfdfd237125d3c8815ae62b8457b80a (diff)
downloadvolse-hubzilla-94905a71ac29de37c6798c933df1a7c55f183c49.tar.gz
volse-hubzilla-94905a71ac29de37c6798c933df1a7c55f183c49.tar.bz2
volse-hubzilla-94905a71ac29de37c6798c933df1a7c55f183c49.zip
fix even more wiki issues
(cherry picked from commit c06b37b798d604a8e5768b8c9b52422b4b34ae36)
Diffstat (limited to 'view/tpl/wiki_page_list.tpl')
-rw-r--r--view/tpl/wiki_page_list.tpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/view/tpl/wiki_page_list.tpl b/view/tpl/wiki_page_list.tpl
index 7a045bba4..e11f3b145 100644
--- a/view/tpl/wiki_page_list.tpl
+++ b/view/tpl/wiki_page_list.tpl
@@ -7,7 +7,7 @@
{{foreach $pages as $page}}
<li class="nav-item nav-item-hack" id="{{$page.link_id}}">
{{if $page.resource_id && $candel}}
- <i class="nav-link widget-nav-pills-icons fa fa-trash-o drop-icons" onclick="wiki_delete_page('{{$page.title|escape:'quotes'}}', '{{$page.title|escape:'url'}}', '{{$page.resource_id}}', '{{$page.link_id}}')"></i>
+ <i class="nav-link widget-nav-pills-icons fa fa-trash-o drop-icons" onclick="wiki_delete_page('{{$page.title|escape:'javascript'}}', '{{$page.title|escape:'javascript'}}', '{{$page.resource_id}}', '{{$page.link_id}}')"></i>
{{/if}}
<a class="nav-link" href="/wiki/{{$channel_address}}/{{$wikiname}}/{{$page.url}}">{{$page.title}}</a>
</li>