summaryrefslogtreecommitdiff
path: root/framework/Web/UI/ActiveControls/TDropContainer.php
diff options
context:
space:
mode:
Diffstat (limited to 'framework/Web/UI/ActiveControls/TDropContainer.php')
-rwxr-xr-xframework/Web/UI/ActiveControls/TDropContainer.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/framework/Web/UI/ActiveControls/TDropContainer.php b/framework/Web/UI/ActiveControls/TDropContainer.php
index daa8469b..072762df 100755
--- a/framework/Web/UI/ActiveControls/TDropContainer.php
+++ b/framework/Web/UI/ActiveControls/TDropContainer.php
@@ -181,7 +181,6 @@ class TDropContainer extends TPanel implements IActiveControl, ICallbackEventHan
public function onPreRender($param)
{
parent::onPreRender($param);
- $this->getPage()->getClientScript()->registerPradoScript('dragdrop');
}
/**
@@ -193,6 +192,7 @@ class TDropContainer extends TPanel implements IActiveControl, ICallbackEventHan
parent::addAttributesToRender($writer);
$writer->addAttribute('id',$this->getClientID());
+ $this->getPage()->getClientScript()->registerPradoScript('dragdrop');
$this->getActiveControl()->registerCallbackClientScript(
$this->getClientClassName(), $this->getPostBackOptions());
}