Pman.Gnumeric.js
authoredward <edward@roojs.com>
Wed, 6 Sep 2017 04:37:56 +0000 (12:37 +0800)
committeredward <edward@roojs.com>
Wed, 6 Sep 2017 04:37:56 +0000 (12:37 +0800)
Pman.Gnumeric.js

index e56937a..302f285 100644 (file)
@@ -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');