From 38554165e67c90f48c87a6358212f9b67d6ffd4d Mon Sep 17 00:00:00 2001 From: hexusdev Date: Wed, 5 Jul 2017 14:06:32 +0300 Subject: [PATCH] duplicates already checked in resourceManager->js --- src/Component/DetailsRow.php | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/src/Component/DetailsRow.php b/src/Component/DetailsRow.php index 2fd2aa8..4b9281d 100644 --- a/src/Component/DetailsRow.php +++ b/src/Component/DetailsRow.php @@ -82,11 +82,10 @@ public function attachToCompound(Compound $root, $prepend = false) ); } $tr->setAttribute('data-row-with-details', 1); - - if(!$this->resourceManager->includedResources()->isIncluded($this->jquery->getAttribute('src'))){ - $this->getGrid()->children()->add($this->jquery, 1); - } - $this->getGrid()->children()->add($this->getScript()); + + $this->getGrid()->children() + ->add($this->jquery, 1) + ->add($this->getScript()); // fix zebra styled tables $this->parent()->addChild(new DataView(''));