Fix missing recurrence end date control
Summary: Ref T8472, Fix missing recurrence end date control Test Plan: Create new event, recurrence end date should be available. Reviewers: epriestley, #blessed_reviewers Reviewed By: epriestley, #blessed_reviewers Subscribers: epriestley, Korvin Maniphest Tasks: T8472 Differential Revision: https://secure.phabricator.com/D13241
This commit is contained in:
@@ -17,7 +17,7 @@ final class PhabricatorCalendarEventEditController
|
|||||||
$viewer = $request->getViewer();
|
$viewer = $request->getViewer();
|
||||||
$user_phid = $viewer->getPHID();
|
$user_phid = $viewer->getPHID();
|
||||||
$error_name = true;
|
$error_name = true;
|
||||||
$error_recurrence_end_date = true;
|
$error_recurrence_end_date = null;
|
||||||
$error_start_date = true;
|
$error_start_date = true;
|
||||||
$error_end_date = true;
|
$error_end_date = true;
|
||||||
$validation_exception = null;
|
$validation_exception = null;
|
||||||
@@ -336,8 +336,7 @@ final class PhabricatorCalendarEventEditController
|
|||||||
->setID($recurrence_end_date_id)
|
->setID($recurrence_end_date_id)
|
||||||
->setIsTimeDisabled(true)
|
->setIsTimeDisabled(true)
|
||||||
->setIsDisabled($recurrence_end_date_value->isDisabled())
|
->setIsDisabled($recurrence_end_date_value->isDisabled())
|
||||||
->setAllowNull(true)
|
->setAllowNull(true);
|
||||||
->isRequired(false);
|
|
||||||
|
|
||||||
$recurrence_frequency_select = id(new AphrontFormSelectControl())
|
$recurrence_frequency_select = id(new AphrontFormSelectControl())
|
||||||
->setName('frequency')
|
->setName('frequency')
|
||||||
|
|||||||
Reference in New Issue
Block a user