Browse Source

delete improvement for #612

Robin Herbots 11 years ago
parent
commit
e9c13579e0

+ 1 - 1
bower.json

@@ -1,6 +1,6 @@
 {
   "name": "jquery.inputmask",
-  "version": "3.0.68",
+  "version": "3.0.69",
   "main": [
     "./dist/inputmask/jquery.inputmask.js",
     "./dist/inputmask/jquery.inputmask.extensions.js",

+ 1 - 1
build.properties

@@ -7,7 +7,7 @@ distdir = dist
 
 build.major = 3
 build.minor = 0
-build.revision = 68
+build.revision = 69
 
 target = jquery.inputmask.bundle.js
 target.min = jquery.inputmask.bundle.min.js

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


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

@@ -3,7 +3,7 @@
 * http://github.com/RobinHerbots/jquery.inputmask
 * Copyright (c) 2010 - 2014 Robin Herbots
 * Licensed under the MIT license (http://www.opensource.org/licenses/mit-license.php)
-* Version: 3.0.68
+* Version: 3.0.69
 */
 
 (function (factory) {
@@ -802,6 +802,7 @@
                                             isValid(getLastValidPosition() + 1, buffer[i], false, true);
                                         }
                                     }
+                                    altPos.locator[alternation] = decisionTaker; //reset forceddecision ~ needed for proper delete
 
                                     continueMask = true;
                                     break;
@@ -1933,7 +1934,7 @@ Input Mask plugin extensions
 http://github.com/RobinHerbots/jquery.inputmask
 Copyright (c) 2010 - 2014 Robin Herbots
 Licensed under the MIT license (http://www.opensource.org/licenses/mit-license.php)
-Version: 3.0.68
+Version: 3.0.69
 
 Optional extensions on the jquery.inputmask base
 */
@@ -2060,7 +2061,7 @@ Input Mask plugin extensions
 http://github.com/RobinHerbots/jquery.inputmask
 Copyright (c) 2010 - 2014 Robin Herbots
 Licensed under the MIT license (http://www.opensource.org/licenses/mit-license.php)
-Version: 3.0.68
+Version: 3.0.69
 
 Optional extensions on the jquery.inputmask base
 */
@@ -2554,7 +2555,7 @@ Input Mask plugin extensions
 http://github.com/RobinHerbots/jquery.inputmask
 Copyright (c) 2010 - 2014 Robin Herbots
 Licensed under the MIT license (http://www.opensource.org/licenses/mit-license.php)
-Version: 3.0.68
+Version: 3.0.69
 
 Optional extensions on the jquery.inputmask base
 */
@@ -2813,7 +2814,7 @@ Input Mask plugin extensions
 http://github.com/RobinHerbots/jquery.inputmask
 Copyright (c) 2010 - 2014 Robin Herbots
 Licensed under the MIT license (http://www.opensource.org/licenses/mit-license.php)
-Version: 3.0.68
+Version: 3.0.69
 
 Regex extensions on the jquery.inputmask base
 Allows for using regular expressions as a mask
@@ -3006,7 +3007,7 @@ Input Mask plugin extensions
 http://github.com/RobinHerbots/jquery.inputmask
 Copyright (c) 2010 - 2014 Robin Herbots
 Licensed under the MIT license (http://www.opensource.org/licenses/mit-license.php)
-Version: 3.0.68
+Version: 3.0.69
 
 Phone extension.
 When using this extension make sure you specify the correct url to get the masks

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


+ 1 - 1
jquery.inputmask.jquery.json

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

+ 1 - 0
js/jquery.inputmask.js

@@ -802,6 +802,7 @@
                                             isValid(getLastValidPosition() + 1, buffer[i], false, true);
                                         }
                                     }
+                                    altPos.locator[alternation] = decisionTaker; //reset forceddecision ~ needed for proper delete
 
                                     continueMask = true;
                                     break;

+ 1 - 1
package.json

@@ -1,6 +1,6 @@
 {
   "name": "jquery.inputmask",
-  "version": "3.0.68",
+  "version": "3.0.69",
   "description": "jquery.inputmask is a jquery plugin which create an input mask.",
   "main": [
     "./dist/inputmask/jquery.inputmask.js",