mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-20 09:08:42 +02:00
N°3750 fix body data-ready-scripts attribute not visible
Was using .data() instead of .attr :(
Was already changed in 8efc688f for other attributes, but I forgot this one :/
This commit is contained in:
@@ -239,14 +239,14 @@ EOF
|
||||
protected function GetReadyScriptsStartedTrigger(): ?string
|
||||
{
|
||||
return <<<JS
|
||||
$("body").data("ready-scripts", "start");
|
||||
$("body").attr("data-ready-scripts", "start");
|
||||
JS;
|
||||
}
|
||||
|
||||
protected function GetReadyScriptsFinishedTrigger(): ?string
|
||||
{
|
||||
return <<<JS
|
||||
$("body").data("ready-scripts", "done");
|
||||
$("body").attr("data-ready-scripts", "done");
|
||||
JS;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user