summaryrefslogtreecommitdiff
path: root/spice_auto.html
diff options
context:
space:
mode:
authorJeremy White <jwhite@codeweavers.com>2015-10-27 10:27:59 -0500
committerJeremy White <jwhite@codeweavers.com>2015-10-27 11:37:13 -0500
commitab73d009487c8afd4def39b54a422499b4c13c40 (patch)
tree5d19adf8fae0771a03eb821c8bb596715014c4e8 /spice_auto.html
parent789071cbfa68e1ccb13f2811bdfa39009f52499a (diff)
Enable file transfer for spice_auto.html.HEADmaster
The work Pavel did on spice.html did not get fully transferred into spice_auto.html; in particular, we need to append the xfer div to the main area in order for file transfer to work. This fixes that, and now drag + drop works in spice_auto.html.
Diffstat (limited to 'spice_auto.html')
-rw-r--r--spice_auto.html1
1 files changed, 1 insertions, 0 deletions
diff --git a/spice_auto.html b/spice_auto.html
index d374054..5714804 100644
--- a/spice_auto.html
+++ b/spice_auto.html
@@ -168,6 +168,7 @@
{
var spice_xfer_area = document.createElement("div");
spice_xfer_area.setAttribute('id', 'spice-xfer-area');
+ document.getElementById('spice-area').appendChild(spice_xfer_area);
document.getElementById('spice-area').addEventListener('dragover', handle_file_dragover, false);
document.getElementById('spice-area').addEventListener('drop', handle_file_drop, false);
}