mirror of
https://github.com/gyurix1968/guacamole-client.git
synced 2025-09-10 23:21:21 +00:00
GUACAMOLE-526: Update webapp to angular 1.6.9.
This commit is contained in:
@@ -464,7 +464,7 @@ angular.module('client').controller('clientController', ['$scope', '$routeParams
|
||||
|
||||
// Pull sharing profiles for the current connection
|
||||
tunnelService.getSharingProfiles(uuid)
|
||||
.success(function sharingProfilesRetrieved(sharingProfiles) {
|
||||
.then(function sharingProfilesRetrieved(sharingProfiles) {
|
||||
$scope.sharingProfiles = sharingProfiles;
|
||||
});
|
||||
|
||||
|
@@ -512,7 +512,7 @@ angular.module('client').factory('ManagedClient', ['$rootScope', '$injector',
|
||||
// If using a connection, pull connection name
|
||||
if (clientIdentifier.type === ClientIdentifier.Types.CONNECTION) {
|
||||
connectionService.getConnection(clientIdentifier.dataSource, clientIdentifier.id)
|
||||
.success(function connectionRetrieved(connection) {
|
||||
.then(function connectionRetrieved(connection) {
|
||||
managedClient.name = managedClient.title = connection.name;
|
||||
});
|
||||
}
|
||||
@@ -520,7 +520,7 @@ angular.module('client').factory('ManagedClient', ['$rootScope', '$injector',
|
||||
// If using a connection group, pull connection name
|
||||
else if (clientIdentifier.type === ClientIdentifier.Types.CONNECTION_GROUP) {
|
||||
connectionGroupService.getConnectionGroup(clientIdentifier.dataSource, clientIdentifier.id)
|
||||
.success(function connectionGroupRetrieved(group) {
|
||||
.then(function connectionGroupRetrieved(group) {
|
||||
managedClient.name = managedClient.title = group.name;
|
||||
});
|
||||
}
|
||||
@@ -631,7 +631,7 @@ angular.module('client').factory('ManagedClient', ['$rootScope', '$injector',
|
||||
client.tunnel.uuid, sharingProfile.identifier);
|
||||
|
||||
// Add a new share link once the credentials are ready
|
||||
credentialRequest.success(function sharingCredentialsReceived(sharingCredentials) {
|
||||
credentialRequest.then(function sharingCredentialsReceived(sharingCredentials) {
|
||||
client.shareLinks[sharingProfile.identifier] =
|
||||
ManagedShareLink.getInstance(sharingProfile, sharingCredentials);
|
||||
});
|
||||
|
Reference in New Issue
Block a user