<html><head><style type='text/css'>p { margin: 0; }</style></head><body><div style='font-family: Courier New; font-size: 10pt; color: #000000'>&nbsp;* SVN:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; $Id: Smarty.class.php 3895 2010-12-31 13:47:12Z uwe.tews@googlemail.com $<span><br><br><span name="x"></span>-- <br>Thanks, Phil<span name="x"></span><br></span><br><hr id="zwchr"><blockquote style="border-left:2px solid rgb(16, 16, 255);margin-left:5px;padding-left:5px;color:#000;font-weight:normal;font-style:normal;text-decoration:none;font-family:Helvetica,Arial,sans-serif;font-size:12pt;">
  
    
  
  
    Can you let me know what version of Smarty you are running?<br>
    <br>
    I've tested it on Firefox 6.01 with these 2 versions:<br>
    <br>
    # grep SVN /opt/zendto/lib/smarty/Smarty.class.php <br>
    &nbsp;* SVN:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; $Id: Smarty.class.php 4074 2011-04-22 02:19:14Z
    <a class="moz-txt-link-abbreviated" href="mailto:uwe.tews@googlemail.com" target="_blank">uwe.tews@googlemail.com</a> $<br>
    # grep SVN Smarty.class.php <br>
    &nbsp;* SVN:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; $Id: Smarty.class.php 3895 2010-12-31 13:47:12Z
    <a class="moz-txt-link-abbreviated" href="mailto:uwe.tews@googlemail.com" target="_blank">uwe.tews@googlemail.com</a> $<br>
    <br>
    That same command (the first one) should tell you 4074 with luck.<br>
    <br>
    On 20/09/2011 16:53, --[ UxBoD ]-- wrote:
    <blockquote cite="mid:8bf19d6e-f02c-4087-b834-c55b21403f67@office.splatnix.net">
      <style>p { margin: 0; }</style>
      <div style="font-family: Courier New; font-size: 10pt; color:
        #000000">It does not display anything Jules, and the date of the
        drop off which should follow is never displayed either.<span><br>
          <span></span>-- <br>
          Thanks, Phil<span></span><br>
        </span><br>
        <hr id="zwchr">
        <blockquote style="border-left:2px solid rgb(16, 16,
255);margin-left:5px;padding-left:5px;color:#000;font-weight:normal;font-style:normal;text-decoration:none;font-family:Helvetica,Arial,sans-serif;font-size:12pt;">
          What does the HTML it generates look like?<br>
          In my version, it generates a line like this:<br>
          <br>
          &lt;td class="UD_form_lined"&gt;410.3&amp;nbsp;KB&lt;/td&gt;<br>
          <br>
          What does yours say?<br>
          <br>
          And in the browser does it display the size of the dropoff
          correctly? (such as "410.3 KB" for the example above)<br>
          <br>
          We *may* be running different versions of Smarty. But I'm
          pretty sure for 4.05 I downloaded the latest stable release of
          Smarty, so you should have the latest already.<br>
          <br>
          Jules.<br>
          <br>
          On 20/09/2011 16:30, --[ UxBoD ]-- wrote:
          <blockquote cite="mid:b17eddaa-ec4c-4639-81fb-b9c805bc7c82@office.splatnix.net">
            <style>p { margin: 0; }</style>
            <div style="font-family: Courier New; font-size: 10pt;
              color: #000000">Jules,<br>
              <br>
              I changed that line to be:<br>
              <br>
              &lt;td
              class="UD_form_lined"&gt;{$d.formattedBytes}&lt;/td&gt;<br>
              <br>
              and now there are no issues. It is something in the
              replace that causes the rest of the form not to be
              processed/displayed and hence the document name does not
              get defined.<span><br>
                <span></span>-- <br>
                Thanks, Phil<span></span><br>
              </span><br>
              <hr id="zwchr">
              <blockquote style="border-left:2px solid rgb(16, 16,
