提交 0d16f313 编写于 作者: K kohsuke

tweaked to retain static layout.

git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@28985 71c3de6d-444a-0410-be80-ed276b4c234a
上级 1d647400
...@@ -1788,8 +1788,15 @@ function applySafeRedirector(url) { ...@@ -1788,8 +1788,15 @@ function applySafeRedirector(url) {
new PeriodicalExecuter(function() { new PeriodicalExecuter(function() {
i = (i+1)%4; i = (i+1)%4;
var s = ""; var s = "";
for( var j=0; j<i; j++ ) var j=0;
for( j=0; j<i; j++ )
s+='.'; s+='.';
// put the rest of dots as hidden so that the layout doesn't change
// depending on the # of dots.
s+="<span style='visibility:hidden'>";
for( ; j<4; j++ )
s+='.';
s+="</span>";
$('progress').innerHTML = s; $('progress').innerHTML = s;
},1); },1);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册