mirror of
				https://github.com/gyurix1968/guacamole-client.git
				synced 2025-10-31 00:53:21 +00:00 
			
		
		
		
	GUAC-963: Only send clipboard data it's a string.
This commit is contained in:
		| @@ -333,10 +333,10 @@ angular.module('client').controller('clientController', ['$scope', '$routeParams | ||||
|  | ||||
|     }); | ||||
|  | ||||
|     $scope.$watch('menuShown', function setKeyboardEnabled(menuShown, menuShownPreviousState) { | ||||
|     $scope.$watch('menuShown', function menuVisibilityChanged(menuShown, menuShownPreviousState) { | ||||
|          | ||||
|         // Send clipboard data if menu is hidden | ||||
|         if (!menuShown && menuShownPreviousState) | ||||
|         if (!menuShown && menuShownPreviousState && angular.isString($scope.client.clipboardData)) | ||||
|             $scope.$broadcast('guacClipboard', 'text/plain', $scope.client.clipboardData);  | ||||
|          | ||||
|         // Disable client keyboard if the menu is shown | ||||
|   | ||||
		Reference in New Issue
	
	Block a user