Hi,
I need to have only Daily → no end date and Daily → end by as per the requirement.
i have displayed the necessary sections by editing the recurring.js file…but while saving, it has to always return “day_1___#no” Or “day_1___#” (please refer the attached image)
no other values should be returned… i have passed this value explicitly while saving… but once the event is saved, it is displaying the recurring events as "week_1__1,2,3,4,5#no’ condition only… after refreshing the entire page, the recurring events are rendered properly.
i have tried the following, but no success:
scheduler.attachEvent(‘onEventSave’,function(id,data,is_new_event){
if(scheduler.formSection(‘recurring’).getValue()!=‘’){
var r =scheduler.formSection(‘recurring’).getValue();
var s = r.split(‘#’);
r=‘day_1___#’+s[1];
data.rec_type=r;
scheduler.formSection(‘recurring’).setValue(data.rec_type);
});
- Scheduler.Config.update_render = true;
but these are not working… it displays the data correctly only after refreshing the entire page.
Please suggest solution for this
Thanks for any help