GUAC-605: Allow non-root scope for client and tunnel factories.
This commit is contained in:
1 parent
777761a616
commit
1a69a12c61
3 files changed
+14
-4
No files matched your search
@@ -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