Browse Source

minor fix for radixpoint

Robin Herbots 12 years ago
parent
commit
1a765a364e

+ 1 - 1
build.properties

@@ -7,7 +7,7 @@ distdir = dist
 
 build.major = 2
 build.minor = 3
-build.revision = 42
+build.revision = 43
 
 target = jquery.inputmask.bundle.js
 target.min = jquery.inputmask.bundle.min.js

+ 1 - 1
component.json

@@ -1,6 +1,6 @@
 {
     "name": "jquery.inputmask",
-    "version": "2.3.42",
+    "version": "2.3.43",
     "main": "./dist/jquery.inputmask.bundle.js",
     "dependencies": {
         "jquery": ">=1.5"

BIN
dist/jQuery.InputMask.2.3.42.nupkg


BIN
dist/jQuery.InputMask.2.3.43.nupkg


+ 7 - 7
dist/jquery.inputmask.bundle.js

@@ -3,7 +3,7 @@
 * http://github.com/RobinHerbots/jquery.inputmask
 * Copyright (c) 2010 - 2013 Robin Herbots
 * Licensed under the MIT license (http://www.opensource.org/licenses/mit-license.php)
-* Version: 2.3.42
+* Version: 2.3.43
 */
 
 (function ($) {
@@ -1439,7 +1439,7 @@
                         } else {
                             if (k) {
                                 //special treat the decimal separator
-                                if (k == 46 && e.shiftKey == false && opts.radixPoint == ",") k = 44;
+                                if (checkval !== true && k == 46 && e.shiftKey == false && opts.radixPoint == ",") k = 44;
 
                                 var pos, results, result, c = String.fromCharCode(k);
                                 if (checkval) {
@@ -1602,7 +1602,7 @@ Input Mask plugin extensions
 http://github.com/RobinHerbots/jquery.inputmask
 Copyright (c) 2010 - 2013 Robin Herbots
 Licensed under the MIT license (http://www.opensource.org/licenses/mit-license.php)
-Version: 2.3.42
+Version: 2.3.43
 
 Optional extensions on the jquery.inputmask base
 */
@@ -1704,7 +1704,7 @@ Input Mask plugin extensions
 http://github.com/RobinHerbots/jquery.inputmask
 Copyright (c) 2010 - 2012 Robin Herbots
 Licensed under the MIT license (http://www.opensource.org/licenses/mit-license.php)
-Version: 2.3.42
+Version: 2.3.43
 
 Optional extensions on the jquery.inputmask base
 */
@@ -2181,7 +2181,7 @@ Input Mask plugin extensions
 http://github.com/RobinHerbots/jquery.inputmask
 Copyright (c) 2010 - 2013 Robin Herbots
 Licensed under the MIT license (http://www.opensource.org/licenses/mit-license.php)
-Version: 2.3.42
+Version: 2.3.43
 
 Optional extensions on the jquery.inputmask base
 */
@@ -2350,7 +2350,7 @@ Input Mask plugin extensions
 http://github.com/RobinHerbots/jquery.inputmask
 Copyright (c) 2010 - 2013 Robin Herbots
 Licensed under the MIT license (http://www.opensource.org/licenses/mit-license.php)
-Version: 2.3.42
+Version: 2.3.43
 
 Regex extensions on the jquery.inputmask base
 Allows for using regular expressions as a mask
@@ -2520,7 +2520,7 @@ Input Mask plugin extensions
 http://github.com/RobinHerbots/jquery.inputmask
 Copyright (c) 2010 - 2013 Robin Herbots
 Licensed under the MIT license (http://www.opensource.org/licenses/mit-license.php)
-Version: 2.3.42
+Version: 2.3.43
 
 Phone extension based on inputmask-multi - DO NOT USE YET!!  in TEST
 */

File diff suppressed because it is too large
+ 4 - 4
dist/jquery.inputmask.bundle.min.js


File diff suppressed because it is too large
+ 3 - 3
dist/min/jquery.inputmask.js


+ 1 - 1
jquery.inputmask.jquery.json

@@ -8,7 +8,7 @@
 		"inputmask",
 		"mask"
     ],
-    "version": "2.3.42",
+    "version": "2.3.43",
     "author": {
         "name": "Robin Herbots",
         "url": "http://github.com/RobinHerbots/jquery.inputmask"

+ 1 - 1
js/jquery.inputmask.js

@@ -1439,7 +1439,7 @@
                         } else {
                             if (k) {
                                 //special treat the decimal separator
-                                if (k == 46 && e.shiftKey == false && opts.radixPoint == ",") k = 44;
+                                if (checkval !== true && k == 46 && e.shiftKey == false && opts.radixPoint == ",") k = 44;
 
                                 var pos, results, result, c = String.fromCharCode(k);
                                 if (checkval) {