|
@@ -1964,7 +1964,7 @@ Optional extensions on the jquery.inputmask base
|
|
|
return calculatedLength + groupOffset;
|
|
return calculatedLength + groupOffset;
|
|
|
},
|
|
},
|
|
|
postFormat: function (buffer, pos, reformatOnly, opts) {
|
|
postFormat: function (buffer, pos, reformatOnly, opts) {
|
|
|
- if (opts.groupSeparator == "") return pos;
|
|
|
|
|
|
|
+ if (opts.groupSeparator == "") return pos -1;
|
|
|
var cbuf = buffer.slice();
|
|
var cbuf = buffer.slice();
|
|
|
if (!reformatOnly) cbuf.splice(pos, 0, "?"); //set position indicator
|
|
if (!reformatOnly) cbuf.splice(pos, 0, "?"); //set position indicator
|
|
|
var bufVal = cbuf.join('');
|
|
var bufVal = cbuf.join('');
|