提交 be1deab2 编写于 作者: K kohsuke

sections expanded by the advanced button needs to work with the structured...

sections expanded by the advanced button needs to work with the structured form submission correctly.


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@5785 71c3de6d-444a-0410-be80-ed276b4c234a
上级 135d6085
......@@ -199,8 +199,13 @@ var hudsonRules = {
tr = tr.parentNode;
// move the contents of the advanced portion into the main table
while (container.lastChild != null)
tr.parentNode.insertBefore(container.lastChild, tr.nextSibling);
var nameRef = tr.getAttribute("nameref");
while (container.lastChild != null) {
var row = container.lastChild;
if(nameRef!=null)
row.setAttribute("nameref",nameRef);
tr.parentNode.insertBefore(row, tr.nextSibling);
}
});
e = null; // avoid memory leak
},
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册