fix bug in renderUrl method

This commit is contained in:
Sebastian Sdorra
2010-12-29 18:15:45 +01:00
parent d29e260740
commit 8336dc6e21

View File

@@ -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){