From 1ea10bc47449cbfc542a5779ceede6b6afc1391e Mon Sep 17 00:00:00 2001 From: Sebastian Sdorra Date: Tue, 6 Mar 2012 17:33:21 +0100 Subject: [PATCH 1/2] fix wrong indexOf method name in Sonia.util.getServername --- scm-webapp/src/main/webapp/resources/js/util/sonia.util.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scm-webapp/src/main/webapp/resources/js/util/sonia.util.js b/scm-webapp/src/main/webapp/resources/js/util/sonia.util.js index 5c56feaeb5..450ba16a57 100644 --- a/scm-webapp/src/main/webapp/resources/js/util/sonia.util.js +++ b/scm-webapp/src/main/webapp/resources/js/util/sonia.util.js @@ -39,7 +39,7 @@ Sonia.util.getServername = function(url){ url = url.substring(i+3); i = url.indexOf(':'); if ( i <= 0 ){ - i = url.indexof('/'); + i = url.indexOf('/'); } if ( i > 0 ){ url = url.substring(0, i); From 725f537c94c01a73c8cc53ddebdfb5681e90bec1 Mon Sep 17 00:00:00 2001 From: Sebastian Sdorra Date: Wed, 7 Mar 2012 08:38:30 +0100 Subject: [PATCH 2/2] close branch issue-104