You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@guacamole.apache.org by vn...@apache.org on 2018/01/16 18:42:04 UTC

[18/23] guacamole-client git commit: GUACAMOLE-352: Prevent "input" event from clipboard integration from triggering keystrokes.

GUACAMOLE-352: Prevent "input" event from clipboard integration from triggering keystrokes.

Project: http://git-wip-us.apache.org/repos/asf/guacamole-client/repo
Commit: http://git-wip-us.apache.org/repos/asf/guacamole-client/commit/d8de3a77
Tree: http://git-wip-us.apache.org/repos/asf/guacamole-client/tree/d8de3a77
Diff: http://git-wip-us.apache.org/repos/asf/guacamole-client/diff/d8de3a77

Branch: refs/heads/master
Commit: d8de3a77f250bdd94a5944c7b977aa2da0916233
Parents: 802fec9
Author: Michael Jumper <mj...@apache.org>
Authored: Mon Dec 18 16:02:45 2017 -0800
Committer: Michael Jumper <mj...@apache.org>
Committed: Tue Jan 16 10:20:43 2018 -0800

----------------------------------------------------------------------
 .../src/main/webapp/app/clipboard/services/clipboardService.js      | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/guacamole-client/blob/d8de3a77/guacamole/src/main/webapp/app/clipboard/services/clipboardService.js
----------------------------------------------------------------------
diff --git a/guacamole/src/main/webapp/app/clipboard/services/clipboardService.js b/guacamole/src/main/webapp/app/clipboard/services/clipboardService.js
index 06abb04..920006e 100644
--- a/guacamole/src/main/webapp/app/clipboard/services/clipboardService.js
+++ b/guacamole/src/main/webapp/app/clipboard/services/clipboardService.js
@@ -89,6 +89,7 @@ angular.module('clipboard').factory('clipboardService', ['$injector',
     clipboardContent.addEventListener('cut',   stopEventPropagation);
     clipboardContent.addEventListener('copy',  stopEventPropagation);
     clipboardContent.addEventListener('paste', stopEventPropagation);
+    clipboardContent.addEventListener('input', stopEventPropagation);
 
     /**
      * A stack of past node selection ranges. A range convering the nodes