From: edward Date: Wed, 6 Sep 2017 04:37:56 +0000 (+0800) Subject: Pman.Gnumeric.js X-Git-Url: http://git.roojs.org/?p=Pman.Core;a=commitdiff_plain;h=0cb603ff44fe16a664c6077e64c2c35617eca780 Pman.Gnumeric.js --- diff --git a/Pman.Gnumeric.js b/Pman.Gnumeric.js index e56937ad..302f2851 100644 --- a/Pman.Gnumeric.js +++ b/Pman.Gnumeric.js @@ -1217,7 +1217,7 @@ Roo.extend(Pman.Gnumeric, Roo.util.Observable, { soi.appendChild(content); objs.appendChild(soi); - var godoc = this.sheet.getElementsByTagNameNS('*','GODoc')[0]; + var godoc = this.doc.getElementsByTagNameNS('*','GODoc')[0]; var goimage = this.doc.createElement('GOImage'); goimage.setAttribute('image-type', type ? type : 'jpeg');