Author: tyrell
Date: Wed Jan 9 08:06:43 2008
New Revision: 12081
Log:
Minor changes.
Modified:
trunk/mashup/java/modules/www/stub_gen.jsp
Modified: trunk/mashup/java/modules/www/stub_gen.jsp
==============================================================================
--- trunk/mashup/java/modules/www/stub_gen.jsp (original)
+++ trunk/mashup/java/modules/www/stub_gen.jsp Wed Jan 9 08:06:43 2008
@@ -81,6 +81,10 @@
<script language="JavaScript" type="text/javascript">
+ function clearText() {
+ document.getElementById("js-stub").value = "";
+ }
+
var callback =
{
success:handleSuccess,
@@ -107,7 +111,7 @@
}
function submitFormAsync(formId, isFileUpload) {
-
+ clearText();
var form = document.getElementById(formId);
if (isFileUpload) {
@@ -122,7 +126,7 @@
</script>
</head>
-<body>
+<body onload="clearText();">
<div id="page">
<% String thisPage = "stub_gen.jsp"; %>
<%@ include file="header.jsp" %>
@@ -179,7 +183,7 @@
<div style="height: auto;">
<textarea id="js-stub" class="codepress javascript"
- style="width: 100%;height:60%;"> </textarea>
+ style="width: 100%; height: 60%;"> </textarea>
</div>
</div>
_______________________________________________
Mashup-dev mailing list
[email protected]
http://www.wso2.org/cgi-bin/mailman/listinfo/mashup-dev