summaryrefslogtreecommitdiffstats
path: root/templates/part.addnew.php
diff options
context:
space:
mode:
Diffstat (limited to 'templates/part.addnew.php')
-rw-r--r--templates/part.addnew.php6
1 files changed, 5 insertions, 1 deletions
diff --git a/templates/part.addnew.php b/templates/part.addnew.php
index 59dc00380..c791b86d6 100644
--- a/templates/part.addnew.php
+++ b/templates/part.addnew.php
@@ -1,5 +1,9 @@
<li class="add-new" ng-controller="AddNewController">
- <a class="list-title list-title-with-icon" ng-click="showAdd=!showAdd" href="#">
+ <a class="list-title list-title-with-icon" ng-click="showAdd=!showAdd"
+ click-slide-toggle="{
+ selector: '.add-new-popup',
+ hideOnFocusLost: true
+ }" href="#">
<?php p($l->t('New'))?>
</a>