summaryrefslogtreecommitdiff
path: root/tests/FunctionalTests/tickets/protected/pages/Ticket698.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/FunctionalTests/tickets/protected/pages/Ticket698.php')
-rw-r--r--tests/FunctionalTests/tickets/protected/pages/Ticket698.php15
1 files changed, 15 insertions, 0 deletions
diff --git a/tests/FunctionalTests/tickets/protected/pages/Ticket698.php b/tests/FunctionalTests/tickets/protected/pages/Ticket698.php
new file mode 100644
index 00000000..e7bf6646
--- /dev/null
+++ b/tests/FunctionalTests/tickets/protected/pages/Ticket698.php
@@ -0,0 +1,15 @@
+<?php
+
+prado::using ('System.Web.UI.ActiveControls.*');
+
+class Ticket698 extends TPage
+{
+ public function switchContentTypeClicked( $sender, $param ) {
+ $this->EditHtmlTextBox->EnableVisualEdit = !$this->EditHtmlTextBox->EnableVisualEdit;
+ }
+
+ public function switchContentTypeCallback( $sender, $param ) {
+ $this->ContentPanel->render( $param->NewWriter );
+ }
+}
+?> \ No newline at end of file