fix js for repeating events
This commit is contained in:
parent
be9ca44d07
commit
486694c2ec
|
@ -279,9 +279,9 @@ Calendar={
|
||||||
minWidth:'auto'
|
minWidth:'auto'
|
||||||
});
|
});
|
||||||
Calendar.UI.repeat('end');
|
Calendar.UI.repeat('end');
|
||||||
Calendar.UI.repeat('repeat');
|
|
||||||
Calendar.UI.repeat('month');
|
Calendar.UI.repeat('month');
|
||||||
Calendar.UI.repeat('year');
|
Calendar.UI.repeat('year');
|
||||||
|
Calendar.UI.repeat('repeat');
|
||||||
}
|
}
|
||||||
if(task == 'end'){
|
if(task == 'end'){
|
||||||
$('#byoccurrences').css('display', 'none');
|
$('#byoccurrences').css('display', 'none');
|
||||||
|
@ -304,12 +304,14 @@ Calendar={
|
||||||
$('#advanced_bymonthday').css('display', 'none');
|
$('#advanced_bymonthday').css('display', 'none');
|
||||||
if($('#repeat option:selected').val() == 'monthly'){
|
if($('#repeat option:selected').val() == 'monthly'){
|
||||||
$('#advanced_month').css('display', 'block');
|
$('#advanced_month').css('display', 'block');
|
||||||
|
Calendar.UI.repeat('month');
|
||||||
}
|
}
|
||||||
if($('#repeat option:selected').val() == 'weekly'){
|
if($('#repeat option:selected').val() == 'weekly'){
|
||||||
$('#advanced_weekday').css('display', 'block');
|
$('#advanced_weekday').css('display', 'block');
|
||||||
}
|
}
|
||||||
if($('#repeat option:selected').val() == 'yearly'){
|
if($('#repeat option:selected').val() == 'yearly'){
|
||||||
$('#advanced_year').css('display', 'block');
|
$('#advanced_year').css('display', 'block');
|
||||||
|
Calendar.UI.repeat('year');
|
||||||
}
|
}
|
||||||
if($('#repeat option:selected').val() == 'doesnotrepeat'){
|
if($('#repeat option:selected').val() == 'doesnotrepeat'){
|
||||||
$('#advanced_options_repeating').slideUp('slow');
|
$('#advanced_options_repeating').slideUp('slow');
|
||||||
|
@ -341,6 +343,7 @@ Calendar={
|
||||||
$('#advanced_weekday').css('display', 'block');
|
$('#advanced_weekday').css('display', 'block');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
},
|
},
|
||||||
Calendar:{
|
Calendar:{
|
||||||
overview:function(){
|
overview:function(){
|
||||||
|
|
Loading…
Reference in New Issue