Cheers Tobias, that worked a treat john
On 21/09/2010 22:39, "Tobias Oetiker" <[email protected]> wrote: >Today Tobias Oetiker wrote: > >> Hi John, >> >> Today John Spackman wrote: >> >> > Hi guys, >> > >> > There's a bug with the trunk of UploadWidget introduced in rev >> > 20450; the form's enctype attribute is set to multipart/form-data >> > but this is ignored by IE7 completely which sends >> > "application/x-www-encoded" instead. The fix is to set the >> > form's encoding attribute too (in uploadwidget/UploadForm.js line >> > 61). >> > >> > Can I go ahead and patch it? >> >> if you have commit priviledges ... you could also send me a patch >> :-) > >I have applied this: > >--- source/class/uploadwidget/UploadForm.js (revision 20768) >+++ source/class/uploadwidget/UploadForm.js (working copy) >@@ -60,8 +60,12 @@ > enctype: encoding || "multipart/form-data", > method: "POST" > }); >+ if ( qx.bom.client.Browser.NAME == 'ie' && >qx.bom.client.Browser.VERSION < 8){ >+ el.setAttributes({ >+ encoding: encoding || "multipart/form-data" >+ }) >+ } > el.include(); >- > // Initialize Variables > this.__parameters = {}; > this.__hidden = {}; > >cheers >tobi >> >> cheers >> tobi >> >> > >> > Thanks >> > John >> > >> > >> > >> >> > >-- >Tobi Oetiker, OETIKER+PARTNER AG, Aarweg 15 CH-4600 Olten, Switzerland >http://it.oetiker.ch [email protected] ++41 62 775 9902 / sb: -9900 > >-------------------------------------------------------------------------- >---- >Start uncovering the many advantages of virtual appliances >and start using them to simplify application deployment and >accelerate your shift to cloud computing. >http://p.sf.net/sfu/novell-sfdev2dev >_______________________________________________ >qooxdoo-devel mailing list >[email protected] >https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel ------------------------------------------------------------------------------ Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev _______________________________________________ qooxdoo-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
