summaryrefslogtreecommitdiff
path: root/httemplate
diff options
context:
space:
mode:
authorivan <ivan>2005-02-17 08:44:17 +0000
committerivan <ivan>2005-02-17 08:44:17 +0000
commit9e1ec0694dff61d375af8c0ef0e3895a7f1e07fd (patch)
tree231c3413f3a9cb46908ba148c9972fd0faac218d /httemplate
parentd5de3968350034bfc4b9e1c3fb163e6ee1ca5fb5 (diff)
generalize progressbar code in preparation for using it wherever needed
Diffstat (limited to 'httemplate')
-rw-r--r--httemplate/edit/rate.cgi11
1 files changed, 6 insertions, 5 deletions
diff --git a/httemplate/edit/rate.cgi b/httemplate/edit/rate.cgi
index 4a0294033..1c5d61dc5 100644
--- a/httemplate/edit/rate.cgi
+++ b/httemplate/edit/rate.cgi
@@ -58,13 +58,14 @@ function process () {
//jsrsExecute( 'process/rate.cgi', myCallback, 'process_rate', Hash );
jsrsExecute( 'process/rate.cgi', myCallback, 'start_job', Hash );
- function myCallback( jobnum ) {
- var progressWindow = window.open('../../misc/progress.html?jobnum=' + jobnum + ';url=<%=$p%>browse/rate.cgi', 'progressWindow', 'toolbar=no,location=no,directories=no,scrollbars=no,menubar=no,status=no,width=420,height=128');
- progressWindow.opener = self;
- //progressWindow.opener = document;
- }
+}
+function myCallback( jobnum ) {
+ var progressWindow = window.open('../../misc/progress.html?jobnum=' + jobnum + ';url=<%=$p%>browse/rate.cgi', 'progressWindow', 'toolbar=no,location=no,directories=no,scrollbars=no,menubar=no,status=no,width=420,height=128');
+ progressWindow.opener = self;
+ //progressWindow.opener = document;
}
+
</SCRIPT>
<FORM NAME="OneTrueForm">