Hi Fritz

Sorry for the delay in getting back to you; UploadMgr does not explicitly
support deag & drop for files, so this only works on Chrome because there
is actually a transparent <input type=file> on top of the upload widget
and Chrome adds that functionality automatically.

It should be possible to add the drag and drop support for later versions
of IE (probably IE10+), I don¹t have time to look at it right now but if
you want to do it yourself I¹m happy to review and accept changes.

It would require adding support for the ³drop² DOM event (not the qooxdoo
event) and fetching the list of files from the event handler; once that
works, there would need to be a change to the addFile & _createFile API in
AbstractHandler and XhrHandler to allow a list of files to be provided
without an <input>.

Regards
John

On 03/08/2015 20:58, "Fritz Zaucker" <fritz.zauc...@oetiker.ch> wrote:

>Hi,
>
>some of my users discovered somehow, that the UploadMgr contrib does
>"support" a file drag/drop on the Upload button. At least with Chromser,
>with either QX 3.5.x and 5.0.
>
>However, the same doesn't seem to work with IE (tested with IE11).
>Instead,
>the browser default action (opening the file) is called.
>
>I couldn't find anything in the UploadMgr source explicetely supporting
>the
>drop event. Thus two questions:
>
>- Can I change IE's behaviour somehow to match the Chrome behaviour?
>
>- Is it possible to somehow call UploadMgr programmatically from a native
>   HTML5 drop handler?
>
>Thanks (for UploadMgr and any hints),
>Ftitz
>
>-- 
>Oetiker+Partner AG             tel: +41 62 775 9903 (direct)
>Fritz Zaucker                        +41 62 775 9900 (switch board)
>Aarweg 15                            +41 79 675 0630 (mobile)
>CH-4600 Olten                   fax: +41 62 775 9905
>Schweiz                         web: www.oetiker.ch
>
>--------------------------------------------------------------------------
>----
>_______________________________________________
>qooxdoo-devel mailing list
>qooxdoo-devel@lists.sourceforge.net
>https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel




------------------------------------------------------------------------------
_______________________________________________
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to