Opened 16 years ago

Closed 16 years ago

Last modified 15 years ago

#840 closed defect (duplicate)

dojo.logging.Logger minor correction to allow logging in browser :)

Reported by: [email protected] Owned by: anonymous
Priority: high Milestone:
Component: Core Version: 0.3
Keywords: Cc: ticket #841
Blocked By: Blocking:


The dojo.logging.logQueueHandler.emit function has a check to see if dojo is defined: if(!dj_undef("debug", dj_global)){


}else if((typeof dj_globalprint? == "function")&&(!dojo.render.html.capable)){



For whatever reason dj_global doesn't actually point to the dojo object, so changing that to dojo fixed it. The line above it references dojo.log.getLevelName() anyways so we're pretty fucked already if dojo doesn't exist :)

Change History (2)

comment:1 Changed 16 years ago by [email protected]

Cc: ticket #841 added
Resolution: duplicate
Status: newclosed

comment:2 Changed 15 years ago by (none)

Milestone: 0.4

Milestone 0.4 deleted

Note: See TracTickets for help on using tickets.