Prevent the GUI from propagating a series exception to a series master.

This commit is contained in:
Christian Binder 2010-01-23 12:43:35 +00:00
parent 90dfe0a989
commit 7c7be4d31a

View File

@ -1083,6 +1083,11 @@ class calendar_uiforms extends calendar_ui
$readonlys['recur_type'] = $readonlys['recur_data'] = true;
$readonlys['recur_interval'] = $readonlys['tzid'] = true;
}
elseif ($event['reference'] != 0)
{
$readonlys['recur_type'] = $readonlys['recur_enddate'] = true;
$readonlys['recur_interval'] = $readonlys['recur_data'] = true;
}
}
// disabling the custom fields tab, if there are none
$readonlys[$this->tabs] = array(