diff options
author | jeff <jeff> | 2010-06-01 19:58:05 +0000 |
---|---|---|
committer | jeff <jeff> | 2010-06-01 19:58:05 +0000 |
commit | fb1ac8b894c138a3a04c1d5941c969c99cd3d3f4 (patch) | |
tree | 92f62f93b8c385816579d687f7698aff286636b2 /httemplate/elements | |
parent | 4fbc6169372ee7512f99ee0acb85777b511fa2ad (diff) |
add progressbar, redirection, and improve links RT#8274
Diffstat (limited to 'httemplate/elements')
-rw-r--r-- | httemplate/elements/progress-popup.html | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/httemplate/elements/progress-popup.html b/httemplate/elements/progress-popup.html index 8a55efb4a..a29210201 100644 --- a/httemplate/elements/progress-popup.html +++ b/httemplate/elements/progress-popup.html @@ -69,6 +69,14 @@ function updateStatus( status_statustext ) { alert('job done but no url or message specified'); % } + } else if ( status.indexOf('done') > -1 ) { + + document.getElementById("progress_message").innerHTML = "Loading report"; + document.getElementById("progress_bar").innerHTML = ''; + document.getElementById("progress_percent").innerHTML = ''; + document.getElementById("progress_jobnum").innerHTML = ''; + window.top.location.href = statustext.substr(8, statustext.length-18); + } else if ( status.indexOf('error') > -1 ) { document.getElementById("progress_message").innerHTML = '<FONT SIZE="+1" COLOR="#FF0000">Error: ' + statustext + '</FONT>'; document.getElementById("progress_bar").innerHTML = ''; |