GUACAMOLE-1896: Refresh connection parameters when focused client updates.
This commit is contained in:
1 parent
2a7605055a
commit
176eec6fd8
1 file changed
+5
@@ -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