From cda44920115f2aadd7c3fbe2df13cb48a2cbc0c5 Mon Sep 17 00:00:00 2001 From: "ctrlaltca@gmail.com" <> Date: Sat, 25 Jun 2011 09:08:40 +0000 Subject: applied further "progressive rendering" patches (#235) added TFlushOutput component fixed THtmlarea quickstart demo --- framework/Web/UI/ActiveControls/TDraggable.php | 2 ++ 1 file changed, 2 insertions(+) (limited to 'framework/Web/UI/ActiveControls/TDraggable.php') diff --git a/framework/Web/UI/ActiveControls/TDraggable.php b/framework/Web/UI/ActiveControls/TDraggable.php index 10e78b9b..10ecf5a5 100755 --- a/framework/Web/UI/ActiveControls/TDraggable.php +++ b/framework/Web/UI/ActiveControls/TDraggable.php @@ -145,6 +145,7 @@ class TDraggable extends TPanel public function onPreRender($param) { parent::onPreRender($param); + $cs=$this->getPage()->getClientScript(); if ($this->getGhosting()==TDraggableGhostingOptions::SuperGhosting) $cs->registerPradoScript('dragdropextra'); else @@ -158,6 +159,7 @@ class TDraggable extends TPanel protected function addAttributesToRender($writer) { parent::addAttributesToRender($writer); + $cs=$this->getPage()->getClientScript(); $writer->addAttribute('id',$this->getClientID()); $options=TJavascript::encode($this->getPostBackOptions()); $class=$this->getClientClassName(); -- cgit v1.2.3