diff mercurial-server/resources/buildServerResources/mercurialSettings.jsp @ 99:09cca4213a3d Darjeeling-5.0.x

TW-11493
author Pavel.Sher
date Sat, 03 Apr 2010 12:24:57 +0400
parents b328c6b6526d
children 48a9978eaa37
line wrap: on
line diff
--- a/mercurial-server/resources/buildServerResources/mercurialSettings.jsp	Mon Feb 08 14:05:39 2010 +0300
+++ b/mercurial-server/resources/buildServerResources/mercurialSettings.jsp	Sat Apr 03 12:24:57 2010 +0400
@@ -2,7 +2,7 @@
 <%@ taglib prefix="props" tagdir="/WEB-INF/tags/props" %>
 <jsp:useBean id="propertiesBean" scope="request" type="jetbrains.buildServer.controllers.BasePropertiesBean"/>
 <script type="text/javascript">
-function updateBranchName(repoPath) {
+window.updateBranchName = function(repoPath) {
   if (repoPath.indexOf('#') != -1 && $('branchName').value == '') {
     $('branchName').value = repoPath.substring(repoPath.indexOf('#')+1);
   }