0

您好,我在我的 xpages 应用程序中收到以下 js 错误。它与日历小部件有关。奇怪的是,这段代码在服务器上运行得非常好,但是当我尝试通过防火墙访问同一服务器、同一应用程序时,我收到以下 js 错误。不幸的是,这是压缩的 js,我不知道自己在做什么才能解决这个问题。任何帮助将不胜感激。

failed loading /xsp/.ibmxspres/dojoroot-1.6.1/dojo/../dijit/Calendar.js with error: SyntaxError: missing ; before statement
https://newwads.health.state.ny.us/+CSCO+d6756767633A2F2F7565766665696534++/xsp/.ibmxspres/dojoroot-1.6.1/dojo/dojo.js
Line 14

failed loading /xsp/.ibmxspres/dojoroot-1.6.1/dojo/../dijit/Calendar.js with error: SyntaxError: missing ; before statement
toString(uri=

undefined

, _25=

undefined

, cb=

undefined

)dojo.js (line 14)
toString(_21=

"../dijit/Calendar.js"

, _22=

"dijit.Calendar"

, cb=

undefined

)dojo.js (line 14)
toString(_2d=

"dijit.Calendar"

, _2e=

undefined

)dojo.js (line 14)
eval()56 (line 8)
toString(_1d=

"/*\r\n Copyright (c) 2004...jit/form/DateTextBox.js"

)dojo.js (line 14)
toString(uri=

"/xsp/.ibmxspres/dojoroo...jit/form/DateTextBox.js"

, cb=

undefined

)dojo.js (line 14)
toString(uri=

"/xsp/.ibmxspres/dojoroo...jit/form/DateTextBox.js"

, _25=

"dijit.form.DateTextBox"

, cb=

undefined

)dojo.js (line 14)
toString(_21=

"../dijit/form/DateTextBox.js"

, _22=

"dijit.form.DateTextBox"

, cb=

undefined

)dojo.js (line 14)
toString(_2d=

"dijit.form.DateTextBox"

, _2e=

undefined

)dojo.js (line 14)
()testTime.xsp (line 21)


...dium"){return 4;}if(_171.slice&&_171.slice(-2)=="px"){return parseFloat(_171);}w...
4

1 回答 1

0

您的代理是否弄乱了数据?喜欢单点登录还是添加代码?你可以使用 Fiddler 看看发生了什么。AFAIK FF WebDeveloper 也允许查看加载的 JS 未压缩

于 2012-08-02T13:58:22.597 回答