diff options
author | Fabio Bas <ctrlaltca@gmail.com> | 2014-02-25 22:43:00 +0100 |
---|---|---|
committer | David <ottodavid@gmx.net> | 2014-08-21 17:26:44 +0200 |
commit | 3db08b4d991c02870d04f7198d65fd926805709c (patch) | |
tree | 8d98a63b4d51ababbb24eea9e3d7dab8150f068b /tests/FunctionalTests/active-controls/protected/pages/Calculator.page | |
parent | 4b6d2eab3433bb42671b6b60c28a3ec0434d1983 (diff) |
Ensure all tests have a proper doctype and html structure, to avoid browser's quirks mode
(cherry picked from commit a0d6864093cf13a96dafa8a47b5c43891b2b864f)
Conflicts:
tests/FunctionalTests/active-controls/protected/pages/ActivePanelTest.page
tests/FunctionalTests/active-controls/protected/pages/PostLoadingTest.page
Diffstat (limited to 'tests/FunctionalTests/active-controls/protected/pages/Calculator.page')
-rwxr-xr-x | tests/FunctionalTests/active-controls/protected/pages/Calculator.page | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/tests/FunctionalTests/active-controls/protected/pages/Calculator.page b/tests/FunctionalTests/active-controls/protected/pages/Calculator.page index 7a565658..e7b1f180 100755 --- a/tests/FunctionalTests/active-controls/protected/pages/Calculator.page +++ b/tests/FunctionalTests/active-controls/protected/pages/Calculator.page @@ -1,17 +1,17 @@ -<com:TForm ID="form1"> +<com:TContent ID="Content"> <h1>Callback Enabled Calculator</h1> - + <com:TActiveTextBox id="a" /> + <com:TActiveTextBox id="b" /> = <com:TActiveTextBox id="c" /> - - <com:TActiveButton id="sum" - onclick="do_sum" + + <com:TActiveButton id="sum" + onclick="do_sum" text="Calculate!" /> - - <com:TRequiredFieldValidator + + <com:TRequiredFieldValidator ControlToValidate="a" ErrorMessage="left summand is required." ControlCssClass="required" @@ -27,5 +27,5 @@ ID="summary" HeaderText="Unable to calculate because" /> </div> - -</com:TForm>
\ No newline at end of file + +</com:TContent>
\ No newline at end of file |