From 24681a385f95be23c6b6104a4e5eff7def1d9b38 Mon Sep 17 00:00:00 2001 From: "ghendricks%novell.com" Date: Thu, 12 Oct 2006 18:08:40 +0000 Subject: [PATCH] r2297 | GHendricks | 2006-10-12 12:05:26 -0600 (Thu, 12 Oct 2006) | 1 line Changed paths: M /trunk/template/en/default/testopia/environment/admin/category.html.tmpl M /trunk/template/en/default/testopia/environment/admin/element.html.tmpl M /trunk/template/en/default/testopia/environment/admin/property.html.tmpl M /trunk/template/en/default/testopia/environment/admin/valid_exp.html.tmpl M /trunk/tr_admin_environment.cgi Environment administrator: Unable to name new categories. AND submit button doesn't work... --- .../environment/admin/category.html.tmpl | 21 +++---------------- .../environment/admin/element.html.tmpl | 12 +++-------- .../environment/admin/property.html.tmpl | 11 ++-------- .../environment/admin/valid_exp.html.tmpl | 5 ++--- webtools/testopia/tr_admin_environment.cgi | 2 +- 5 files changed, 11 insertions(+), 40 deletions(-) diff --git a/webtools/testopia/template/en/default/testopia/environment/admin/category.html.tmpl b/webtools/testopia/template/en/default/testopia/environment/admin/category.html.tmpl index 5f36792f23e..a75e04a5e6a 100644 --- a/webtools/testopia/template/en/default/testopia/environment/admin/category.html.tmpl +++ b/webtools/testopia/template/en/default/testopia/environment/admin/category.html.tmpl @@ -22,16 +22,9 @@ [%# INTERFACE: # ... #%] - - -
+

Category Administration

- - - - @@ -53,13 +46,5 @@
- - - - - - - - - - + + diff --git a/webtools/testopia/template/en/default/testopia/environment/admin/element.html.tmpl b/webtools/testopia/template/en/default/testopia/environment/admin/element.html.tmpl index 847bee59e08..1ce6685c3c3 100644 --- a/webtools/testopia/template/en/default/testopia/environment/admin/element.html.tmpl +++ b/webtools/testopia/template/en/default/testopia/environment/admin/element.html.tmpl @@ -24,15 +24,8 @@ # ... #%] - - - - +

Element Administration

- - - -
Parent Product:
@@ -125,4 +118,5 @@

- + + \ No newline at end of file diff --git a/webtools/testopia/template/en/default/testopia/environment/admin/property.html.tmpl b/webtools/testopia/template/en/default/testopia/environment/admin/property.html.tmpl index b76ed5230cd..92f9cf1f8f6 100644 --- a/webtools/testopia/template/en/default/testopia/environment/admin/property.html.tmpl +++ b/webtools/testopia/template/en/default/testopia/environment/admin/property.html.tmpl @@ -24,15 +24,8 @@ # ... #%] - -
+

Property Administration

- - - - - - @@ -55,4 +48,4 @@
- \ No newline at end of file + \ No newline at end of file diff --git a/webtools/testopia/template/en/default/testopia/environment/admin/valid_exp.html.tmpl b/webtools/testopia/template/en/default/testopia/environment/admin/valid_exp.html.tmpl index c2800511496..4f2be2f08ad 100644 --- a/webtools/testopia/template/en/default/testopia/environment/admin/valid_exp.html.tmpl +++ b/webtools/testopia/template/en/default/testopia/environment/admin/valid_exp.html.tmpl @@ -26,8 +26,6 @@

Property Value Administration

- - @@ -67,4 +65,5 @@
-

You must click Save Changes for your changes to take effect

\ No newline at end of file +

You must click Save Changes for your changes to take effect

+ diff --git a/webtools/testopia/tr_admin_environment.cgi b/webtools/testopia/tr_admin_environment.cgi index bd169da06aa..a95e1e5dd06 100755 --- a/webtools/testopia/tr_admin_environment.cgi +++ b/webtools/testopia/tr_admin_environment.cgi @@ -520,7 +520,7 @@ sub add_validexp{ ############################# sub delete_category{ my ($id) = (@_); - my $category = Bugzilla::Testopia::Environment::Category->new({}); + my $category = Bugzilla::Testopia::Environment::Category->new($id); my $success = $category->obliterate; print $success == 1 ? "true" : "false"; }
Assiged to Element: