[ZendTo] Re: Chrome incompatibility

Gray McCord gdm at sangabriel.com
Tue Nov 26 15:32:03 GMT 2013


Glad to be of assistanceŠ.

I want to also let everyone know that I have found a way to eliminate the
popup with a minor change to ³new_dropoff.tpl²

In my version (4.11), there¹s a javascript towards the bottom of the file
that looks like this:

<script type="text/javascript">
function submitform() {
  if (validateForm()) {
    // scroll(0,0);
    document.fileupload.submit();
    ignore_unload = false;
  }
}
</script>

What I did was to change the ³ignore_unload² variable to ³true² and the
problem went away in Chrome.  Here¹s the bit of code that seems to be
generating the ³error² (in the same file, towards the top):

function doBeforeUnload() {
               if(ignore_unload) return; // Let the page unload

               if(window.event)
                      window.event.returnValue = unload_msg; // IE
               else
                      return unload_msg; // FF
        }

I¹m not a JS/DOM expert, but Chrome is apparently generating a
³window.event² when the form is submitted and others are not. I¹m sure there
are unintended consequences. Any thoughts on what they might be? Give it a
try and let me know what you find.

Cheers!

Gray

Gray McCord
Adapt, Mutate, Migrate, or Die
                                                          -C. Darwin


From:  Kenneth Etter <kle at msktd.com>
Reply-To:  ZendTo Users <zendto at zend.to>
Date:  Monday, November 25, 2013 at 10:07 AM
To:  ZendTo Users <zendto at zend.to>
Subject:  [ZendTo]   Re: Chrome incompatibility

Gray,
 
Thanks!  That worked.
 
Regards,
Ken Etter


>>> Gray McCord <gdm at sangabriel.com> 11/25/2013 10:55 AM >>>
Try the "templates/main_menu.tpl" file.  You should be able to add something
there that will appear on the main page.

Good Luck!

Gray

Gray McCord
Adapt, Mutate, Migrate, or Die
                                                          -C. Darwin


From: Kenneth Etter <kle at msktd.com>
Reply-To: ZendTo Users <zendto at zend.to>
Date: Monday, November 25, 2013 at 9:00 AM
To: 'ZendTo Users' <zendto at zend.to>
Subject: [ZendTo] Re: Chrome incompatibility

I wanted to put a warning about Chrome on the main page, can't find the
correct file to edit to do this.  I'm still running ZendTo version 4.1.  Any
suggestions?
 
Regards,
Ken Etter


>>> "Gray McCord" <gdm at sangabriel.com> 11/25/2013 7:45 AM >>>
This is interesting. It first appeared on our user systems couple of weeks
ago. Then it stopped a few days later. Now it has started again as of the
Chrome update this weekend. Very frustrating...
Gray
From: zendto-bounces at zend.to [mailto:zendto-bounces at zend.to] On Behalf Of
Mike Brudenell
Sent: Monday, November 25, 2013 3:21 AM
To: ZendTo Users
Cc: support at zend.to; Jules at ecs.soton.ac.uk;
global.networking.group at havasmg.com
Subject: [ZendTo] Re: Chrome incompatibility

Greetings -

Yes, we've started seeing this too. It's affecting people using Chrome on
either Apple Macs or Windows PCs. It's just recently started and is not
affecting other browsers, so clearly is related to a Chrome update.

As you say, the symptoms are:
1. Prepare a dropoff to upload
2. Click the Drop off Files button
In Chrome this now shows a warning that navigating away from the current
page will cancel the dropoff, and offers choices to stay on the page or
continue away.

In reality staying put causes nothing to happen, whilst navigating away
starts the dropoff uploading just fine.

Cheers,

Mike B.

On 19 November 2013 15:50, <global.networking.group at havasmg.com> wrote:
> Hello all, 
> 
> Did you found any problem using ZendTo on last Google Chrome release?
> 
> Google Chrome Version 31.0.1650.57 m
> ZendTo 4.11 
> Ubuntu x64 10.04.4 LTS (Lucid)
> 
> When we try to make a new drop-offs over this browser we receive an abandon
> warning, if we accept form is reload empty and we have to start the process
> again, if we decline nothing happens and the progress bar reach the 100%
> immediately. 
> 
> We have checked different instances of ZendTo server (same platform) with the
> same result. 
> 
> Regards and thanks in advance for your ,
> Marcos.
> _______________________________________________
> ZendTo mailing list
> ZendTo at zend.to
> http://mailman.ecs.soton.ac.uk/mailman/listinfo/zendto


-- 
IT Services, The University of York, Heslington, York YO10 5DD, UK
Tel: +44-1904-323811
Disclaimer: <http://www.york.ac.uk/docs/disclaimer/email.htm
<http://www.york.ac.uk/docs/disclaimer/email.htm> >

-- 
This message has been scanned for viruses and
dangerous content by MailScanner <http://www.mailscanner.info/> , and is
believed to be clean.

-- 
This message has been scanned for viruses and
dangerous content by MailScanner <http://www.mailscanner.info/> , and is
believed to be clean.
-- 
This message has been scanned for viruses and
dangerous content by MailScanner <http://www.mailscanner.info/> , and is
believed to be clean.
_______________________________________________ ZendTo mailing list
ZendTo at zend.to http://mailman.ecs.soton.ac.uk/mailman/listinfo/zendto
-- 
This message has been scanned for viruses and
dangerous content by MailScanner <http://www.mailscanner.info/> , and is
believed to be clean.
-- 
This message has been scanned for viruses and
dangerous content by MailScanner <http://www.mailscanner.info/> , and is
believed to be clean.
_______________________________________________ ZendTo mailing list
ZendTo at zend.to http://mailman.ecs.soton.ac.uk/mailman/listinfo/zendto


-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ecs.soton.ac.uk/pipermail/zendto/attachments/20131126/cde4a432/attachment.html 


More information about the ZendTo mailing list