From 5e82afde4d98b26b36fc14980efa75393d6ef77e Mon Sep 17 00:00:00 2001 From: tof <> Date: Thu, 17 Jul 2008 08:52:51 +0000 Subject: Added TestCase for #698 --- .../tickets/protected/pages/Ticket698.page | 7 +++++++ .../FunctionalTests/tickets/protected/pages/Ticket698.php | 15 +++++++++++++++ 2 files changed, 22 insertions(+) create mode 100644 tests/FunctionalTests/tickets/protected/pages/Ticket698.page create mode 100644 tests/FunctionalTests/tickets/protected/pages/Ticket698.php (limited to 'tests/FunctionalTests/tickets/protected') diff --git a/tests/FunctionalTests/tickets/protected/pages/Ticket698.page b/tests/FunctionalTests/tickets/protected/pages/Ticket698.page new file mode 100644 index 00000000..686fef9d --- /dev/null +++ b/tests/FunctionalTests/tickets/protected/pages/Ticket698.page @@ -0,0 +1,7 @@ + + + + + + + \ No newline at end of file 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 @@ +EditHtmlTextBox->EnableVisualEdit = !$this->EditHtmlTextBox->EnableVisualEdit; + } + + public function switchContentTypeCallback( $sender, $param ) { + $this->ContentPanel->render( $param->NewWriter ); + } +} +?> \ No newline at end of file -- cgit v1.2.3