summaryrefslogtreecommitdiffstats
path: root/cgi
diff options
context:
space:
mode:
authora.arora <a.arora>2004-02-17 11:33:21 +0000
committera.arora <a.arora>2004-02-17 11:33:21 +0000
commit6e606452b1347da55780adafd8481e285ced8cc3 (patch)
treea1675c29a9a69dc71d9ce69164db9a5effeea339 /cgi
parent6791241deb99bb7db639e067fe9b537c2ae96c2e (diff)
downloadtog-pegasus-6e606452b1347da55780adafd8481e285ced8cc3.zip
tog-pegasus-6e606452b1347da55780adafd8481e285ced8cc3.tar.gz
tog-pegasus-6e606452b1347da55780adafd8481e285ced8cc3.tar.xz
minor UI and Javascript changes , corrected invalid hyperlink
Diffstat (limited to 'cgi')
-rw-r--r--cgi/htdocs/DeleteInstance.html15
1 files changed, 13 insertions, 2 deletions
diff --git a/cgi/htdocs/DeleteInstance.html b/cgi/htdocs/DeleteInstance.html
index d386a63..acfbb8f 100644
--- a/cgi/htdocs/DeleteInstance.html
+++ b/cgi/htdocs/DeleteInstance.html
@@ -1,4 +1,15 @@
<html>
+<head>
+<script>
+ function rTrim(tempStr){
+ while( tempStr.lastIndexOf(' ') == tempStr.length-1 && tempStr.length > 0 )
+ {
+ tempStr = tempStr.substring(0,tempStr.length-1)
+ }
+ document.DeleteInstance.InstanceName.value = tempStr;
+ }
+</script>
+</head>
<body bgcolor="#CCCCCC">
<table width="100%">
<tr>
@@ -21,7 +32,7 @@
<p><b>NameSpace</b>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <INPUT TYPE="text" NAME="NameSpace" SIZE=30
VALUE="root/cimv2">
String that defines the target namespace. See <a
- href="getnamespaces.html">NameSpace
+ href="enumeratenamespaces.html">NameSpace
Operations</a> for more information
<p><b><a href="#InstanceName">InstanceName</a></b> <INPUT TYPE="text"
@@ -30,7 +41,7 @@
href="EnumerateInstanceNames.html">Enumerate
Instance Names</a> for instance names for a class
- <p><INPUT TYPE="submit" VALUE="Submit Request">
+ <p><INPUT TYPE="submit" VALUE="Submit Request" onClick="rTrim(document.DeleteInstance.InstanceName.value);">
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp;&nbsp; <INPUT TYPE="reset" VALUE="Reset Form">