mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-23 00:13:35 +01:00
Make sure date is not an object before passing it along, or it cannot be in the URL
This commit is contained in:
parent
33437acb96
commit
c2c2c6c672
@ -687,7 +687,7 @@ et2_calendar_event.recur_prompt = function(event_data, callback, extra_data)
|
||||
var that = this;
|
||||
|
||||
var extra_params = extra_data && typeof extra_data == 'object' ? extra_data : {};
|
||||
extra_params.date = edit_date;
|
||||
extra_params.date = edit_date.toJSON ? edit_date.toJSON() : edit_date;
|
||||
if(typeof callback != 'function')
|
||||
{
|
||||
callback = function(_button_id)
|
||||
|
Loading…
Reference in New Issue
Block a user