freeside/httemplate/edit rate.cgi,1.5,1.6

ivan ivan at pouncequick.420.am
Thu Feb 17 00:44:20 PST 2005


Update of /home/cvs/cvsroot/freeside/httemplate/edit
In directory pouncequick:/tmp/cvs-serv22473

Modified Files:
	rate.cgi 
Log Message:
generalize progressbar code in preparation for using it wherever needed

Index: rate.cgi
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/edit/rate.cgi,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- rate.cgi	11 Feb 2005 06:44:27 -0000	1.5
+++ rate.cgi	17 Feb 2005 08:44:17 -0000	1.6
@@ -58,13 +58,14 @@
   //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">




More information about the freeside-commits mailing list