summaryrefslogtreecommitdiff
path: root/swat/esptest/exception.esp
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2005-05-30 08:13:34 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:17:15 -0500
commit0f7314ea019a42e202346fc429330f1e8dfa9b7d (patch)
tree2b799a07ac270fb01b23e5c6c47a1c1d8d193d39 /swat/esptest/exception.esp
parent3f4f393c98e7bc3b2853c699a67a9f5fc2e7d20a (diff)
downloadsamba-0f7314ea019a42e202346fc429330f1e8dfa9b7d.tar.gz
samba-0f7314ea019a42e202346fc429330f1e8dfa9b7d.tar.bz2
samba-0f7314ea019a42e202346fc429330f1e8dfa9b7d.zip
r7093: - added a new Form() ejs object for producing simple forms.
- tidied up the html generation a bit (This used to be commit ddccf6d2f5c4757111010e3116b41e379a7dc2dd)
Diffstat (limited to 'swat/esptest/exception.esp')
-rw-r--r--swat/esptest/exception.esp6
1 files changed, 0 insertions, 6 deletions
diff --git a/swat/esptest/exception.esp b/swat/esptest/exception.esp
index abea890d98..cfd0f312fa 100644
--- a/swat/esptest/exception.esp
+++ b/swat/esptest/exception.esp
@@ -5,16 +5,10 @@
<form name="ExceptionTest" method="POST" action="@@request['SCRIPT_NAME']">
<input name="submit" type="submit" value="Generate Exception">
<input name="submit" type="submit" value="No Exception">
- <input name="submit" type="submit" value="Cancel"><br>
</form>
<%
if (request['REQUEST_METHOD'] == "POST") {
- /* if they cancelled then take them back to the list of tests */
- if (form['submit'] == "Cancel") {
- redirect("/");
- }
-
function TestFunction(arg1, arg2) {
return "OK";
}