mirror of
https://github.com/gyurix1968/guacamole-client.git
synced 2025-09-06 05:07:41 +00:00
GUACAMOLE-1896: Refresh connection parameters when focused client updates.
This commit is contained in:
@@ -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
|
||||||
|
Reference in New Issue
Block a user