Add mimetype to link.

This commit is contained in:
Michael Jumper
2013-06-24 16:55:23 -07:00
parent be3e75d592
commit 15c9ba6ab2

View File

@@ -782,6 +782,7 @@ GuacUI.Client.attach = function(guac) {
var a = document.createElement("a"); var a = document.createElement("a");
a.href = url.createObjectURL(blob.getBlob()); a.href = url.createObjectURL(blob.getBlob());
a.download = blob.name; a.download = blob.name;
a.type = blob.mimetype;
a.click(); a.click();
}; };