| View previous topic :: View next topic |
| Author |
Message |
andrew
Joined: 23 Sep 2006 Posts: 12
|
Posted: Mar 07, 2011 5:17 am Post subject: Chrome and Stop Upload |
|
|
Hi,
I've just upgraded to 3.1 Pro.
If you upload with Chrome (under Windows) and hit the "Stop Upload" button the upload progress window closes correctly but the file upload itself does not stop.
You can see this on the demo pages on your site.
Any help appreciated!
Andrew |
|
| Back to top |
|
 |
andrew
Joined: 23 Sep 2006 Posts: 12
|
Posted: Mar 07, 2011 1:52 pm Post subject: Re: Chrome and Stop Upload |
|
|
OK.... I believe I have a solution
Chrome passes the following test in xupload.js which we "want" it to fail it so it tries to use the code for IE (which doesn't throw an error but does not work).
| Code: | | if(!!top.execScript) |
I added a test for chrome and then modified the above line to:
| Code: | if(!!top.execScript && !is_chrome)
{ |
To be double sure I modified the next test to be:
| Code: | else if (!document.all || is_opera || is_chrome)
{ |
The stop upload button now works in Chrome.
If you have a better solution then please let me know and I will change mine.
Thanks
Andrew
| andrew wrote: | Hi,
I've just upgraded to 3.1 Pro.
If you upload with Chrome (under Windows) and hit the "Stop Upload" button the upload progress window closes correctly but the file upload itself does not stop.
You can see this on the demo pages on your site.
Any help appreciated!
Andrew |
|
|
| Back to top |
|
 |
|