diff options
Diffstat (limited to 'framework/Web/UI')
-rw-r--r-- | framework/Web/UI/JuiControls/TJuiDialog.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/framework/Web/UI/JuiControls/TJuiDialog.php b/framework/Web/UI/JuiControls/TJuiDialog.php index e02157d0..cd349f1a 100644 --- a/framework/Web/UI/JuiControls/TJuiDialog.php +++ b/framework/Web/UI/JuiControls/TJuiDialog.php @@ -161,7 +161,7 @@ class TJuiDialog extends TActivePanel implements IJuiOptions, ICallbackEventHand private function triggerClientMethod($method) { $cs = $this->getPage()->getClientScript(); - $code = "jQuery('#".$this->getClientId()."').dialog('".$method."');"; + $code = "jQuery(document).ready(function() { jQuery('#".$this->getClientId()."').dialog('".$method."'); })"; $cs->registerEndScript(sprintf('%08X', crc32($code)), $code); } |