Join the Mozilla’s Test Days event from Dec 2–8 to test the new Firefox address bar on Firefox Beta 134 and get a chance to win Mozilla swag vouchers! 🎁

חיפוש בתמיכה

יש להימנע מהונאות תמיכה. לעולם לא נבקש ממך להתקשר או לשלוח הודעת טקסט למספר טלפון או לשתף מידע אישי. נא לדווח על כל פעילות חשודה באמצעות באפשרות ״דיווח על שימוש לרעה״.

מידע נוסף

Doesn't render Dojo Toolkit Websides (DTK 1.5 FF 3.6.8)

  • 2 תגובות
  • 13 have this problem
  • 2 views
  • תגובה אחרונה מאת marcozehner

more options

I have some very simple dojo toolkit (either 1.5 or 1.4.3) testcode on local that runs on all browsers except FF 3.6 and ff 3.5.11 - it ran on 3.5.8

Problem seems to be that the JavaScript part is not rendered anyway - Firebug gives to error messages regarding pathes to .js files - but the files it claimes are perfectly correct.

Is there any new setting in FF I have overseen?

I have some very simple dojo toolkit (either 1.5 or 1.4.3) testcode on local that runs on all browsers except FF 3.6 and ff 3.5.11 - it ran on 3.5.8 Problem seems to be that the JavaScript part is not rendered anyway - Firebug gives to error messages regarding pathes to .js files - but the files it claimes are perfectly correct. Is there any new setting in FF I have overseen?

כל התגובות (2)

more options

code is this: <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> <link rel="stylesheet" type="text/css" href="../dojo_1_5_0/dojo/resources/dojo.css"> <link rel="stylesheet" type="text/css" href="../dojo_1_5_0/dijit/themes/tundra/tundra.css"> <script type="text/javascript"> var djConfig = { baseScriptUri : "../dojo_1_5_0/dojo/", parseOnLoad : true, extraLocale: ['en-us','zh-cn'] }; </script> <script type="text/javascript" src="../dojo_1_5_0/dojo/dojo.js"></script> <script language="JavaScript" type="text/javascript"> dojo.require("dojo.parser"); dojo.require("dijit.form.Button"); dojo.require("dijit._Calendar"); </script> <title>step 1</title>

<button dojotype="dijit.form.Button" id="myButton"> Press me, NOW! <script type="dojo/method" event="onClick"> alert('You pressed the button'); </script> </button>

<input id="calEnglish" dojotype="dijit.Calendar" lang="en-us">   <input id="calChinese" dojotype="dijit.Calendar" lang="zh-cn">

more options

I was able to narrow this problem down: The problem occurs, if the js libraries are not in a child folder of the HTML content folder. So this problem occurs only if I reference like ../dojo/... Why is that so? Is there a possibility to change the settings (security?) of FF to make references like this possible? The problem is, that I plan to structure my site into some segments and therefore I do not want to place dojo behind every HTML subfolder.