geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jgenen...@apache.org
Subject svn commit: r389606 - /geronimo/trunk/applications/console-standard/src/webapp/WEB-INF/view/dbwizard/selectDownload.jsp
Date Tue, 28 Mar 2006 21:24:04 GMT
Author: jgenender
Date: Tue Mar 28 13:24:04 2006
New Revision: 389606

URL: http://svn.apache.org/viewcvs?rev=389606&view=rev
Log:
Change rounding to make download value zero based.

Modified:
    geronimo/trunk/applications/console-standard/src/webapp/WEB-INF/view/dbwizard/selectDownload.jsp

Modified: geronimo/trunk/applications/console-standard/src/webapp/WEB-INF/view/dbwizard/selectDownload.jsp
URL: http://svn.apache.org/viewcvs/geronimo/trunk/applications/console-standard/src/webapp/WEB-INF/view/dbwizard/selectDownload.jsp?rev=389606&r1=389605&r2=389606&view=diff
==============================================================================
--- geronimo/trunk/applications/console-standard/src/webapp/WEB-INF/view/dbwizard/selectDownload.jsp
(original)
+++ geronimo/trunk/applications/console-standard/src/webapp/WEB-INF/view/dbwizard/selectDownload.jsp
Tue Mar 28 13:24:04 2006
@@ -16,7 +16,7 @@
 function updateProgress(downloadInfo)
 {
     if (downloadInfo.downloadStarted) {
-        var kbDownloaded = Math.ceil(downloadInfo.bytesDownloaded / 1024);
+        var kbDownloaded = Math.floor(downloadInfo.bytesDownloaded / 1024);
         document.getElementById('progressMeterText').innerHTML = 'Download in progress: '

               + kbDownloaded
               + ' Kb downloaded' ;



Mime
View raw message