From fd5a58549a85ff0a0ad3af892cbebe512a6f5947 Mon Sep 17 00:00:00 2001 From: edward Date: Tue, 10 Nov 2015 14:44:37 +0800 Subject: [PATCH] Pman.Dialog.CoreEmail.bjs Pman.Dialog.CoreEmail.js --- Pman.Dialog.CoreEmail.bjs | 2 +- Pman.Dialog.CoreEmail.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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, -- 2.39.2