Re: [PATCH spice-html5] Enable file transfer for spice_auto.html.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Ack

Thanks,
Pavel

On Tue, 2015-10-27 at 10:30 -0500, Jeremy White wrote:
> 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.
> 
> Signed-off-by: Jeremy White <jwhite@xxxxxxxxxxxxxxx>
> ---
>  spice_auto.html | 1 +
>  1 file changed, 1 insertion(+)
> 
> 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);
>                  }
_______________________________________________
Spice-devel mailing list
Spice-devel@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/spice-devel




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]     [Monitors]