Repository: incubator-guacamole-client Updated Branches: refs/heads/master ab88eb2ff -> 0e2da5a2a
GUACAMOLE-128: Check clipboard for received events only during bubble phase (allow clipboard service to manage propagation from its event target). Project: http://git-wip-us.apache.org/repos/asf/incubator-guacamole-client/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-guacamole-client/commit/1c503111 Tree: http://git-wip-us.apache.org/repos/asf/incubator-guacamole-client/tree/1c503111 Diff: http://git-wip-us.apache.org/repos/asf/incubator-guacamole-client/diff/1c503111 Branch: refs/heads/master Commit: 1c50311178d3af5f5af07561ccc2f3f599bf62fe Parents: 6ce1eb1 Author: Michael Jumper <[email protected]> Authored: Sun Sep 3 16:32:39 2017 -0700 Committer: Michael Jumper <[email protected]> Committed: Sun Sep 3 18:02:46 2017 -0700 ---------------------------------------------------------------------- .../src/main/webapp/app/index/controllers/indexController.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-guacamole-client/blob/1c503111/guacamole/src/main/webapp/app/index/controllers/indexController.js ---------------------------------------------------------------------- diff --git a/guacamole/src/main/webapp/app/index/controllers/indexController.js b/guacamole/src/main/webapp/app/index/controllers/indexController.js index 0f4d78d..3a9230b 100644 --- a/guacamole/src/main/webapp/app/index/controllers/indexController.js +++ b/guacamole/src/main/webapp/app/index/controllers/indexController.js @@ -137,8 +137,8 @@ angular.module('index').controller('indexController', ['$scope', '$injector', // Attempt to read the clipboard if it may have changed $window.addEventListener('load', checkClipboard, true); - $window.addEventListener('copy', checkClipboard, true); - $window.addEventListener('cut', checkClipboard, true); + $window.addEventListener('copy', checkClipboard); + $window.addEventListener('cut', checkClipboard); $window.addEventListener('focus', function focusGained(e) { // Only recheck clipboard if it's the window itself that gained focus
