summaryrefslogtreecommitdiffstats
path: root/apps/calendar/js
diff options
context:
space:
mode:
authorGeorg Ehrke <dev@georgswebsite.de>2012-01-05 20:54:44 +0100
committerGeorg Ehrke <dev@georgswebsite.de>2012-01-05 20:54:44 +0100
commit486694c2ec63d9164c43c66946473fc9403c5343 (patch)
treec1f260a339894e38752a051f0ae95d688694ff3f /apps/calendar/js
parentbe9ca44d07a129671bd5ce53d64ef22da93d5ae9 (diff)
downloadnextcloud-server-486694c2ec63d9164c43c66946473fc9403c5343.tar.gz
nextcloud-server-486694c2ec63d9164c43c66946473fc9403c5343.zip
fix js for repeating events
Diffstat (limited to 'apps/calendar/js')
-rw-r--r--apps/calendar/js/calendar.js5
1 files changed, 4 insertions, 1 deletions
diff --git a/apps/calendar/js/calendar.js b/apps/calendar/js/calendar.js
index d776f5c3fb5..ae586661ccc 100644
--- a/apps/calendar/js/calendar.js
+++ b/apps/calendar/js/calendar.js
@@ -279,9 +279,9 @@ Calendar={
minWidth:'auto'
});
Calendar.UI.repeat('end');
- Calendar.UI.repeat('repeat');
Calendar.UI.repeat('month');
Calendar.UI.repeat('year');
+ Calendar.UI.repeat('repeat');
}
if(task == 'end'){
$('#byoccurrences').css('display', 'none');
@@ -304,12 +304,14 @@ Calendar={
$('#advanced_bymonthday').css('display', 'none');
if($('#repeat option:selected').val() == 'monthly'){
$('#advanced_month').css('display', 'block');
+ Calendar.UI.repeat('month');
}
if($('#repeat option:selected').val() == 'weekly'){
$('#advanced_weekday').css('display', 'block');
}
if($('#repeat option:selected').val() == 'yearly'){
$('#advanced_year').css('display', 'block');
+ Calendar.UI.repeat('year');
}
if($('#repeat option:selected').val() == 'doesnotrepeat'){
$('#advanced_options_repeating').slideUp('slow');
@@ -341,6 +343,7 @@ Calendar={
$('#advanced_weekday').css('display', 'block');
}
}
+
},
Calendar:{
overview:function(){