255);margin-left:5px;padding-left:5px;color:#000;font-weight:normal;font-style:normal;text-decoration:none;font-family:Helvetica,Arial,sans-serif;font-size:12pt;">
                <style>p { margin: 0; }</style>
                <div style="font-family: Courier New; font-size: 10pt;
                  color: #000000">Hi Jules, this is happening under
                  FF3.6+.<br>
                  <br>
                  Looking at the difference between 4.02 and 4.05 I see
                  the inclusion on that screen for the following code:<br>
                  <br>
                  &lt;td
                  class="UD_form_lined"&gt;{$d.formattedBytes|replace:'
                  ':'&amp;nbsp;'}&lt;/td&gt;<br>
                  <br>
                  so the size of the drop is also displayed. If I remove
                  that piece of code I can now click on a dropoff and
                  see the detail screen. When I put that code back in I
                  am no longer able to click through to the detail
                  screen.<span><br>
                    <span></span>-- <br>
                    Thanks, Phil<span></span><br>
                  </span><br>
                  <hr id="zwchr">
                  <blockquote style="border-left:2px solid rgb(16, 16,
255);margin-left:5px;padding-left:5px;color:#000;font-weight:normal;font-style:normal;text-decoration:none;font-family:Helvetica,Arial,sans-serif;font-size:12pt;">
                    I have just tested the Outbox functionality with the
                    JavaScript error console displayed in IE9, Safari
                    (Mac) and Chrome (Mac).<br>
                    I cannot reproduce your error at all.<br>
                    <br>
                    In the 3 places that call "doPickup" ('grep -l
                    doPickup /opt/zendto/templates/*.tpl' as you'll see
                    them), they all have a form called "pickup" with a
                    hidden element "claimID" in it. So the code should
                    work, and does for me.<br>
                    <br>
                    Exactly how did you get it to display this error
                    message?<br>
                    And does it affect the functionality of the page?<br>
                    <br>
                    Jules.<br>
                    <br>
                    On 20/09/2011 15:32, --[ UxBoD ]-- wrote:
                    <blockquote cite="mid:c1d14a06-e789-4f5a-ad79-8d7dddcef36f@office.splatnix.net">
                      <style>p { margin: 0; }</style>
                      <div style="font-family: Courier New; font-size:
                        10pt; color: #000000">Jules,<br>
                        <br>
                        Under ZendTo 4.05 when in the Outbox screen and
                        the user clicks on a dropoff they have made a JS
                        error, document.pickup is not defined, is being
                        wrong on line 90 of main.js:<br>
                        <br>
                        / * Jules' code */<br>
                        function doPickup(theID) {<br>
                        &nbsp; document.pickup.claimID.value = theID; &lt;---
                        here<br>
                        &nbsp; return document.pickup.submit();<br>
                        }<br>
                        <br>
                        I have looked at the code and cannot see what is
                        wrong any ideas ?<span><br>
                          <span></span>-- <br>
                          Thanks, Phil<span></span><br>
                        </span><br>
                      </div>
                      <br>
                      <fieldset class="mimeAttachmentHeader"></fieldset>
                      <br>
                      <pre>_______________________________________________
ZendTo mailing list
<a class="moz-txt-link-abbreviated" href="mailto:ZendTo@zend.to" target="_blank">ZendTo@zend.to</a>
<a class="moz-txt-link-freetext" href="http://mailman.ecs.soton.ac.uk/mailman/listinfo/zendto" target="_blank">http://mailman.ecs.soton.ac.uk/mailman/listinfo/zendto</a></pre>
                    </blockquote>
                    <br>
                    <pre class="moz-signature">Jules

--
Julian Field MEng CITP CEng
<a class="moz-txt-link-abbreviated" href="http://www.Zend.To" target="_blank">www.Zend.To</a>

Follow me at twitter.com/JulesFM
PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654

'It's okay to live without all the answers' - Charlie Eppes, 2011
'All programs have a desire to be useful' - Tron, 1982
'That is the land of lost content,
 I see it shining plain,
 The happy highways where I went,
 And cannot come again.' - A.E. Houseman
</pre>
                    <br>
                    _______________________________________________<br>
                    ZendTo mailing list<br>
                    <a class="moz-txt-link-abbreviated" href="mailto:ZendTo@zend.to" target="_blank">ZendTo@zend.to</a><br>
                    <a class="moz-txt-link-freetext" href="http://mailman.ecs.soton.ac.uk/mailman/listinfo/zendto" target="_blank">http://mailman.ecs.soton.ac.uk/mailman/listinfo/zendto</a></blockquote>
                  <br>
                </div>
                <br>
                _______________________________________________<br>
                ZendTo mailing list<br>
                <a class="moz-txt-link-abbreviated" href="mailto:ZendTo@zend.to" target="_blank">ZendTo@zend.to</a><br>
                <a class="moz-txt-link-freetext" href="http://mailman.ecs.soton.ac.uk/mailman/listinfo/zendto" target="_blank">http://mailman.ecs.soton.ac.uk/mailman/listinfo/zendto</a></blockquote>
              <br>
            </div>
            <br>
            <fieldset class="mimeAttachmentHeader"></fieldset>
            <br>
            <pre>_______________________________________________
ZendTo mailing list
<a class="moz-txt-link-abbreviated" href="mailto:ZendTo@zend.to" target="_blank">ZendTo@zend.to</a>
<a class="moz-txt-link-freetext" href="http://mailman.ecs.soton.ac.uk/mailman/listinfo/zendto" target="_blank">http://mailman.ecs.soton.ac.uk/mailman/listinfo/zendto</a></pre>
          </blockquote>
          <br>
          <pre class="moz-signature">Jules

-- 
Julian Field MEng CITP CEng
<a class="moz-txt-link-abbreviated" href="http://www.Zend.To" target="_blank">www.Zend.To</a>

Follow me at twitter.com/JulesFM
PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654

'It's okay to live without all the answers' - Charlie Eppes, 2011
'All programs have a desire to be useful' - Tron, 1982
'That is the land of lost content,
 I see it shining plain,
 The happy highways where I went,
 And cannot come again.' - A.E. Houseman
</pre>
          <br>
          _______________________________________________<br>
          ZendTo mailing list<br>
          <a class="moz-txt-link-abbreviated" href="mailto:ZendTo@zend.to" target="_blank">ZendTo@zend.to</a><br>
          <a class="moz-txt-link-freetext" href="http://mailman.ecs.soton.ac.uk/mailman/listinfo/zendto" target="_blank">http://mailman.ecs.soton.ac.uk/mailman/listinfo/zendto</a></blockquote>
        <br>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre>_______________________________________________
ZendTo mailing list
<a class="moz-txt-link-abbreviated" href="mailto:ZendTo@zend.to" target="_blank">ZendTo@zend.to</a>
<a class="moz-txt-link-freetext" href="http://mailman.ecs.soton.ac.uk/mailman/listinfo/zendto" target="_blank">http://mailman.ecs.soton.ac.uk/mailman/listinfo/zendto</a></pre>
    </blockquote>
    <br>
    <pre class="moz-signature">Jules

-- 
Julian Field MEng CITP CEng
<a class="moz-txt-link-abbreviated" href="http://www.Zend.To" target="_blank">www.Zend.To</a>

Follow me at twitter.com/JulesFM
PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654

'It's okay to live without all the answers' - Charlie Eppes, 2011
'All programs have a desire to be useful' - Tron, 1982
'That is the land of lost content,
 I see it shining plain,
 The happy highways where I went,
 And cannot come again.' - A.E. Houseman
</pre>
  

<br>_______________________________________________<br>ZendTo mailing list<br>ZendTo@zend.to<br>http://mailman.ecs.soton.ac.uk/mailman/listinfo/zendto</blockquote><br></div></body></html>