diff options
author | Andrew Manning <tamanning@zoho.com> | 2016-11-16 20:46:30 -0500 |
---|---|---|
committer | Andrew Manning <tamanning@zoho.com> | 2016-11-16 20:46:30 -0500 |
commit | db1ae808774a63715e9d5442d5551d219c8d86ae (patch) | |
tree | 852a6ac4b434b663bd7f077150b567babd71695a /view/tpl | |
parent | 7aa712a481038b603016bff4aca0ff23cdf4cddd (diff) | |
download | volse-hubzilla-db1ae808774a63715e9d5442d5551d219c8d86ae.tar.gz volse-hubzilla-db1ae808774a63715e9d5442d5551d219c8d86ae.tar.bz2 volse-hubzilla-db1ae808774a63715e9d5442d5551d219c8d86ae.zip |
Hide edit dialog if new wiki dialog opens
Diffstat (limited to 'view/tpl')
-rw-r--r-- | view/tpl/wikilist.tpl | 2 |
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> {{$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> {{$addnew}}</a></li>{{/if}} </ul> {{if $owner}} <div id="new-wiki-form-wrapper" class="section-content-tools-wrapper" style="display:none;"> |