diff options
| author | Mark Wells <mark@freeside.biz> | 2013-10-24 16:04:16 -0700 |
|---|---|---|
| committer | Mark Wells <mark@freeside.biz> | 2013-10-24 16:04:16 -0700 |
| commit | bae67061ffa6fb64b94714adf50e272feb759f2d (patch) | |
| tree | 9617872f6048d60565a0a7ba181e8d0363e8f4ff | |
| parent | 8036349be340b25ad80e34de84f0722d3b1abb76 (diff) | |
masked input clipboard hack, part 2
| -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; } |
