From: edward Date: Tue, 10 Nov 2015 06:43:35 +0000 (+0800) Subject: Pman.Dialog.CoreEmail.bjs X-Git-Url: http://git.roojs.org/?p=Pman.Core;a=commitdiff_plain;h=ba449c6620e4e359e57b4a184f622c1445689915 Pman.Dialog.CoreEmail.bjs Pman.Dialog.CoreEmail.js --- diff --git a/Pman.Dialog.CoreEmail.bjs b/Pman.Dialog.CoreEmail.bjs index 9ed02864..dec2ae51 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 *width / 50);\n }\n \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 * width / 50);\n }\n \n return '';\n}", "$ xns" : "Roo.grid", "* prop" : "colModel[]", "dataIndex" : "filename" diff --git a/Pman.Dialog.CoreEmail.js b/Pman.Dialog.CoreEmail.js index 52759da1..679bdf1b 100644 --- a/Pman.Dialog.CoreEmail.js +++ b/Pman.Dialog.CoreEmail.js @@ -1222,7 +1222,7 @@ Pman.Dialog.CoreEmail = { if(width > 50){ width = 50; - height = Math.round(height *width / 50); + height = Math.round(height * width / 50); } return '';