GUAC-963: Properly initialize clipboardData.

This commit is contained in:
Michael Jumper committed 2015-01-02 20:41:35 -08:00
1 parent bce2270952
commit 30002b2160
2 files changed
+2 -2

No files matched your search

@@ -318,7 +318,7 @@ angular.module('client').controller('clientController', ['$scope', '$routeParams
$scope.$watch('menuShown', function menuVisibilityChanged(menuShown, menuShownPreviousState) {
// Send clipboard data if menu is hidden
if (!menuShown && menuShownPreviousState && angular.isString($scope.client.clipboardData))
if (!menuShown && menuShownPreviousState)
$scope.$broadcast('guacClipboard', 'text/plain', $scope.client.clipboardData);
// Disable client keyboard if the menu is shown