mirror of
https://github.com/gyurix1968/guacamole-client.git
synced 2025-09-07 05:31:22 +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
|
// Handle any received filesystem objects
|
||||||
client.onfilesystem = function fileSystemReceived(object, name) {
|
client.onfilesystem = function fileSystemReceived(object, name) {
|
||||||
$rootScope.$apply(function exposeFilesystem() {
|
$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
|
* and human-readable name. Upon creation, a request to populate the
|
||||||
* contents of the root directory will be automatically dispatched.
|
* 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
|
* @param {Guacamole.Object} object
|
||||||
* The Guacamole.Object defining the filesystem.
|
* The Guacamole.Object defining the filesystem.
|
||||||
*
|
*
|
||||||
|
Reference in New Issue
Block a user