Fixed bug #14844: Milliseconds on logout (Thanks to Georg Ringer)
authorSteffen Kamper <info@sk-typo3.de>
Thu, 24 Jun 2010 22:24:25 +0000 (22:24 +0000)
committerSteffen Kamper <info@sk-typo3.de>
Thu, 24 Jun 2010 22:24:25 +0000 (22:24 +0000)
git-svn-id: https://svn.typo3.org/TYPO3v4/Core/trunk@8051 709f56b5-9817-0410-a4d7-c38de5d9e867

ChangeLog
typo3/js/loginrefresh.js

index e0ac881..9a927fd 100755 (executable)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2010-06-25  Steffen Kamper  <info@sk-typo3.de>
+
+       * Fixed bug #14844: Milliseconds on logout (Thanks to Georg Ringer)
+
 2010-06-22  Benjamin Mack  <benni@typo3.org>
 
        * Branching TYPO3 4.4.0 to TYPO3_4-4
index d526435..081ed31 100644 (file)
@@ -229,7 +229,7 @@ Ext.ux.TYPO3.loginRefresh = Ext.extend(Ext.util.Observable, {
 
                });
                progressControl.on('update', function(control, value, text) {
-                       var rest = 30-(value * 30);
+                       var rest = parseInt(30 - (value * 30), 10);
                        if (rest === 1) {
                                control.updateText(String.format(TYPO3.LLL.core.refresh_login_countdown_singular, rest));
                        } else {