N°2847 - Rework iTopWebPage layout (WIP Part IV)

- iTopWebPage: Clean up some commented sections
- iTopWebPage: Marked some new methods as @internal
- iTopWebPage: Restore page content to allow // developments
- Quick create: Add quick object creation box to the top bar
- Global search: Improve cinematic with other widgets
- Components / Layouts: Move JS parts to iTopWebPage, will be put in dedicated PHP helpers later
This commit is contained in:
Molkobain
2020-07-27 15:07:40 +02:00
parent d56f6e684a
commit d4694b271f
18 changed files with 726 additions and 76 deletions

View File

@@ -18,6 +18,7 @@
*/
use Combodo\iTop\Application\GlobalSearch\GlobalSearchHelper;
use Combodo\iTop\Application\QuickCreate\QuickCreateHelper;
/**
* Displays a popup welcome message, once per session at maximum
@@ -1266,6 +1267,7 @@ HTML
utils::RemoveTransaction($sTransactionId);
$oP->set_title(Dict::S('UI:PageTitle:ObjectCreated'));
QuickCreateHelper::AddClassToHistory($sClass);
// Compute the name, by reloading the object, even if it disappeared from the silo
$oObj = MetaModel::GetObject($sClass, $oObj->GetKey(), true /* Must be found */, true /* Allow All Data*/);