changeset 99:09cca4213a3d Darjeeling-5.0.x

TW-11493
author Pavel.Sher
date Sat, 03 Apr 2010 12:24:57 +0400
parents 02fb7e4d5aee
children 7f3e13c22b19 dbeba88e5746
files mercurial-server/resources/buildServerResources/mercurialSettings.jsp
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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);
   }