Hi John I just tested your idea of using the begin upload event. Unfortunately firefox and chrome behavior is the same as when calling window open when the file response is set.
The solution you proposed, i don't want to use popup. But i will look for a elegant visual way to require two click from the user. Thanks for your answers Regads Le 25 avril 2012 08:30, John Spackman <[email protected]> a écrit : > Hi Benjamin > >>Here is a question about the same issue i've got >>http://stackoverflow.com/questions/6628949/window-open-popup-getting-block >>ed-during-click-event >>Is it possible to do a sync file upload?? > > No, sorry - but using the stack overflow workaround, if you trap the > "beginUpload" event you'll be able to create the window before the upload > happens, IE between the user's click and the AJAX upload. However, this > will only work if there is only one file being uploaded at a time, plus > the upload was triggered by a user click (and one that the browser thinks > is suitable to avoid popup-blocking). > > My guess is that this could be a bit fragile, e.g. you may have more or > less luck with different browsers now and in the future. > > Another solution might be to present a list of uploaded files in a popup > (i.e. a list of qx.ui.basic.Label each with <A> tags) - you could > incorporate the upload progress feedback and the user would be able to > bulk upload a bunch of files in one go and then download them when they're > ready. > > John > > > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > qooxdoo-devel mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel -- Benjamin Dreux Analyste-Programmeur Chaire de logiciel libre-Finance Social et solidaire UQAM Montréal ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ qooxdoo-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
