aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl/wikilist.tpl
diff options
context:
space:
mode:
Diffstat (limited to 'view/tpl/wikilist.tpl')
-rw-r--r--view/tpl/wikilist.tpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/view/tpl/wikilist.tpl b/view/tpl/wikilist.tpl
index dc35accbd..a4934bdb4 100644
--- a/view/tpl/wikilist.tpl
+++ b/view/tpl/wikilist.tpl
@@ -21,7 +21,7 @@
</li>
{{/foreach}}
{{/if}}
- {{if $owner}}<li><a href="#" class="fakelink" onclick="wiki_show_new_wiki_form(); return false;"><i id="new-wiki-button" class="fa fa-plus-circle"></i>&nbsp;{{$addnew}}</a></li>{{/if}}
+ {{if $owner}}<li><a href="#" class="fakelink" onclick="$('div[id^=\'edit-wiki-form-wrapper\']').hide(); openClose('new-wiki-form-wrapper'); return false;"><i id="new-wiki-button" class="fa fa-plus-circle"></i>&nbsp;{{$addnew}}</a></li>{{/if}}
</ul>
{{if $owner}}
<div id="new-wiki-form-wrapper" class="section-content-tools-wrapper" style="display:none;">