mirror of
https://github.com/gyurix1968/guacamole-client.git
synced 2025-09-06 13:17:41 +00:00
GUAC-605: Allow non-root scope for client and tunnel factories.
This commit is contained in:
@@ -260,8 +260,8 @@ angular.module('client').directive('guacClient', [function guacClient() {
|
||||
return;
|
||||
|
||||
// Get new client instance
|
||||
var tunnel = guacTunnelFactory.getInstance();
|
||||
client = guacClientFactory.getInstance(tunnel);
|
||||
var tunnel = guacTunnelFactory.getInstance($scope);
|
||||
client = guacClientFactory.getInstance(tunnel, $scope);
|
||||
|
||||
// Init display
|
||||
display = client.getDisplay();
|
||||
|
Reference in New Issue
Block a user