如下图所示,或者如果您进入此处,“+/-”按钮会展开和折叠树状结构。它在 Chrome 中运行良好,但在 Firefox 中,它会展开“一次”,但再次单击时,不会再次折叠。我已经走到了尽头,想知道是否有其他人可以对正在发生的事情提出建议。
问问题
912 次
1 回答
0
如果您在 Chrome 中按 F12(或使用 FireBug 的 firefox),它会在启动以获取 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 请求有关吗?
于 2012-08-13T12:29:19.337 回答