From: edward Date: Tue, 10 Nov 2015 06:44:37 +0000 (+0800) Subject: Pman.Dialog.CoreEmail.bjs X-Git-Url: http://git.roojs.org/?p=Pman.Core;a=commitdiff_plain;h=fd5a58549a85ff0a0ad3af892cbebe512a6f5947 Pman.Dialog.CoreEmail.bjs Pman.Dialog.CoreEmail.js --- diff --git a/Pman.Dialog.CoreEmail.bjs b/Pman.Dialog.CoreEmail.bjs index ff250deb..c31b7208 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 \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([width, height]);\n return '';\n}", "$ xns" : "Roo.grid", "* prop" : "colModel[]", "dataIndex" : "filename" diff --git a/Pman.Dialog.CoreEmail.js b/Pman.Dialog.CoreEmail.js index ba5e6dd6..1f487c59 100644 --- a/Pman.Dialog.CoreEmail.js +++ b/Pman.Dialog.CoreEmail.js @@ -1224,7 +1224,7 @@ Pman.Dialog.CoreEmail = { width = 50; height = Math.round(height * 50 / width); } - + Roo.log([width, height]); return ''; }, width : 300,