Browse Source

Merge pull request #430 from wangkx/Issue_415

Fix gh-415 - problems for adding files to existing superfile

Reviewed-By: Richard Chapman <rchapman@hpccsystems.com>
Richard Chapman 13 năm trước cách đây
mục cha
commit
c93afc0594
1 tập tin đã thay đổi với 2 bổ sung3 xóa
  1. 2 3
      esp/eclwatch/ws_XSLT/addto_superfile.xslt

+ 2 - 3
esp/eclwatch/ws_XSLT/addto_superfile.xslt

@@ -171,12 +171,12 @@
       <body class="yui-skin-sam" onload="nof5();onLoad()">
             <h4>Add to Superfile</h4>
                 <form id="form1" method="POST" action="/WsDfu/AddtoSuperfile">
-                    <input type="hidden" name="ExistingFile" value="0"/>
+                    <input type="hidden" id="ExistingFile" name="ExistingFile" value="0"/>
                     <table>
                         <tr>
                             <td>Superfile Name:</td>
                             <td>
-                                <input type="text" id="Superfile" name="Superfile" size="25" onkeyup="validateInput()"/>
+                                <input type="text" id="Superfile" name="Superfile" size="25" onkeyup="validateInput()" oninput="validateInput()" onmouseout="validateInput()"/>
                             </td>
                         </tr>
                         <tr>
@@ -232,7 +232,6 @@
                         <tr>
                             <td colspan="2">
                                 <input type="submit" id="OK" value="OK" class="sbutton" onclick="return preSubmit(this)"/>
-                                <input type="button" class="sbutton" id="Cancel" value="Cancel" onclick="return onCancel()"/>
                             </td>
                         </tr>
                     </table>