diff options
author | Andrew Manning <tamanning@zoho.com> | 2017-09-16 14:00:55 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-09-16 14:00:55 -0400 |
commit | 0b272264eada1d5cf71e4273d6d3b22337c4e5cc (patch) | |
tree | 5f6d3aaa2f0732fb35a6ed98f75a7b4b47d9ff9b | |
parent | d5ffa5508d4c04be801d049b63ae6881460abe82 (diff) | |
download | volse-hubzilla-0b272264eada1d5cf71e4273d6d3b22337c4e5cc.tar.gz volse-hubzilla-0b272264eada1d5cf71e4273d6d3b22337c4e5cc.tar.bz2 volse-hubzilla-0b272264eada1d5cf71e4273d6d3b22337c4e5cc.zip |
Page title is what we need in order to delete pages, not the url
-rw-r--r-- | view/tpl/wiki_page_list.tpl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/view/tpl/wiki_page_list.tpl b/view/tpl/wiki_page_list.tpl index 3d38a0b81..cfaa50395 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}}', '{{$page.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}}', '{{$page.title}}', '{{$page.resource_id}}', '{{$page.link_id}}')"></i> {{/if}} <a class="nav-link" href="/wiki/{{$channel_address}}/{{$wikiname}}/{{$page.url}}">{{$page.title}}</a> </li> |