提交 928402d8 编写于 作者: K kohsuke

there might be no children.


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@2795 71c3de6d-444a-0410-be80-ed276b4c234a
上级 6e1e9e4d
......@@ -465,6 +465,9 @@ var repetableSupport = {
if(Element.hasClassName(n,"repeated-chunk"))
children.push(n);
if(children.length==0) {
// noop
} else
if(children.length==1) {
children[0].className = "repeated-chunk first last only";
} else {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册