“dojo未被定义” - Firefox 3.5问题? [英] "dojo is not defined" - Firefox 3.5 issue?

查看:96
本文介绍了“dojo未被定义” - Firefox 3.5问题?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

请看这个代码:
http:// 3wcloud -com-provisioning-qa.appspot.com/testAjaxDojo
只需勾选域输入字段即可尝试使Ajax运行。
(注意:测试Ajax Web服务总是发回相同的消息,它假装检查域是否可用,但是真的没有)。



在Firefox 3.5中运行时,dojo.xhrGet语句中将显示dojo not defined。
它在IE7和Chrome浏览器中工作正常,一个朋友在Firefox 3.0上测试,它的工作。



1)Firefox 3.5没有正确地从CDN获取dojo javascript有什么问题吗?可能是缓存问题?



2)Dojo大师知道这个问题吗?是否已经向Firefox报告过?感谢
Neal Walters



更新:9/1 /下午 - 我已经卸载和重新安装了Firefox 3.5.2(但我保留了我的个人资料设置),并且遇到了同样的问题。我在Windows Vista Ultimate。

解决方案

最后发现问题。这是附加组件,叫做无脚本。即使我已经设置了无脚本来允许全局脚本,但该工具中的某些内容也是导致该问题的。我升级到新版本的无脚本,仍然有问题。如果我禁用附加组件(从工具/加载项屏幕),那么Dojo完全从CDN加载,生命再次好。



我可能在这个愚蠢的问题上失去了6-8小时。希望这个帖子能节省别人的时间。请投票答案如果是的话。


Please take a look at this code: http://3wcloud-com-provisioning-qa.appspot.com/testAjaxDojo Just tab off the "domain" input field to try to make the Ajax run. (Note: the test Ajax web service always sends back the same message, it pretends to check if domain is available but it really doesn't).

When running in Firefox 3.5, I get "dojo not defined" on the dojo.xhrGet statement. It works fine in IE7 and Chrome browsers, and one friend tested on Firefox 3.0 and it worked.

1) Is there something wrong with Firefox 3.5 not properly getting the dojo javascript from the CDN? Possibly a caching issue?

2) Do you Dojo gurus know of this problem? Is it something that has already been reported to Firefox?

Thanks, Neal Walters

Update: 9/1/ afternoon - I have uninstalled and re-installed Firefox 3.5.2 (but I kept my profile settings), and got same problem. I'm on Windows Vista Ultimate.

解决方案

Finally found the problem. It was the add-on called "No-Script". Even though I had set No-Script to allow scripts globally, something in that tool was causing the issue. I upgraded to new version of No-Script and still had problem. If I disable the add-on (from the Tools/Add-ons screen), then Dojo loads perfectly from the CDN and life is good again.

I probably lost 6-8 hours on this stupid issue. Hope this posts saves someone else the time. Please "vote-up" the answer if it does.

这篇关于“dojo未被定义” - Firefox 3.5问题?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