Opened 13 years ago

Closed 13 years ago

#9167 closed defect (worksforme)

dojox.gfx.createSurface() broken in vml.js for IE7

Reported by: awall Owned by: Eugene Lazutkin
Priority: high Milestone: tbd
Component: DojoX GFX Version: 1.3.0
Keywords: gfx createSurface IE7 vml Cc:
Blocked By: Blocking:


line 1052 in dojo-nightly/dojox/gfx/vml.js call to dojox.gfx.createSurface() r.appendChild(b); IE7 error alert: Unexpected call to method or property access

my code that calls createSurface():

var winWidth = "785px"; var winHeight = "350px"; var e = dojo.create("div", {

dojoAttachPoint: "printSurface"

}, dojo.body());

var surface = dojox.gfx.createSurface(e, winWidth, winHeight);

Debugging this in visual studio 2005 doesn't give me any clues



Change History (1)

comment:1 Changed 13 years ago by Eugene Lazutkin

Resolution: worksforme
Status: newclosed

Sounds like you forgot to dojo.require("dojox.gfx"); and/or wait for loading the page with dojo.addOnLoad();

I am closing this ticket for now, but if you can reproduce the bug with the minimal test program, please attach it to the ticket, and reopen it.

Note: See TracTickets for help on using tickets.