#840 closed defect (duplicate)
dojo.logging.Logger minor correction to allow logging in browser :)
Reported by: | Owned by: | anonymous | |
---|---|---|---|
Priority: | high | Milestone: | |
Component: | Core | Version: | 0.3 |
Keywords: | Cc: | ticket #841 | |
Blocked By: | Blocking: |
Description
The dojo.logging.logQueueHandler.emit function has a check to see if dojo is defined: if(!dj_undef("debug", dj_global)){
dojo.debug(logStr);
}else if((typeof dj_globalprint? == "function")&&(!dojo.render.html.capable)){
print(logStr);
}
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 15 years ago by
Cc: | ticket #841 added |
---|---|
Resolution: | → duplicate |
Status: | new → closed |
comment:2 Changed 14 years ago by
Milestone: | 0.4 |
---|
Note: See
TracTickets for help on using
tickets.
Milestone 0.4 deleted