Add close button to notifications. Improve styling.
This commit is contained in:
1 parent
e8cdc9c5b7
commit
984ab06100
5 files changed
+78
-1
No files matched your search
@@ -808,6 +808,11 @@ GuacUI.Client.attach = function(guac) {
|
||||
download.complete(blob.mimetype, url.createObjectURL(blob.getBlob()));
|
||||
};
|
||||
|
||||
// When close clicked, remove from notification area
|
||||
download.onclose = function() {
|
||||
GuacUI.Client.notification_area.removeChild(download.getElement());
|
||||
};
|
||||
|
||||
};
|
||||
|
||||
/*
|
||||
|
||||
Reference in new issue
Block a user