GUACAMOLE-128: Stop propagation of "cut" events from within clipboard service event target.
This commit is contained in:
1 parent
75a575d050
commit
6ce1eb1d3a
1 file changed
+1
@@ -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);
|
||||
|
||||
|
||||
Reference in new issue
Block a user