polish install tool IU
[teamcity/dotNetPackagesSupport.git] / nuget-server / resources / tool / installTool-show.jsp
index 2542db78aac7531a9e22a731255267fb3ae539e0..d6d171e7720124efde57b630ff66cf39dba92ee9 100644 (file)
@@ -22,6 +22,9 @@
   <c:choose>\r
     <c:when test="${fn:length(available) eq 0}">\r
       No other NuGet.exe Command Line packages available\r
+      <script type="text/javascript">\r
+        BS.NuGet.Tools.InstallPopup.disableSubmit();\r
+      </script>\r
     </c:when>\r
     <c:otherwise>\r
       <table class="runnerFormTable">\r
           </td>\r
         </tr>\r
         <tr>\r
-          <th><label for="tools">Version:<l:star/></label></th>\r
+          <th><label for="toolId">Version:<l:star/></label></th>\r
           <td>\r
-            <forms:select name="tools" style="width:15em;">\r
-              <forms:option value="">-- Please choose version --</forms:option>\r
+            <props:selectProperty name="toolId" style="width:15em;">\r
+              <props:option value="">-- Please choose version --</props:option>\r
               <c:forEach var="t" items="${available}">\r
                 <forms:option value="${t.id}"><c:out value="${t.version}"/></forms:option>\r
               </c:forEach>\r
-            </forms:select>\r
+            </props:selectProperty>\r
             <span class="smallNote">\r
               Choose version of NuGet Commandline Tools to install.\r
             </span>\r
+            <span class="error" id="error_toolId"></span>\r
           </td>\r
         </tr>\r
       </table>\r