From b542ab898d6263784c451e1d34f5233f0abdc2ce Mon Sep 17 00:00:00 2001 From: Tankred Hase Date: Tue, 25 Feb 2014 21:32:41 +0100 Subject: [PATCH] fix writer address field bugs --- src/js/controller/write.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/js/controller/write.js b/src/js/controller/write.js index b96568b..2c7dadc 100644 --- a/src/js/controller/write.js +++ b/src/js/controller/write.js @@ -409,6 +409,8 @@ define(function(require) { element.on('keydown', function(e) { var code = e.keyCode; + scope.$apply(); + if (code === 32 || code === 188 || code === 186) { // catch space, comma, semicolon e.preventDefault();