Rename constants according to @steffunky 's advice (better DX)

This commit is contained in:
Molkobain
2021-02-19 18:35:20 +01:00
parent ea502e9c81
commit 5e21ec03cd
5 changed files with 36 additions and 14 deletions

View File

@@ -121,7 +121,7 @@ class TabContainer extends UIContentBlock
public function AddAjaxTab(string $sTabCode, string $sTitle, ?string $sPlaceholder = null): Tab
{
if($sPlaceholder === null){
$sPlaceholder = AjaxTab::DEFAULT_TAB_PLACEHOLDER_REL_PATH;
$sPlaceholder = AjaxTab::DEFAULT_TAB_PLACEHOLDER;
}
$oTab = new AjaxTab($sTabCode, $sTitle, $sPlaceholder);
$this->AddSubBlock($oTab);