mirror of
https://github.com/gyurix1968/guacamole-client.git
synced 2025-09-06 13:17:41 +00:00
GUACAMOLE-128: Stop propagation of "cut" events from within clipboard service event target.
This commit is contained in:
@@ -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