提交 defe95c9 编写于 作者: K kohsuke

Maybe prototype.js guys have something very profound in their mind, but I don't see it.

This error is hidden during normal execution, but in the unit test where we report caught exceptions, this breaks some tests.

git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@34872 71c3de6d-444a-0410-be80-ed276b4c234a
上级 d035b470
......@@ -1183,7 +1183,7 @@ Ajax.Request.prototype = Object.extend(new Ajax.Base(), {
evalResponse: function() {
try {
return eval((this.transport.responseText || '').unfilterJSON());
return eval('('+(this.transport.responseText || '').unfilterJSON()+')');
} catch (e) {
this.dispatchException(e);
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册