summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorvakwetu <vakwetu@c9f7a03b-bd48-0410-a16d-cbbf54688b0b>2010-10-21 19:00:47 +0000
committervakwetu <vakwetu@c9f7a03b-bd48-0410-a16d-cbbf54688b0b>2010-10-21 19:00:47 +0000
commita8eaa96b2e0c1b029bc6d642b6fe79f71147ed76 (patch)
tree8acaef921cc1541d02c694939afae464135e6e72
parent7d49b508d8ee28843041a9e2816f6e37b4793097 (diff)
downloadpki-a8eaa96b2e0c1b029bc6d642b6fe79f71147ed76.tar.gz
pki-a8eaa96b2e0c1b029bc6d642b6fe79f71147ed76.tar.xz
pki-a8eaa96b2e0c1b029bc6d642b6fe79f71147ed76.zip
Bugzilla BZ 642692 - TPS UI Admin tab: Remove 'Submit For Approval' greyed out button from the subsystem connection edit page.
git-svn-id: svn+ssh://svn.fedorahosted.org/svn/pki/trunk@1438 c9f7a03b-bd48-0410-a16d-cbbf54688b0b
-rw-r--r--pki/dogtag/tps-ui/shared/docroot/tokendb/editConfig.template15
1 files changed, 9 insertions, 6 deletions
diff --git a/pki/dogtag/tps-ui/shared/docroot/tokendb/editConfig.template b/pki/dogtag/tps-ui/shared/docroot/tokendb/editConfig.template
index 7fd3408be..838a3dd74 100644
--- a/pki/dogtag/tps-ui/shared/docroot/tokendb/editConfig.template
+++ b/pki/dogtag/tps-ui/shared/docroot/tokendb/editConfig.template
@@ -199,13 +199,16 @@ function doDelete() {
document.write("<input TYPE=button VALUE=Cancel onClick=\"doCancel();\">");
document.write("</td>\n");
- document.write("<td align=left>\n");
- if ((conf_state == "Disabled") && (agent_must_approve == "true")) {
- document.write("<input name=choice TYPE=submit VALUE=\"Submit For Approval\">");
- } else {
- document.write("<input name=choice TYPE=submit VALUE=\"Submit For Approval\" disabled=disabled>");
+ if (agent_must_approve == "true") {
+ document.write("<td align=left>\n");
+ if (conf_state == "Disabled") {
+ document.write("<input name=choice TYPE=submit VALUE=\"Submit For Approval\">");
+ } else {
+ document.write("<input name=choice TYPE=submit VALUE=\"Submit For Approval\" disabled=disabled>");
+ }
+ document.write("</td>\n");
}
- document.write("</td>\n");
+
document.write("</form>\n");
document.write("<td align=left>\n");