提交 b946ab7a 编写于 作者: K Kohsuke Kawaguchi

Made more robust in the face of possible whitespace.

上级 fd251de5
......@@ -1906,7 +1906,7 @@ function updateBuildHistory(ajaxUrl,nBuild) {
Behaviour.applySubtree(div);
var pivot = rows[0];
var newRows = div.firstChild.rows;
var newRows = $(div).firstDescendant().rows;
for (var i = newRows.length - 1; i >= 0; i--) {
pivot.parentNode.insertBefore(newRows[i], pivot.nextSibling);
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册