From 110f2154a7078a5f4f15445f7b200a00065123ff Mon Sep 17 00:00:00 2001 From: edward Date: Wed, 6 Sep 2017 12:24:13 +0800 Subject: [PATCH] Pman.Gnumeric.js --- Pman.Gnumeric.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Pman.Gnumeric.js b/Pman.Gnumeric.js index c8bcff4d..5a309d2b 100644 --- a/Pman.Gnumeric.js +++ b/Pman.Gnumeric.js @@ -1210,7 +1210,7 @@ Roo.extend(Pman.Gnumeric, Roo.util.Observable, { soi.setAttribute('crop-right','0.000000'); // ...... < / Content> var content = this.doc.createElement('Content'); - content.setAttribute('image-type','jpeg'); + content.setAttribute('image-type', type ? 'jpeg' : type); //alert(imgsrc); content.setAttribute('size-bytes',data.length); -- 2.39.2