mirror of
https://github.com/jenkinsci/jenkins.git
synced 2026-11-16 05:22:22 +00:00
[JENKINS-16069] Remove wrapping of JSON with ( )
now it is done properly on Javascript side so the current server implementation triggers javascript errors. Result can be observed on DynamicComboBox within ui-samples-plugin
This commit is contained in:
1 parent
87e21359fc
commit
b6ce03878e
2 files changed
+3
-2
No files matched your search
@@ -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(')');
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user