From 8336dc6e215f1cd2740639cf42d36645b1d19405 Mon Sep 17 00:00:00 2001 From: Sebastian Sdorra Date: Wed, 29 Dec 2010 18:15:45 +0100 Subject: [PATCH] fix bug in renderUrl method --- scm-webapp/src/main/webapp/resources/js/sonia.rest.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/scm-webapp/src/main/webapp/resources/js/sonia.rest.js b/scm-webapp/src/main/webapp/resources/js/sonia.rest.js index 6b90d9f96a..a9e280663e 100644 --- a/scm-webapp/src/main/webapp/resources/js/sonia.rest.js +++ b/scm-webapp/src/main/webapp/resources/js/sonia.rest.js @@ -126,7 +126,11 @@ Sonia.rest.Grid = Ext.extend(Ext.grid.GridPanel, { }, renderUrl: function(url){ - return String.format( this.urlTemplate, url ); + var result = ''; + if ( url != null ){ + result = String.format( this.urlTemplate, url ); + } + return result; }, renderMailto: function(mail){