Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[FIXED JENKINS-15494] Uncaught TypeError: Cannot read property 'first…
…Child' of null
  • Loading branch information
jglick committed Oct 12, 2012
1 parent 4135cc2 commit 8dbee91
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions changelog.html
Expand Up @@ -65,6 +65,9 @@
<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>
Expand Down
2 changes: 1 addition & 1 deletion war/src/main/webapp/scripts/hudson-behavior.js
Expand Up @@ -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;
Expand Down

0 comments on commit 8dbee91

Please sign in to comment.