Ticket #6700 (closed defect: worksforme)
dojo.require problems in firefox
| Reported by: | guest | Owned by: | anonymous |
|---|---|---|---|
| Priority: | normal | Milestone: | 1.2 |
| Component: | General | Version: | 1.1.0 |
| Severity: | major | Keywords: | |
| Cc: |
Description
Using dojo.require in firefox 2.0.0.14 does not work on a specific page, which does load fine in IE6.
The error is that the js is being loaded from an invalid path: "<current-path>undefined./parser.js" while in my config, the correct path for parser.js is
"/js/dojo-release-1.1.0/dojo/parser.js"
It's not related to the load of any specific file.
The dojo files which are being loaded from the main dojo script tag work fine.
Error message is:
Could not load 'dojo.parser'; last tried './parser.js' /js/dojo-release-1.1.0/dojo/dojo.js Line 20
Attaching an excerpt of the page which has these problems. I am mixing MochiKit? with dojo, and also noticed that the MochiKit? script tag needs to be placed after the dojo script tag, for MochiKit? functions to be correctly defined.