<html><head><style type='text/css'>p { margin: 0; }</style></head><body><div style='font-family: Courier New; font-size: 10pt; color: #000000'>Jules,<br><br>I changed that line to be:<br><br><td class="UD_form_lined">{$d.formattedBytes}</td><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 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;"><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><td class="UD_form_lined">{$d.formattedBytes|replace:' ':'&nbsp;'}</td><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>
document.pickup.claimID.value = theID; <--- here<br>
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>ZendTo@zend.to<br>http://mailman.ecs.soton.ac.uk/mailman/listinfo/zendto</blockquote><br></div><br>_______________________________________________<br>ZendTo mailing list<br>ZendTo@zend.to<br>http://mailman.ecs.soton.ac.uk/mailman/listinfo/zendto</blockquote><br></div></body></html>