GUACAMOLE-128: Stop propagation of "cut" events from within clipboard service event target.

This commit is contained in:
Michael Jumper
2017-09-03 16:30:52 -07:00
parent 75a575d050
commit 6ce1eb1d3a

View File

@@ -86,6 +86,7 @@ angular.module('clipboard').factory('clipboardService', ['$injector',
};
// Prevent events generated due to execCommand() from disturbing external things
clipboardContent.addEventListener('cut', stopEventPropagation);
clipboardContent.addEventListener('copy', stopEventPropagation);
clipboardContent.addEventListener('paste', stopEventPropagation);