mirror of
https://we.phorge.it/source/phorge.git
synced 2025-01-03 19:31:02 +01:00
Fix property shadowing on ActionListView after conversion to TagView
Summary: See D17222. D17209 accidentally broke setting IDs on ActionListView by converting it into a TagView: TagView already has an `id` property, and this new `id` property on the subclass shadows it. Materially, the "Actions" mobile button in the headers of objects (for example: Maniphest Task -> shrink browser window -> click "Actions" next to task name) relies on setting IDs on list views. Test Plan: - Viewed a task. - Made browser window narrow. - Clicked `[= Actions]` button. - After patch: saw a dropdown menu. Reviewers: chad Reviewed By: chad Differential Revision: https://secure.phabricator.com/D17223
This commit is contained in:
parent
35f4514e3f
commit
90258ed491
1 changed files with 0 additions and 10 deletions
|
@ -4,7 +4,6 @@ final class PhabricatorActionListView extends AphrontTagView {
|
|||
|
||||
private $actions = array();
|
||||
private $object;
|
||||
private $id = null;
|
||||
|
||||
public function setObject(PhabricatorLiskDAO $object) {
|
||||
$this->object = $object;
|
||||
|
@ -16,15 +15,6 @@ final class PhabricatorActionListView extends AphrontTagView {
|
|||
return $this;
|
||||
}
|
||||
|
||||
public function setID($id) {
|
||||
$this->id = $id;
|
||||
return $this;
|
||||
}
|
||||
|
||||
public function getID() {
|
||||
return $this->id;
|
||||
}
|
||||
|
||||
protected function getTagName() {
|
||||
return 'ul';
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue