GUACAMOLE-1896: Refresh connection parameters when focused client updates.

This commit is contained in:
James Muehlner
2023-12-28 19:53:13 +00:00
parent 2a7605055a
commit 176eec6fd8

View File

@@ -92,6 +92,11 @@ angular.module('client').directive('guacTiledClients', [function guacTiledClient
$scope.$emit('guacClientFocused', focusedClient); $scope.$emit('guacClientFocused', focusedClient);
}); });
// Notify whenever arguments of currently-focused client changes
$scope.$watch('getFocusedClient().arguments', function focusedClientParametersChanged() {
$scope.$emit('guacClientFocused', $scope.getFocusedClient());
}, true);
/** /**
* Returns a callback for guacClick that assigns or updates keyboard * Returns a callback for guacClick that assigns or updates keyboard
* focus to the given client, allowing that client to receive and * focus to the given client, allowing that client to receive and