mirror of
https://github.com/gyurix1968/guacamole-client.git
synced 2025-09-09 06:31:22 +00:00
GUACAMOLE-5: Use contextual actions to add connections and connection groups.
This commit is contained in:
@@ -291,7 +291,10 @@ angular.module('manage').controller('manageConnectionController', ['$scope', '$i
|
||||
|
||||
// If we are creating a new connection, populate skeleton connection data
|
||||
else {
|
||||
$scope.connection = new Connection({ protocol: 'vnc' });
|
||||
$scope.connection = new Connection({
|
||||
protocol : 'vnc',
|
||||
parentIdentifier : $location.search().parent
|
||||
});
|
||||
$scope.historyEntryWrappers = [];
|
||||
$scope.parameters = {};
|
||||
}
|
||||
|
@@ -175,7 +175,9 @@ angular.module('manage').controller('manageConnectionGroupController', ['$scope'
|
||||
|
||||
// If we are creating a new connection group, populate skeleton connection group data
|
||||
else
|
||||
$scope.connectionGroup = new ConnectionGroup();
|
||||
$scope.connectionGroup = new ConnectionGroup({
|
||||
parentIdentifier : $location.search().parent
|
||||
});
|
||||
|
||||
/**
|
||||
* Available connection group types, as translation string / internal value
|
||||
|
Reference in New Issue
Block a user