提交 8dbee911 编写于 作者: J Jesse Glick

[FIXED JENKINS-15494] Uncaught TypeError: Cannot read property 'firstChild' of null

上级 4135cc27
......@@ -65,6 +65,9 @@ Upcoming changes</a>
<li class=bug>
NPE from <code>PluginManager</code>.
(<a href="https://issues.jenkins-ci.org/browse/JENKINS-15511">issue 15511</a>)
<li class=bug>
<code>Uncaught TypeError: Cannot read property 'firstChild' of null</code> breaks certain forms at least on Chrome.
(<a href="https://issues.jenkins-ci.org/browse/JENKINS-15494">issue 15494</a>)
<li class=rfe>
Added "manage old data" permanently to the "manage Jenkins" page.
<li class=rfe>
......
......@@ -499,7 +499,7 @@ function renderOnDemand(e,callback,noBehaviour) {
if (contextTagName=="TBODY") {
c = document.createElement("DIV");
c.innerHTML = "<TABLE><TBODY>"+t.responseText+"</TBODY></TABLE>";
c = c.firstChild.firstChild;
c = c./*JENKINS-15494*/lastChild.firstChild;
} else {
c = document.createElement(contextTagName);
c.innerHTML = t.responseText;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册