projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8036349
)
masked input clipboard hack, part 2
author
Mark Wells
<mark@freeside.biz>
Thu, 24 Oct 2013 23:04:16 +0000
(16:04 -0700)
committer
Mark Wells
<mark@freeside.biz>
Thu, 24 Oct 2013 23:04:16 +0000
(16:04 -0700)
httemplate/elements/tr-input-mask.html
patch
|
blob
|
history
diff --git
a/httemplate/elements/tr-input-mask.html
b/httemplate/elements/tr-input-mask.html
index
8a494c8
..
922f22f
100644
(file)
--- 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;
}