aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2017-11-25 16:14:04 +0100
committerMario <mario@mariovavti.com>2017-11-25 16:15:33 +0100
commit88ebfe6edbccd5f2a6620320977ad74ed62e31e6 (patch)
tree2fb21c812bc0d1e82257e7623b40cc66afca8e20
parentd65740311bd376c7b7b4a88e561e6d0357e88643 (diff)
downloadvolse-hubzilla-88ebfe6edbccd5f2a6620320977ad74ed62e31e6.tar.gz
volse-hubzilla-88ebfe6edbccd5f2a6620320977ad74ed62e31e6.tar.bz2
volse-hubzilla-88ebfe6edbccd5f2a6620320977ad74ed62e31e6.zip
fix double html ids in caldav widget if more than one sharee
-rw-r--r--view/tpl/cdav_widget_calendar.tpl4
1 files changed, 2 insertions, 2 deletions
diff --git a/view/tpl/cdav_widget_calendar.tpl b/view/tpl/cdav_widget_calendar.tpl
index ec2257a19..8d6414ec6 100644
--- a/view/tpl/cdav_widget_calendar.tpl
+++ b/view/tpl/cdav_widget_calendar.tpl
@@ -14,10 +14,10 @@
<div id="share-calendar-{{$calendar.calendarid}}" class="sub-menu" style="display: none; border-color: {{$calendar.color}};">
{{if $calendar.sharees}}
{{foreach $calendar.sharees as $sharee}}
- <div id="sharee-{{$calendar.calendarid}}" class="form-group">
+ <div id="sharee-{{$calendar.calendarid}}-{{$sharee@iteration}}" class="form-group">
<i class="fa fa-share generic-icons"></i>{{$sharee.name}}&nbsp;{{$sharee.access}}
<div class="pull-right">
- <a href="#" onclick="dropItem('/cdav/calendar/dropsharee/{{$calendar.calendarid}}/{{$calendar.instanceid}}/{{$sharee.hash}}', '#sharee-{{$calendar.calendarid}}'); return false;"><i class="fa fa-trash-o drop-icons"></i></a>
+ <a href="#" onclick="dropItem('/cdav/calendar/dropsharee/{{$calendar.calendarid}}/{{$calendar.instanceid}}/{{$sharee.hash}}', '#sharee-{{$calendar.calendarid}}-{{$sharee@iteration}}'); return false;"><i class="fa fa-trash-o drop-icons"></i></a>
</div>
</div>
{{/foreach}}