aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2017-11-25 16:14:04 +0100
committerMario Vavti <mario@mariovavti.com>2017-11-25 16:14:04 +0100
commite1fdac32782de11e443c7398ff3fb9870fa9b2d9 (patch)
tree54e4fd3146a3978de744a39de6b7938d763852dd /view/tpl
parent55868ad02d48f59bf57b7045022c6ed1327dda44 (diff)
downloadvolse-hubzilla-e1fdac32782de11e443c7398ff3fb9870fa9b2d9.tar.gz
volse-hubzilla-e1fdac32782de11e443c7398ff3fb9870fa9b2d9.tar.bz2
volse-hubzilla-e1fdac32782de11e443c7398ff3fb9870fa9b2d9.zip
fix double html ids in caldav widget if more than one sharee
Diffstat (limited to 'view/tpl')
-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}}