From 0dc085e4793987076fa3bdddbbbda36f8c591388 Mon Sep 17 00:00:00 2001 From: edward Date: Wed, 6 Sep 2017 12:27:55 +0800 Subject: [PATCH] Pman.Gnumeric.js --- Pman.Gnumeric.js | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/Pman.Gnumeric.js b/Pman.Gnumeric.js index 5c62da90..25575c6e 100644 --- a/Pman.Gnumeric.js +++ b/Pman.Gnumeric.js @@ -1213,13 +1213,15 @@ Roo.extend(Pman.Gnumeric, Roo.util.Observable, { var name = 'Image' + Math.random().toString(36).substring(2); var content = this.doc.createElement('Content'); content.setAttribute('image-type', type ? type : 'jpeg'); + content.setAttribute('name', name); + soi.appendChild(content); + objs.appendChild(soi); + - content.setAttribute('name', ); content.setAttribute('size-bytes',data.length); content.textContent = data; - soi.appendChild(content); - objs.appendChild(soi); + return true; //< /gnm:SheetObjectImage> // < /gnm:Objects> -- 2.39.2