[freeside-commits] branch master updated. 422e87b24b866eaa420258d97d4ccdc089019f88

Mark Wells mark at 420.am
Thu Oct 24 16:04:23 PDT 2013


The branch, master has been updated
       via  422e87b24b866eaa420258d97d4ccdc089019f88 (commit)
      from  a5b0ddc40f119370fa4abf718931fb6832c34924 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 422e87b24b866eaa420258d97d4ccdc089019f88
Author: Mark Wells <mark at freeside.biz>
Date:   Thu Oct 24 16:04:10 2013 -0700

    masked input clipboard hack, part 2

diff --git a/httemplate/elements/tr-input-mask.html b/httemplate/elements/tr-input-mask.html
index 8a494c8..922f22f 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;
 }

-----------------------------------------------------------------------

Summary of changes:
 httemplate/elements/tr-input-mask.html |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)




More information about the freeside-commits mailing list