Opened 10 years ago

Last modified 10 years ago

#12104 closed defect

Could not load 'dojo.parser'; last tried './parser.js' in FF.3.6.13 — at Initial Version

Reported by: hisaravanankesavan Owned by: bill
Priority: high Milestone: tbd
Component: Core Version: 1.5
Keywords: dojo.parser, parser, firefox Cc: [email protected]
Blocked By: Blocking:

Description

I have attached a sample HTML file "pathtest.html" to this Ticket.

Below is my deployed folder structure with DOjo framework C:\lib\DOJO\dojo

\dijit \dojox

C:\test\1\pathtest.html : where i have the sample html file

I Just added a simple dijit text box to this html file. When i open this file in IE 8 it works good as expected. When i open this in FF.3.6.13 its showing error "Could not load 'dojo.parser'; last tried './parser.js'" in FireBug? COnsole.

This is the way i referenced the Dojo library inside the html file <script

type="text/javascript" src="../../lib/DOJO/dojo/dojo.js" djConfig="parseOnLoad: true"

</script>

This is the way i referenced the themes <style type="text/css">

@import "../../lib/DOJO/dojo/resources/dojo.css"; @import "../../lib/DOJO/dijit/themes/tundra/tundra.css";

</style>

More over i alert the dojo.baseUrl before dojo.require("dojo.parser"); to know whats the base Url, in that case it alerts the base url as "../../lib/DOJO/dojo/' which is correct.

As this is a simple one i did not set the baseUrl in the html file Is there i need to do specific for firefox. I

Dojo version : dojo_1_5_0_003 Browser : FireFox?.3.6.13, 3.5.x

Change History (1)

Changed 10 years ago by hisaravanankesavan

Attachment: pathtest.html added
Note: See TracTickets for help on using tickets.