mirror of
https://github.com/maximebf/php-debugbar.git
synced 2025-07-24 02:01:30 +02:00
Fix defer data loading (#728)
This commit is contained in:
@@ -1148,6 +1148,7 @@ class JavascriptRenderer
|
|||||||
|
|
||||||
$suffix = !$initialize ? '(ajax)' : null;
|
$suffix = !$initialize ? '(ajax)' : null;
|
||||||
if ($this->areDatasetsDeferred()) {
|
if ($this->areDatasetsDeferred()) {
|
||||||
|
$this->debugBar->getData();
|
||||||
$js .= $this->getLoadDatasetCode($this->debugBar->getCurrentRequestId(), $suffix);
|
$js .= $this->getLoadDatasetCode($this->debugBar->getCurrentRequestId(), $suffix);
|
||||||
} else {
|
} else {
|
||||||
$js .= $this->getAddDatasetCode($this->debugBar->getCurrentRequestId(), $this->debugBar->getData(), $suffix);
|
$js .= $this->getAddDatasetCode($this->debugBar->getCurrentRequestId(), $this->debugBar->getData(), $suffix);
|
||||||
|
Reference in New Issue
Block a user