"Too much recursion" error initializing Sheduler

I am trying to enable recurring events on Scheduler, but I get “Too much recursion” error on initializing the scheduler page.
I have other dhtmlx js-code loaded before the scheduler page:


And then scheduler files:

<script src="/uute/dhtmlx/dhtmlxscheduler/dhtmlxscheduler.js" type="text/javascript" charset="utf-8"></script> <script src="/uute/dhtmlx/dhtmlxscheduler/dhtmlxscheduler_recurring.js" type="text/javascript" charset="utf-8"></script> <script src="/uute/dhtmlx/dhtmlxscheduler/dhtmlxscheduler_multiselect.js" type="text/javascript" charset="utf-8"></script> <script src="/uute/dhtmlx/dhtmlxscheduler/dhtmlxscheduler_serialize.js" type="text/javascript" charset="utf-8"></script> <script src="/uute/dhtmlx/dhtmlxscheduler/locale_fi.js" type="text/javascript" charset="utf-8"></script> <link rel="stylesheet" href="/uute/dhtmlx/dhtmlxscheduler/dhtmlxscheduler.css" type="text/css" charset="utf-8"> <link rel="stylesheet" href="/uute/dhtmlx/dhtmlxscheduler/dhtmlxscheduler_recurring.css" type="text/css" charset="utf-8">
What is wrong?

Here is the initializing code:


  <div class="dhx_cal_data">
html, body{ margin:0px; padding:0px; height:100%; overflow:hidden; }

:question: Please respond!

By using sections definition like below, I can get it working.

scheduler.config.lightbox.sections = [ { name:"description", height:30, map_to:"text", type:"textarea" , focus:true }, { name:"stage", height:30, options: stages, type:"radio", map_to:"stage" }, { name:"control", height:50, options: controls, type:"multiselect", map_to:"control", script_url:"" }, { name:"recurring", height:115, type:"recurring", map_to:"rec_type", button:"recurring"}, {name:"time", height:72, type:"time", map_to:"auto"} ];
Last two rows are mandatory when using recurring events. :mrgreen:

Hello, marttiojanen.

I am glad your issue is resolved though note that those sections are not required if you want to use recurring events (you can leave them commented out).

Try including scheduler’s files first and then other files: combo, tabbar and so on. Also don’t include dhtmlx.js.

Best regards,