diff options
author | Daniel <darthdaniel85@gmail.com> | 2013-12-24 17:59:22 -0500 |
---|---|---|
committer | Daniel <darthdaniel85@gmail.com> | 2013-12-24 17:59:22 -0500 |
commit | f235957dd296183ff6c427290c7c52397ad95078 (patch) | |
tree | a528753ba3fd3bae43ac982295978a8714031364 /framework/Web/UI/TClientScriptManager.php | |
parent | ec9ebfe3f0680b6f451829bf0111eb69fe092b24 (diff) | |
parent | de198e5bca106ab71ac1d62b45e332aef0601708 (diff) |
all ready
Diffstat (limited to 'framework/Web/UI/TClientScriptManager.php')
-rw-r--r-- | framework/Web/UI/TClientScriptManager.php | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/framework/Web/UI/TClientScriptManager.php b/framework/Web/UI/TClientScriptManager.php index a9f6c5b4..fd550ff1 100644 --- a/framework/Web/UI/TClientScriptManager.php +++ b/framework/Web/UI/TClientScriptManager.php @@ -729,8 +729,11 @@ class TClientScriptManager extends TApplicationComponent */ public function flushScriptFiles($writer, $control=null) { - $this->_page->ensureRenderInForm($control); - $this->renderAllPendingScriptFiles($writer); + if(!$this->_page->getIsCallback()) + { + $this->_page->ensureRenderInForm($control); + $this->renderAllPendingScriptFiles($writer); + } } /** |