aboutsummaryrefslogtreecommitdiffstats
path: root/apps/calendar/templates/share.dropdown.php
diff options
context:
space:
mode:
authorGeorg Ehrke <dev@georgswebsite.de>2012-02-11 13:30:15 +0100
committerGeorg Ehrke <dev@georgswebsite.de>2012-02-11 13:30:15 +0100
commit66ac6c232c22181a9cd7b83518f802df81aea3e9 (patch)
tree13ec723a8f8b74a365e9daa0e620650b86296861 /apps/calendar/templates/share.dropdown.php
parent1a0c273a201e2478cea6d3fbc0abcd43b0670bd0 (diff)
downloadnextcloud-server-66ac6c232c22181a9cd7b83518f802df81aea3e9.tar.gz
nextcloud-server-66ac6c232c22181a9cd7b83518f802df81aea3e9.zip
fix sharing calendar manager
Diffstat (limited to 'apps/calendar/templates/share.dropdown.php')
-rw-r--r--apps/calendar/templates/share.dropdown.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/calendar/templates/share.dropdown.php b/apps/calendar/templates/share.dropdown.php
index 6a944f1f091..ca1e128ea78 100644
--- a/apps/calendar/templates/share.dropdown.php
+++ b/apps/calendar/templates/share.dropdown.php
@@ -53,7 +53,7 @@ echo html_select_options($allgroups, array());
</select><br>
<ul id="sharewithgroup_list">
<?php foreach($groups as $group): ?>
- <li id="sharewithuser_<?php echo $group['share']; ?>"><input type="checkbox" width="12px" <?php echo ($group['permissions']?'checked="checked"':'')?> style="visibility:hidden;" title="<?php echo $l->t('Editable'); ?>"><?php echo $group['share']; ?><img src="<?php echo OC::$WEBROOT; ?>/core/img/actions/delete.svg" class="svg action" style="display:none;float:right;"></li>
+ <li id="sharewithgroup_<?php echo $group['share']; ?>"><input type="checkbox" width="12px" <?php echo ($group['permissions']?'checked="checked"':'')?> style="visibility:hidden;" title="<?php echo $l->t('Editable'); ?>"><?php echo $group['share']; ?><img src="<?php echo OC::$WEBROOT; ?>/core/img/actions/delete.svg" class="svg action" style="display:none;float:right;"></li>
<script>
$('#sharewithgroup_<?php echo $group['share']; ?> > img').click(function(){
$('#share_group option[value="<?php echo $group['share']; ?>"]').removeAttr('disabled');