mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-23 18:48:51 +02:00
N°6765 Avoid behat scenario loading issues on portal modal (#569)
- New CombodoJsActivity API - Replace existing calls in NiceWebPage (ready scripts) - Add calls in ready block in portal object create template (used in both create and edit)
This commit is contained in:
@@ -255,14 +255,14 @@ EOF
|
||||
protected function GetReadyScriptsStartedTrigger(): ?string
|
||||
{
|
||||
return <<<JS
|
||||
$("body").attr("data-ready-scripts", "start");
|
||||
CombodoJsActivity.AddOngoingScript();
|
||||
JS;
|
||||
}
|
||||
|
||||
protected function GetReadyScriptsFinishedTrigger(): ?string
|
||||
{
|
||||
return <<<JS
|
||||
$("body").attr("data-ready-scripts", "done");
|
||||
CombodoJsActivity.RemoveOngoingScript();
|
||||
JS;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user