N°2847 - Rework of TabContainer / Tab

- Add JS widget to handle front-end logic and for better encapsulation
- Move SCSS files to match convention
- Update SCSS files
- Remove unused SCSS file
- Move HTML templates to match convention
- Remove unused HTML template
- Renamed codes and folders to match convention
- Update PHPDoc
- Reformat code
- Remove usage of return type hinting when using "self"
This commit is contained in:
Molkobain
2020-09-30 17:46:11 +02:00
parent 261131d6d7
commit 50bf0c9a27
20 changed files with 398 additions and 287 deletions

View File

@@ -209,7 +209,7 @@ class TabManager
// Set the content of the tab
/** @var \Combodo\iTop\Application\UI\Layout\TabContainer\Tab\AjaxTab $oTab */
$oTab = $this->InitTab($this->m_sCurrentTabContainer, $sTabCode, static::ENUM_TAB_TYPE_AJAX, $sTabTitle);
$oTab->SetURL($sUrl)
$oTab->SetUrl($sUrl)
->SetCache($bCache);
return ''; // Nothing to add to the page for now