展开/折叠适用于Chrome而非Firefox

时间:2012-08-13 12:12:04

标签: jquery css twitter-bootstrap overflow collapse

如下图所示,或者如果你去here,'+ / - '按钮会展开并折叠树形结构。它在Chrome中运行良好,但在Firefox中,它会“扩展”一次,但再次点击时,不会再次崩溃。我来到我的智慧结束,并想知道是否有其他人可能会对正在发生的事情提出建议。

enter image description here

enter image description here

1 个答案:

答案 0 :(得分:0)

如果您在Chrome(或使用FireBug的Firefox)中点击F12,则会在其触发以获取XML(可能是树节点)时发出401授权要求。我认为它的权限问题在某个地方......

You need to sign in or sign up before continuing.

下面是我在点击您提供的演示网站时获得的信息转储 - 是否会响铃?

UT http://staging.openingdesign.com/nodes/969

401 Authorization Required
        138ms   
application.js (line 18)
HeadersPutResponseXMLCookies
Response Headers
Cache-Control   no-cache
Connection  Keep-Alive
Content-Length  49
Content-Type    */*; charset=utf-8
Date    Mon, 13 Aug 2012 12:25:57 GMT
Keep-Alive  timeout=15, max=93
Server  Apache/2.2.14 (Ubuntu)
Set-Cookie  odr_beta_warning_shown=shown; path=/; expires=Mon, 13-Aug-2012 12:45:57 GMT
Status  401
X-Powered-By    Phusion Passenger (mod_rails/mod_rack) 3.0.12
X-Rack-Cache    invalidate, pass
X-Request-Id    98169a97e591bd9cf29bb5354d4e5add
X-Runtime   0.005322
X-UA-Compatible IE=Edge,chrome=1
Request Headers
Accept  */*
Accept-Encoding gzip, deflate
Accept-Language en-us,en;q=0.5
Connection  keep-alive
Content-Length  14
Content-Type    application/x-www-form-urlencoded; charset=UTF-8
Cookie  _session_id=098df30db9704129db27ceff7162f922; odr_beta_warning_shown=shown; __utma=19439846.1590375237.1344860690.1344860690.1344860690.1; __utmb=19439846.2.10.1344860690; __utmc=19439846; __utmz=19439846.1344860690.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none)
Host    staging.openingdesign.com
Referer http://staging.openingdesign.com/projects/968
User-Agent  Mozilla/5.0 (Windows NT 6.1; WOW64; rv:14.0) Gecko/20100101 Firefox/14.0.1
X-CSRF-Token    F1OPfrWs/qvFL3+zq/46x3GVn9cs1m+2YeEyQmBzvAY=
X-Requested-With    XMLHttpRequest

是否与网络服务器有关,可能不会自动接受PUT请求?