From: edward Date: Wed, 6 Sep 2017 04:24:13 +0000 (+0800) Subject: Pman.Gnumeric.js X-Git-Url: http://git.roojs.org/?p=Pman.Core;a=commitdiff_plain;h=110f2154a7078a5f4f15445f7b200a00065123ff Pman.Gnumeric.js --- 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);