summaryrefslogtreecommitdiff
path: root/framework/Web/UI/ActiveControls/TCallback.php
diff options
context:
space:
mode:
Diffstat (limited to 'framework/Web/UI/ActiveControls/TCallback.php')
-rw-r--r--framework/Web/UI/ActiveControls/TCallback.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/framework/Web/UI/ActiveControls/TCallback.php b/framework/Web/UI/ActiveControls/TCallback.php
index 60bdaf10..47d36d54 100644
--- a/framework/Web/UI/ActiveControls/TCallback.php
+++ b/framework/Web/UI/ActiveControls/TCallback.php
@@ -29,7 +29,8 @@ Prado::using('System.Web.UI.ActiveControls.TActiveControlAdapter');
* <script type="text/javascript">
* function do_callback1()
* {
- * <%= $this->callback1->ActiveControl->Javascript %>
+ * var request = <%= $this->callback1->ActiveControl->Javascript %>;
+ * request.dispatch();
* }
* </script>
* <div onclick="do_callback1()">Click Me!</div>