FF doesn't load through file system (as opposed to through web server)
|Reported by:||hisaravanankesavan||Owned by:||jburke|
|Keywords:||dojo.parser, parser, firefox||Cc:||hisaravanankesavan@…|
Description (last modified by bill)
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
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 (4)
Changed 4 years ago by hisaravanankesavan
comment:1 Changed 4 years ago by bill
- Component changed from Parser to Core
- Description modified (diff)
- Owner changed from bill to jburke