提交 f3346007 编写于 作者: K kohsuke

progress bar link was not working.


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@4656 71c3de6d-444a-0410-be80-ed276b4c234a
上级 97c8141a
......@@ -15,6 +15,7 @@
</j:if>
<j:if test="${href!=null}">
<x:attribute name="style">cursor:pointer</x:attribute>
<x:attribute name="href">${href}</x:attribute>
</j:if>
<j:choose>
<j:when test="${pos lt 0}">
......
......@@ -107,6 +107,14 @@ var hudsonRules = {
ts_makeSortable(e);
},
"TABLE.progress-bar" : function(e) {// sortable table
e.onclick = function() {
var href = this.getAttribute("href");
if(href!=null) window.href = href;
}
e = null; // avoid memory leak
},
"INPUT.advancedButton" : function(e) {
e.onclick = function() {
var link = this.parentNode;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册