提交 09fc9f39 编写于 作者: O Olivier Lamy

Merge pull request #643 from Vlatombe/JENKINS-16069

[JENKINS-16069] Remove wrapping of JSON with ( )
Thanks !
......@@ -71,6 +71,9 @@ Upcoming changes</a>
(<a href="https://issues.jenkins-ci.org/browse/JENKINS-1295">issue 1295</a>)
<li class=bug>
Context menu and tooltip of the queue items were colliding with each other
<li class=bug>
Fix combobox ui component
(<a href="https://issues.jenkins-ci.org/browse/JENKINS-16069">issue 16069</a>)
</ul>
</div><!--=TRUNK-END=-->
......
......@@ -62,8 +62,6 @@ public class ComboBoxModel extends ArrayList<String> implements HttpResponse {
public void generateResponse(StaplerRequest req, StaplerResponse rsp, Object node) throws IOException, ServletException {
rsp.setContentType(Flavor.JSON.contentType);
PrintWriter w = rsp.getWriter();
w.print('(');
JSONArray.fromObject(this).write(w);
w.print(')');
}
}
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册