diff options
author | Mario Vavti <mario@mariovavti.com> | 2017-11-25 16:14:04 +0100 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2017-11-25 16:15:33 +0100 |
commit | 88ebfe6edbccd5f2a6620320977ad74ed62e31e6 (patch) | |
tree | 2fb21c812bc0d1e82257e7623b40cc66afca8e20 /view/tpl/cdav_widget_calendar.tpl | |
parent | d65740311bd376c7b7b4a88e561e6d0357e88643 (diff) | |
download | volse-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
Diffstat (limited to 'view/tpl/cdav_widget_calendar.tpl')
-rw-r--r-- | view/tpl/cdav_widget_calendar.tpl | 4 |
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}} {{$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}} |