Differential D18693 Diff 44881 src/applications/dashboard/customfield/PhabricatorDashboardPanelTabsCustomField.php
Changeset View
Changeset View
Standalone View
Standalone View
src/applications/dashboard/customfield/PhabricatorDashboardPanelTabsCustomField.php
Show First 20 Lines • Show All 72 Lines • ▼ Show 20 Lines | if (!$old) { | ||||
$xaction->renderHandleLink($author_phid), | $xaction->renderHandleLink($author_phid), | ||||
$old_tabs, | $old_tabs, | ||||
$new_tabs); | $new_tabs); | ||||
} | } | ||||
} | } | ||||
public function renderEditControl(array $handles) { | public function renderEditControl(array $handles) { | ||||
// NOTE: This includes archived panels so we don't mutate the tabs | // NOTE: This includes archived panels so we don't mutate the tabs | ||||
// when saving a tab panel that includes archied panels. This whole UI is | // when saving a tab panel that includes archived panels. This whole UI is | ||||
// hopefully temporary anyway. | // hopefully temporary anyway. | ||||
$value = $this->getFieldValue(); | $value = $this->getFieldValue(); | ||||
if (!is_array($value)) { | if (!is_array($value)) { | ||||
$value = array(); | $value = array(); | ||||
} | } | ||||
$out = array(); | $out = array(); | ||||
Show All 25 Lines |