diff options
author | Mark Wells <mark@freeside.biz> | 2013-10-24 16:04:03 -0700 |
---|---|---|
committer | Mark Wells <mark@freeside.biz> | 2013-10-24 16:04:03 -0700 |
commit | 146f6e84f01c17b604d392dc9c385b38c727145f (patch) | |
tree | 280542a799d0f5cac14535363a18379c0ccb8746 /httemplate/elements | |
parent | 0953ba442fbe838a6489c27ec0c348409eae3d9f (diff) |
masked input clipboard hack, part 2
Diffstat (limited to 'httemplate/elements')
-rw-r--r-- | httemplate/elements/tr-input-mask.html | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/httemplate/elements/tr-input-mask.html b/httemplate/elements/tr-input-mask.html index 8a494c8de..922f22f4b 100644 --- a/httemplate/elements/tr-input-mask.html +++ b/httemplate/elements/tr-input-mask.html @@ -37,7 +37,10 @@ t.onkeydown = function(e) { }; container.onkeyup = function(e) { if ( container.previous ) { - setTimeout(function() {container.previous.focus();}, 10); + setTimeout(function() { + container.previous.value = container.value; + container.previous.focus(); + }, 10); } return true; } |