<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    I've got a quick fix for this. Unfortunately it means you can
    navigate away from (and hence abort) a running upload, but it stops
    the Chrome warning, so is better than nothing.<br>
    <br>
    You want to edit /opt/zendto/templates/new_dropoff.tpl<br>
    <br>
    Find the start of the "submitform" function, and add the last line
    of this little code snippet:<br>
    <br>
    &lt;script type="text/javascript"&gt;<br>
    function submitform() {<br>
    &nbsp; if (validateForm()) {<br>
    &nbsp;&nbsp;&nbsp; <b>window.onbeforeunload=function(){}</b><b><br>
    </b><br>
    Jules.<br>
    <br>
    <div class="moz-cite-prefix">On 17/12/2013 14:55, Jules wrote:<br>
    </div>
    <blockquote cite="mid:52B065EC.7030901@Zend.To" type="cite">
      <meta content="text/html; charset=ISO-8859-1"
        http-equiv="Content-Type">
      I'm still working on a decent fix to this. Once it's sorted, I'll
      release a new version and announce it on the mailing list.<br>
      <br>
      Jules.<br>
      <br>
      <div class="moz-cite-prefix">On 21/11/2013 12:57, John Webber
        (NBI) wrote:<br>
      </div>
      <blockquote
        cite="mid:694F0A1F4B1C6D4BABA561C7D9A476C60E3D2931@MAILEX1.nbi.ac.uk"
        type="cite">
        <meta http-equiv="Content-Type" content="text/html;
          charset=ISO-8859-1">
        <meta name="Generator" content="Microsoft Word 15 (filtered
          medium)">
        <style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";
        mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:#0563C1;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:#954F72;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
span.EmailStyle18
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
        <div class="WordSection1">
          <p class="MsoNormal"><span style="color:#1F497D">Hi,<o:p></o:p></span></p>
          <p class="MsoNormal"><span style="color:#1F497D"><br>
              I have investigated the issue below and found that it
              effects the latest version of Chrome.&nbsp; <o:p></o:p></span></p>
          <p class="MsoNormal"><span style="color:#1F497D"><o:p>&nbsp;</o:p></span></p>
          <p class="MsoNormal"><span style="color:#1F497D">We have
              tested this scenario with Chrome &#8220;Version 30.0.1599.101
              m&#8221;, and found that it functions without any problems.&nbsp;
              However, when we attempt to drop off a file using Chrome
              &#8220;Version 31.0.1650.57 m&#8221;, we see the issue below.<o:p></o:p></span></p>
          <p class="MsoNormal"><span style="color:#1F497D"><o:p>&nbsp;</o:p></span></p>
          <p class="MsoNormal"><span style="color:#1F497D">The issue
              seems to be that clicking the button to trigger a drop off
              (templates/new_dropoff.tpl) triggers sets the
              &#8220;ignore_unload&#8221; to false earlier than it should and
              therefore the function &#8220;doBeforeUnload()&#8221; returns the
              &#8220;unload_msg&#8221;.<o:p></o:p></span></p>
          <p class="MsoNormal"><span style="color:#1F497D"><o:p>&nbsp;</o:p></span></p>
          <p class="MsoNormal"><span style="color:#1F497D">Please can
              you advice how we can work around this issue.<o:p></o:p></span></p>
          <p class="MsoNormal"><span style="color:#1F497D"><o:p>&nbsp;</o:p></span></p>
          <p class="MsoNormal"><span style="color:#1F497D">Thanks<o:p></o:p></span></p>
          <p class="MsoNormal"><span style="color:#1F497D">John<o:p></o:p></span></p>
          <p class="MsoNormal"><span style="color:#1F497D"><o:p>&nbsp;</o:p></span></p>
          <p class="MsoNormal"><span style="color:#1F497D"><o:p>&nbsp;</o:p></span></p>
          <p class="MsoNormal"><span style="color:#1F497D"><o:p>&nbsp;</o:p></span></p>
          <p class="MsoNormal"><span style="color:#1F497D"><o:p>&nbsp;</o:p></span></p>
          <div>
            <div style="border:none;border-top:solid #E1E1E1
              1.0pt;padding:3.0pt 0cm 0cm 0cm">
              <p class="MsoNormal"><b><span
                    style="mso-fareast-language:EN-GB" lang="EN-US">From:</span></b><span
                  style="mso-fareast-language:EN-GB" lang="EN-US"> John
                  Webber (NBI) <br>
                  <b>Sent:</b> 21 November 2013 10:19<br>
                  <b>To:</b> '<a moz-do-not-send="true"
                    class="moz-txt-link-abbreviated"
                    href="mailto:Support@Zend.To">Support@Zend.To</a>'<br>
                  <b>Subject:</b> Issue with Chrome browser - "Leave
                  this Page"<o:p></o:p></span></p>
            </div>
          </div>
          <p class="MsoNormal"><o:p>&nbsp;</o:p></p>
          <p class="MsoNormal">Hi,<o:p></o:p></p>
          <p class="MsoNormal"><o:p>&nbsp;</o:p></p>
          <p class="MsoNormal">We have encountered an issue with the
            Chrome using ZendTo and would appreciate your advice.&nbsp; <o:p></o:p></p>
          <p class="MsoNormal"><o:p>&nbsp;</o:p></p>
          <p class="MsoNormal">Once we have entered the recipient of the
            file and chosen the file to send, when I click to the button
            to drop off the files, I see the following error dialog box,
            but only on the Chrome:&nbsp; <o:p></o:p></p>
          <p class="MsoNormal"><o:p>&nbsp;</o:p></p>
          <p class="MsoNormal" style="text-indent:36.0pt">&#8220;Confirm
            Navigation.&nbsp; If you leave this page, you will abandon this
            drop-off.&nbsp; Are you sure you want to leave this page?&#8221;&nbsp; <o:p></o:p></p>
          <p class="MsoNormal"><o:p>&nbsp;</o:p></p>
          <p class="MsoNormal">The two options available are:&nbsp; <o:p></o:p></p>
          <p class="MsoNormal" style="text-indent:36.0pt">&#8220;Leave this
            Page&#8221; &nbsp;or&nbsp; &nbsp;&#8220;Stay on this Page&#8221;. <o:p></o:p></p>
          <p class="MsoNormal"><o:p>&nbsp;</o:p></p>
          <p class="MsoNormal">If I select to stay on the page, the
            upload does not start, although the uploading image does
            appear!&nbsp; If I select to leave the page, it works normally.&nbsp;
            Please can you advise how I can correct this issue.<o:p></o:p></p>
          <p class="MsoNormal"><br>
            Thanks<o:p></o:p></p>
          <p class="MsoNormal">John<o:p></o:p></p>
          <p class="MsoNormal"><o:p>&nbsp;</o:p></p>
          <p class="MsoNormal"><o:p>&nbsp;</o:p></p>
          <p class="MsoNormal"><o:p>&nbsp;</o:p></p>
          <p class="MsoNormal"
            style="line-height:12.0pt;background:white"><b><span
style="font-size:10.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:#4F81BD;mso-fareast-language:EN-GB">--------------------------------------------------------------------------------------------------------------------------------------------&nbsp;</span></b><span
              style="color:#0F126F;mso-fareast-language:EN-GB"><o:p></o:p></span></p>
          <p class="MsoNormal"
            style="line-height:12.0pt;background:white"><b><span
style="font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:#548DD4;mso-fareast-language:EN-GB">John

                Webber<br>
              </span></b><span
              style="color:#1F497D;mso-fareast-language:EN-GB">Computing
              and Information Services</span><span
              style="color:#0F126F;mso-fareast-language:EN-GB"><o:p></o:p></span></p>
          <p class="MsoNormal"
            style="line-height:12.0pt;background:white"><span
              style="color:#1F497D;mso-fareast-language:EN-GB">NBI
              Partnership Ltd</span><span
              style="color:#0F126F;mso-fareast-language:EN-GB"><o:p></o:p></span></p>
          <p class="MsoNormal"
            style="line-height:12.0pt;background:white"><span
              style="color:#1F497D;mso-fareast-language:EN-GB">Norwich
              Research park</span><span
              style="color:#0F126F;mso-fareast-language:EN-GB"><o:p></o:p></span></p>
          <p class="MsoNormal"
            style="line-height:12.0pt;background:white"><span
              style="color:#1F497D;mso-fareast-language:EN-GB">Colney
              Lane</span><span
              style="color:#0F126F;mso-fareast-language:EN-GB"><o:p></o:p></span></p>
          <p class="MsoNormal"
            style="line-height:12.0pt;background:white"><span
              style="color:#1F497D;mso-fareast-language:EN-GB">Norwich</span><span
              style="color:#0F126F;mso-fareast-language:EN-GB"><o:p></o:p></span></p>
          <p class="MsoNormal"
            style="line-height:12.0pt;background:white"><span
              style="color:#1F497D;mso-fareast-language:EN-GB">NR4 7UH</span><span
              style="color:#0F126F;mso-fareast-language:EN-GB"><o:p></o:p></span></p>
          <p class="MsoNormal"
            style="line-height:12.0pt;background:white"><span
              style="color:#1F497D;mso-fareast-language:EN-GB">&nbsp;</span><span
              style="color:#0F126F;mso-fareast-language:EN-GB"><o:p></o:p></span></p>
          <p class="MsoNormal"
            style="line-height:12.0pt;background:white"><span
              style="color:#1F497D;mso-fareast-language:EN-GB">E-Mail:</span><span
              style="mso-fareast-language:EN-GB"> </span><a
              moz-do-not-send="true" href="mailto:john.webber@nbi.ac.uk"><span
                style="color:blue;mso-fareast-language:EN-GB">john.webber@nbi.ac.uk</span></a><span
              style="color:#0F126F;mso-fareast-language:EN-GB"><o:p></o:p></span></p>
          <p class="MsoNormal"
            style="line-height:12.0pt;background:white"><span
              style="color:#1F497D;mso-fareast-language:EN-GB">Web:</span><span
              style="mso-fareast-language:EN-GB"> <span
                style="color:#1F497D">&nbsp;&nbsp;&nbsp; </span></span><a
              moz-do-not-send="true" href="http://www.nbi.ac.uk/"><span
                style="color:blue;mso-fareast-language:EN-GB">http://www.nbi.ac.uk</span></a><span
              style="color:#0F126F;mso-fareast-language:EN-GB"><o:p></o:p></span></p>
          <p class="MsoNormal"
            style="line-height:12.0pt;background:white"><span
              style="color:#1F497D;mso-fareast-language:EN-GB">Tel:</span><span
              style="mso-fareast-language:EN-GB"> <span
                style="color:#1F497D">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; +44(0)1603 450 818<o:p></o:p></span></span></p>
          <p class="MsoNormal"
            style="line-height:12.0pt;background:white"><span
              style="color:#1F497D;mso-fareast-language:EN-GB"><o:p>&nbsp;</o:p></span></p>
          <p class="MsoNormal"
            style="line-height:12.0pt;background:white"><span
              style="color:#1F497D;mso-fareast-language:EN-GB">Helpdesk
              (Tel):&nbsp; 1234</span><span
              style="mso-fareast-language:EN-GB"> <span
                style="color:#1F497D">&nbsp;&nbsp;&nbsp;&nbsp; HPC Support (Web):</span> <span
                style="color:#1F497D"> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span></span><a
              moz-do-not-send="true" href="http://hpc.nbi.ac.uk/"><span
                style="color:blue;mso-fareast-language:EN-GB">http://hpc.nbi.ac.uk</span></a><span
              style="color:#1F497D;mso-fareast-language:EN-GB">&nbsp; (NBI&nbsp;
              internal)<o:p></o:p></span></p>
          <p class="MsoNormal"
            style="line-height:12.0pt;background:white"><span
              style="color:#1F497D;mso-fareast-language:EN-GB">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;

              HPC Support (Tel):</span><span
              style="mso-fareast-language:EN-GB"> <span
                style="color:#1F497D">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 2003&nbsp; (NBI internal)<o:p></o:p></span></span></p>
          <p class="MsoNormal"><span
              style="color:#1F497D;mso-fareast-language:EN-GB">&nbsp;</span><span
              style="color:#0F126F;mso-fareast-language:EN-GB"><o:p></o:p></span></p>
          <p class="MsoNormal"><i><span
                style="color:#1F497D;mso-fareast-language:EN-GB">The NBI
                Partnership Ltd provides non-scientific services to the
                Institute of Food Research, the John Innes Centre, The
                Genome Analysis Centre and The Sainsbury Laboratory</span></i><span
              style="color:#0F126F;mso-fareast-language:EN-GB"><o:p></o:p></span></p>
          <p class="MsoNormal"><o:p>&nbsp;</o:p></p>
        </div>
        <br>
        <pre class="moz-signature" cols="72">Jules

-- 
Julian Field MEng MBCS CITP CEng

Viking, North Utsire: Southwesterly 6 to gale 8, backing southerly 7 to severe
gale 9 later. Rough or very rough. Showers. Moderate or good.

<a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="http://www.Zend.To">www.Zend.To</a>
Twitter: @JulesFM
PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654
</pre>
      </blockquote>
      <br>
      <pre class="moz-signature" cols="72">Jules

-- 
Julian Field MEng MBCS CITP CEng

Dogger, Fisher, German Bight, Humber, Thames, Dover: South or southwest 6 to
gale 8, occasionally severe gale 9 at first in Fisher. Moderate or rough,
occasionally very rough at first. Rain or showers. Good, occasionally
poor.

<a class="moz-txt-link-abbreviated" href="http://www.Zend.To">www.Zend.To</a>
Twitter: @JulesFM
PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654
</pre>
    </blockquote>
  </body>
</html>