diff options
Diffstat (limited to 'framework/Web/UI/ActiveControls/TDropContainer.php')
-rwxr-xr-x | framework/Web/UI/ActiveControls/TDropContainer.php | 2 |
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()); } |