Hi,
I updated my DHTMLX Scheduler component to the last 4.3.1 (standard version) and what was working in the latest version now fails.
The error is:
TypeError: this._els is undefined1 dhtmlxscheduler_limit.js:35:87
The code that generates the error is:
scheduler.markTimespan({
days: new Date(2015,5,10),
zones: "fullday",
css: "highlight_festiu"
});
The scheduler is initated like this:
[code]scheduler.config.multi_day = true;
scheduler.config.xml_date=’%Y-%m-%d %H:%i’;
scheduler.config.default_date = “%d %F %Y”;
scheduler.config.show_loading = true;
scheduler.config.start_on_monday = true;
scheduler.config.active_link_view = ‘day’;
scheduler.config.mark_now = false;
scheduler.config.readonly = true;
scheduler.config.all_timed = “short”;
scheduler.init(‘elmeucalendari_div’, new Date(),‘month’);
scheduler.setLoadMode(‘year’);
scheduler.load(“elmeucalendari/get_events”);[/code]
Help please.