summaryrefslogtreecommitdiff
path: root/framework/Web/UI/WebControls
diff options
context:
space:
mode:
authorctrlaltca <>2012-06-04 13:19:53 +0000
committerctrlaltca <>2012-06-04 13:19:53 +0000
commit1c22314e5d19947bad8b987afbf2c9dc6bf834d6 (patch)
tree44805f39154165959d2f2eda154ea16d6ef6b5c3 /framework/Web/UI/WebControls
parent357ee6f0b72cd1657b01d8ebc5854300e5fadab4 (diff)
Related to r3159: Script rendering in ajax callbacks doesn't need to happen inside form rendering; avoid using assert(), throw an exception instead
Diffstat (limited to 'framework/Web/UI/WebControls')
-rw-r--r--framework/Web/UI/WebControls/TClientScript.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/framework/Web/UI/WebControls/TClientScript.php b/framework/Web/UI/WebControls/TClientScript.php
index 6eba3d57..8fe3b723 100644
--- a/framework/Web/UI/WebControls/TClientScript.php
+++ b/framework/Web/UI/WebControls/TClientScript.php
@@ -125,7 +125,7 @@ class TClientScript extends TControl
public function render($writer)
{
if ($this->getFlushScriptFiles())
- $this->getPage()->getClientScript()->flushScriptFiles($writer);
+ $this->getPage()->getClientScript()->flushScriptFiles($writer, $this);
$this->renderCustomScriptFile($writer);
$this->renderCustomScript($writer);
}