Comment 9 for bug 1158501

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to horizon (master)

Reviewed: https://review.openstack.org/107769
Committed: https://git.openstack.org/cgit/openstack/horizon/commit/?id=b88aaa16d3e718cfe5f0509c5a47c51887884f35
Submitter: Jenkins
Branch: master

commit b88aaa16d3e718cfe5f0509c5a47c51887884f35
Author: Timur Sufiev <email address hidden>
Date: Mon Jul 21 19:13:15 2014 +0400

    Allow form to stay modal after uploading file

    Use HTML5 FormData browser API together with FileList API to make
    possible AJAX file uploads (see http://tinyurl.com/kmznw2n on FormData
    examples). Feature detection is the same as in jQuery Form Plugin (see
    http://tinyurl.com/n6v5dsx). Browsers without FormData support (most
    importantly, IE<10) do not support setting custom AJAX request
    headers, so form with File Upload field will lose modality in them
    anyway.

    Change-Id: Id3b91a49a71c6de314c6a7cbee5357fe13679490
    Closes-Bug: #1158501