fix bug in renderMailto function

This commit is contained in:
Sebastian Sdorra
2011-01-01 21:43:14 +01:00
parent c87d8ea4fa
commit 6d1a123eae

View File

@@ -134,7 +134,11 @@ Sonia.rest.Grid = Ext.extend(Ext.grid.GridPanel, {
},
renderMailto: function(mail){
return String.format( this.mailtoTemplate, mail );
var result = '';
if ( mail != null ){
result = String.format( this.mailtoTemplate, mail );
}
return result;
},
renderCheckbox: function(value){