Change setErrorView to setInfoView in PHUIObjectBoxView
Summary: Renames the method in PHUIObjectBoxView to match the new PHUIInfoView class. Test Plan: grepped codebase. Went to Calendar and tried a new status. Reviewers: btrahan, epriestley Reviewed By: epriestley Subscribers: Korvin, epriestley Differential Revision: https://secure.phabricator.com/D12005
This commit is contained in:
@@ -257,7 +257,7 @@ final class DiffusionCommitController extends DiffusionController {
|
||||
->appendChild(
|
||||
pht('This commit is very large. Load each file individually.'));
|
||||
|
||||
$change_panel->setErrorView($warning_view);
|
||||
$change_panel->setInfoView($warning_view);
|
||||
$header->addActionLink($button);
|
||||
}
|
||||
|
||||
@@ -920,7 +920,7 @@ final class DiffusionCommitController extends DiffusionController {
|
||||
$panel->setHeaderText(pht('Merged Changes'));
|
||||
$panel->appendChild($history_table);
|
||||
if ($caption) {
|
||||
$panel->setErrorView($caption);
|
||||
$panel->setInfoView($caption);
|
||||
}
|
||||
|
||||
return $panel;
|
||||
|
||||
Reference in New Issue
Block a user