提交 b533f770 编写于 作者: O Oliver Gondža

Amend #616

上级 04359e07
......@@ -76,6 +76,9 @@ Upcoming changes</a>
(<a href="https://issues.jenkins-ci.org/browse/JENKINS-18366">issue 18366</a>)
<li class=rfe>
"java -jar jenkins.war" gets the "--spdy" option to enable SPDY.
<li class=rfe>
Expand all/Collapse all functionality for artifact tree view.
(<a href="https://github.com/jenkinsci/jenkins/pull/616">pull request 616</a>)
</ul>
</div><!--=TRUNK-END=-->
......
......@@ -76,13 +76,13 @@ THE SOFTWARE.
<link rel="stylesheet" href="${resURL}/scripts/yui/treeview/assets/skins/sam/treeview.css" type="text/css"/>
<link rel="stylesheet" href="${resURL}/scripts/yui/fonts/fonts-min.css" type="text/css"/>
<style type="text/css">#artifact-tree td { vertical-align:middle; }</style>
<script>
function expandAll(){
YAHOO.widget.TreeView.getNode('artifact-tree',1).tree.expandAll();
}
</script>
<br/>
<small>
<a href="javascript: YAHOO.widget.TreeView.getNode('artifact-tree',1).tree.expandAll()">${%Expand all}</a>
<st:nbsp/>
<a href="javascript: YAHOO.widget.TreeView.getNode('artifact-tree',1).tree.collapseAll();">${%Collapse all}</a>
</small>
<div id="artifact-tree"></div>
<a href="javascript: expandAll()">Expand all</a>
<script language="javascript">// &lt;![CDATA[
YAHOO.util.Event.onContentReady('artifact-tree', function () {
var artifactTree = new YAHOO.widget.TreeView('artifact-tree');
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册