Fixed a small bug with WCF.String.addThousandsSeparator()
authorMarkus Bartz <roul@codingcorner.info>
Thu, 21 Jul 2011 16:15:16 +0000 (18:15 +0200)
committerMarkus Bartz <roul@codingcorner.info>
Thu, 21 Jul 2011 16:15:16 +0000 (18:15 +0200)
wcfsetup/install/files/js/WCF.js

index 432134e57feb993a1752fc3511d05f189ab65d99..1db72f9ef8ec1cf740fac5fe20b048464a5db26e 100644 (file)
@@ -1100,7 +1100,7 @@ WCF.String = {
                                $negative = true;
                                $numberString = $numberString.substring(1);
                        }
-                       var $separator = this.options.thousandsSeparator;
+                       var $separator = WCF.Language.get('wcf.global.thousandsSeparator');
                        
                        if ($separator != null && $separator != '') {
                                var $numElements = new Array();