mirror of
https://github.com/gyurix1968/guacamole-client.git
synced 2025-09-06 21:27:40 +00:00
GUACAMOLE-724: Update calls to ManagedFilesystem.getInstance() to provide relevant ManagedClient.
This commit is contained in:
@@ -591,7 +591,7 @@ angular.module('client').factory('ManagedClient', ['$rootScope', '$injector',
|
||||
// Handle any received filesystem objects
|
||||
client.onfilesystem = function fileSystemReceived(object, name) {
|
||||
$rootScope.$apply(function exposeFilesystem() {
|
||||
managedClient.filesystems.push(ManagedFilesystem.getInstance(object, name));
|
||||
managedClient.filesystems.push(ManagedFilesystem.getInstance(managedClient, object, name));
|
||||
});
|
||||
};
|
||||
|
||||
|
@@ -170,6 +170,10 @@ angular.module('client').factory('ManagedFilesystem', ['$rootScope', '$injector'
|
||||
* and human-readable name. Upon creation, a request to populate the
|
||||
* contents of the root directory will be automatically dispatched.
|
||||
*
|
||||
* @param {ManagedClient} client
|
||||
* The client that originally received the "filesystem" instruction
|
||||
* that resulted in the creation of this ManagedFilesystem.
|
||||
*
|
||||
* @param {Guacamole.Object} object
|
||||
* The Guacamole.Object defining the filesystem.
|
||||
*
|
||||
|
Reference in New Issue
Block a user