From b78929873def20c6413915e21290d83448e6a815 Mon Sep 17 00:00:00 2001 From: edward Date: Wed, 6 Sep 2017 12:30:36 +0800 Subject: [PATCH] Pman.Gnumeric.js --- Pman.Gnumeric.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Pman.Gnumeric.js b/Pman.Gnumeric.js index e4f64e46..116fec7b 100644 --- a/Pman.Gnumeric.js +++ b/Pman.Gnumeric.js @@ -1221,7 +1221,9 @@ Roo.extend(Pman.Gnumeric, Roo.util.Observable, { var godoc = this.doc.createElementNS('http://www.gnumeric.org/v10.dtd', 'GODoc'); var goimage = this.doc.createElement('GOImage'); - + content.setAttribute('image-type', type ? type : 'jpeg'); + content.setAttribute('name', name); + content.setAttribute('type', 'GOPixbuf'); content.setAttribute('size-bytes',data.length); -- 2.39.2