переопределить функцию JCEC.prototype.ShowEditEventPopup = function(Params)
строчку BX.addCustomEvent('onAjaxSuccessFinish', f);
перенести в BX.ajax.get(this.actionUrl,
this.GetReqData('get_edit_event_dialog',
{
event_id : eventId ,
js_id: this.id
}),
function(html)
{
D.CAL.DOM.content.innerHTML = html;
BX.addCustomEvent('onAjaxSuccessFinish', f);
}
);
строчку BX.addCustomEvent('onAjaxSuccessFinish', f);
перенести в BX.ajax.get(this.actionUrl,
this.GetReqData('get_edit_event_dialog',
{
event_id : eventId ,
js_id: this.id
}),
function(html)
{
D.CAL.DOM.content.innerHTML = html;
BX.addCustomEvent('onAjaxSuccessFinish', f);
}
);