summaryrefslogtreecommitdiffstats
path: root/templates/part.addnew.php
diff options
context:
space:
mode:
authorBernhard Posselt <nukeawhale@gmail.com>2013-02-12 11:22:18 +0100
committerBernhard Posselt <nukeawhale@gmail.com>2013-02-12 11:22:40 +0100
commita75e37f56963bc55faf182811237cee8a4172fb7 (patch)
tree2c4048d9ffc6188d6886cafa4f4c4c38b089a1a8 /templates/part.addnew.php
parenta1e85b1e4cc145e65575c08702f2e72f5ced1235 (diff)
slide areas with jquery and slide click directive
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>