mirror of
https://github.com/gyurix1968/guacamole-client.git
synced 2025-09-07 05:31:22 +00:00
Migrate to cleaner InputStream and OutputStream with Reader wrappers.
This commit is contained in:
@@ -815,9 +815,7 @@ GuacUI.Client.attach = function(guac) {
|
||||
|
||||
}
|
||||
|
||||
guac.onfile = function(mimetype, filename) {
|
||||
|
||||
var stream = new Guacamole.BlobInputStream(mimetype);
|
||||
guac.onfile = function(stream, mimetype, filename) {
|
||||
|
||||
var download = new GuacUI.Download(filename);
|
||||
download.updateProgress(getSizeString(0));
|
||||
@@ -845,8 +843,6 @@ GuacUI.Client.attach = function(guac) {
|
||||
GuacUI.Client.notification_area.removeChild(download.getElement());
|
||||
};
|
||||
|
||||
return stream;
|
||||
|
||||
};
|
||||
|
||||
/*
|
||||
|
Reference in New Issue
Block a user