diff options
author | ctrlaltca <> | 2012-06-01 18:01:40 +0000 |
---|---|---|
committer | ctrlaltca <> | 2012-06-01 18:01:40 +0000 |
commit | 182630cd8c5d3db97dd4e3654540300b6d822e2d (patch) | |
tree | 4ddf9f443d7f638a03bbd600eeb953d89c95a3e0 /framework/Web/UI/ActiveControls/TActiveFileUpload.php | |
parent | f337ba2bebcbe8f4a8493a482526131e6207bb6d (diff) |
committed additional patch for #235
Diffstat (limited to 'framework/Web/UI/ActiveControls/TActiveFileUpload.php')
-rwxr-xr-x | framework/Web/UI/ActiveControls/TActiveFileUpload.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/framework/Web/UI/ActiveControls/TActiveFileUpload.php b/framework/Web/UI/ActiveControls/TActiveFileUpload.php index b4557cd8..ca924026 100755 --- a/framework/Web/UI/ActiveControls/TActiveFileUpload.php +++ b/framework/Web/UI/ActiveControls/TActiveFileUpload.php @@ -270,7 +270,6 @@ EOS; public function onPreRender($param) { parent::onPreRender($param); - $this->getPage()->getClientScript()->registerPradoScript('activefileupload'); if(!$this->getPage()->getIsPostBack() && isset($_GET['TActiveFileUpload_InputId']) && isset($_GET['TActiveFileUpload_TargetId']) && $_GET['TActiveFileUpload_InputId'] == $this->getClientID()) { @@ -369,6 +368,7 @@ EOS; parent::addAttributesToRender($writer); $writer->addAttribute('id',$this->getClientID()); + $this->getPage()->getClientScript()->registerPradoScript('activefileupload'); $this->getActiveControl()->registerCallbackClientScript($this->getClientClassName(),$this->getClientOptions()); } |