|
|
@@ -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: 2.4.29
|
|
|
+* Version: 2.4.30
|
|
|
*/
|
|
|
|
|
|
(function ($) {
|
|
|
@@ -618,7 +618,7 @@
|
|
|
if (typeof begin == 'number') {
|
|
|
begin = TranslatePosition(begin);
|
|
|
end = TranslatePosition(end);
|
|
|
- if (!$(input).is(':visible')) {
|
|
|
+ if (!$(npt).is(':visible')) {
|
|
|
return;
|
|
|
}
|
|
|
end = (typeof end == 'number') ? end : begin;
|
|
|
@@ -1161,12 +1161,12 @@
|
|
|
}
|
|
|
|
|
|
function pasteEvent(e) {
|
|
|
- if (skipInputEvent === true) {
|
|
|
+ if (skipInputEvent === true && e.type == "input") {
|
|
|
skipInputEvent = false;
|
|
|
return true;
|
|
|
}
|
|
|
- var input = this, $input = $(input);
|
|
|
|
|
|
+ var input = this, $input = $(input);
|
|
|
//paste event for IE8 and lower I guess ;-)
|
|
|
if (e.type == "propertychange" && input._valueGet().length <= getMaskLength()) {
|
|
|
return true;
|
|
|
@@ -1377,7 +1377,6 @@
|
|
|
).bind("keypress.inputmask", keypressEvent
|
|
|
).bind("keyup.inputmask", keyupEvent);
|
|
|
|
|
|
-
|
|
|
if (android) {
|
|
|
if (androidchrome) {
|
|
|
$el.bind("input.inputmask", mobileInputEvent);
|
|
|
@@ -1391,6 +1390,7 @@
|
|
|
}
|
|
|
$el.bind("input.inputmask", mobileInputEvent);
|
|
|
}
|
|
|
+
|
|
|
if (msie1x)
|
|
|
$el.bind("input.inputmask", pasteEvent);
|
|
|
|
|
|
@@ -1688,7 +1688,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: 2.4.29
|
|
|
+Version: 2.4.30
|
|
|
|
|
|
Optional extensions on the jquery.inputmask base
|
|
|
*/
|
|
|
@@ -1810,7 +1810,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: 2.4.29
|
|
|
+Version: 2.4.30
|
|
|
|
|
|
Optional extensions on the jquery.inputmask base
|
|
|
*/
|
|
|
@@ -2298,7 +2298,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: 2.4.29
|
|
|
+Version: 2.4.30
|
|
|
|
|
|
Optional extensions on the jquery.inputmask base
|
|
|
*/
|
|
|
@@ -2475,7 +2475,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: 2.4.29
|
|
|
+Version: 2.4.30
|
|
|
|
|
|
Regex extensions on the jquery.inputmask base
|
|
|
Allows for using regular expressions as a mask
|
|
|
@@ -2645,7 +2645,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: 2.4.29
|
|
|
+Version: 2.4.30
|
|
|
|
|
|
Phone extension.
|
|
|
When using this extension make sure you specify the correct url to get the masks
|