changeset 100:7f3e13c22b19

TW-11493 merged
author Pavel.Sher
date Sat, 03 Apr 2010 12:28:19 +0400
parents 3ac056b1932e (current diff) 09cca4213a3d (diff)
children 95c28c14b26e
files
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial-server/resources/buildServerResources/mercurialSettings.jsp	Mon Feb 08 14:03:50 2010 +0300
+++ b/mercurial-server/resources/buildServerResources/mercurialSettings.jsp	Sat Apr 03 12:28:19 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);
   }