mirror of
https://github.com/gyurix1968/guacamole-client.git
synced 2025-09-11 15:37:41 +00:00
Add notification area. Preload images that would otherwise be loaded later, as such a load may fail due to resource starvation.
This commit is contained in:
@@ -50,8 +50,9 @@ GuacUI.Client = {
|
||||
|
||||
/* UI Components */
|
||||
|
||||
"viewport" : document.getElementById("viewportClone"),
|
||||
"display" : document.getElementById("display"),
|
||||
"viewport" : document.getElementById("viewportClone"),
|
||||
"display" : document.getElementById("display"),
|
||||
"notification_area" : document.getElementById("notificationArea"),
|
||||
|
||||
/* Expected Input Rectangle */
|
||||
|
||||
@@ -794,7 +795,7 @@ GuacUI.Client.attach = function(guac) {
|
||||
var download = new GuacUI.Download(blob.name);
|
||||
download.updateProgress(getSizeString(0));
|
||||
|
||||
document.body.appendChild(download.getElement());
|
||||
GuacUI.Client.notification_area.appendChild(download.getElement());
|
||||
|
||||
// Update progress as data is received
|
||||
blob.ondata = function() {
|
||||
|
Reference in New Issue
Block a user