GUAC-1480: Consume 'guacClipboard' events ONLY in guacClient directive. Use 'guacClipboard' events as the sole source of clipboard data - do not scope watch.
This commit is contained in:
1 parent
948ccffd82
commit
443e93a3c2
2 files changed
+4
-7
No files matched your search
@@ -379,11 +379,6 @@ angular.module('client').controller('clientController', ['$scope', '$routeParams
|
||||
|
||||
});
|
||||
|
||||
// Update remote clipboard if local clipboard changes
|
||||
$scope.$on('guacClipboard', function onClipboard(event, mimetype, data) {
|
||||
$scope.client.clipboardData = data;
|
||||
});
|
||||
|
||||
$scope.$on('guacKeydown', function keydownListener(event, keysym, keyboard) {
|
||||
keysCurrentlyPressed[keysym] = true;
|
||||
|
||||
|
||||
Reference in new issue
Block a user