summaryrefslogtreecommitdiff
path: root/tests/FunctionalTests/tickets/protected
diff options
context:
space:
mode:
Diffstat (limited to 'tests/FunctionalTests/tickets/protected')
-rw-r--r--tests/FunctionalTests/tickets/protected/pages/Ticket518.page10
-rw-r--r--tests/FunctionalTests/tickets/protected/pages/Ticket521.page12
-rw-r--r--tests/FunctionalTests/tickets/protected/pages/Ticket521.php16
3 files changed, 38 insertions, 0 deletions
diff --git a/tests/FunctionalTests/tickets/protected/pages/Ticket518.page b/tests/FunctionalTests/tickets/protected/pages/Ticket518.page
new file mode 100644
index 00000000..657dc4cf
--- /dev/null
+++ b/tests/FunctionalTests/tickets/protected/pages/Ticket518.page
@@ -0,0 +1,10 @@
+<com:TContent ID="Content">
+<h2 class="defect">Not possible to add custom buttons to TinyMCE</h2>
+
+<com:THtmlArea>
+ <prop:Options>
+ theme_advanced_buttons3: 'justifyleft,justifycenter'
+ </prop:Options>
+</com:THtmlArea>
+
+</com:TContent> \ No newline at end of file
diff --git a/tests/FunctionalTests/tickets/protected/pages/Ticket521.page b/tests/FunctionalTests/tickets/protected/pages/Ticket521.page
new file mode 100644
index 00000000..e1f65663
--- /dev/null
+++ b/tests/FunctionalTests/tickets/protected/pages/Ticket521.page
@@ -0,0 +1,12 @@
+<com:TContent ID="Content">
+
+<!--
+ <com:System.Web.UI.ActiveControls.TActiveButton ID="addInvestType" Text="Add"
+ OnCallback="doSave" />
+-->
+<com:System.Web.UI.ActiveControls.TActiveButton id="button1" OnClick="doOnClick" OnCallback="doSave" Text="Save" />
+<com:System.Web.UI.ActiveControls.TActiveLabel ID="label1" Text="Label 1" />
+
+
+
+</com:TContent> \ No newline at end of file
diff --git a/tests/FunctionalTests/tickets/protected/pages/Ticket521.php b/tests/FunctionalTests/tickets/protected/pages/Ticket521.php
new file mode 100644
index 00000000..d28a777a
--- /dev/null
+++ b/tests/FunctionalTests/tickets/protected/pages/Ticket521.php
@@ -0,0 +1,16 @@
+<?php
+
+class Ticket521 extends TPage
+{
+
+ public function doOnClick($s, $p){
+ $this->label1->Text = "Button 1 was clicked ";
+ }
+ public function doSave($s, $p){
+ $this->label1->Text .= " on callback ";
+
+ }
+
+
+}
+?> \ No newline at end of file