X-Git-Url: http://git.roojs.org/?a=blobdiff_plain;f=Pman.Dialog.CoreEmail.bjs;h=0eefe51c2136d3104e5124b24b51d56dcd99561f;hb=439b26d492a433f2d7a8aff4b898e688e8edc15d;hp=bbcfa4e0346d17ff8d81fe346a0d0eb471cfce45;hpb=fd7728348c152dcc84a966060241400d122e9237;p=Pman.Core diff --git a/Pman.Dialog.CoreEmail.bjs b/Pman.Dialog.CoreEmail.bjs index bbcfa4e0..0eefe51c 100644 --- a/Pman.Dialog.CoreEmail.bjs +++ b/Pman.Dialog.CoreEmail.bjs @@ -554,7 +554,7 @@ "xtype" : "ColumnModel", "header" : "Filename", "width" : 300, - "$ renderer" : "function(v,x,r)\n{\n var width = r.data.width;\n var height = r.data.height;\n \n if(width > 50){\n width = 50;\n height = Math.round(height * 50 / width);\n }\n Roo.log((height * 50 / width));\n return '';\n}", + "$ renderer" : "function(v,x,r)\n{\n var width = r.data.width;\n var height = r.data.height;\n \n if(width > 50){\n width = 50;\n height = Math.round(height * 50 / width);\n }\n Roo.log((height));\n return '';\n}", "$ xns" : "Roo.grid", "* prop" : "colModel[]", "dataIndex" : "filename"