[ZendTo] Re: JS Error

Jules Jules at Zend.To
Tue Sep 20 16:01:47 BST 2011


I have just tested the Outbox functionality with the JavaScript error 
console displayed in IE9, Safari (Mac) and Chrome (Mac).
I cannot reproduce your error at all.

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.

Exactly how did you get it to display this error message?
And does it affect the functionality of the page?

Jules.

On 20/09/2011 15:32, --[ UxBoD ]-- wrote:
> Jules,
>
> 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:
>
> / * Jules' code */
> function doPickup(theID) {
>   document.pickup.claimID.value = theID; <--- here
>   return document.pickup.submit();
> }
>
> I have looked at the code and cannot see what is wrong any ideas ?
> -- 
> Thanks, Phil
>
>
>
> _______________________________________________
> ZendTo mailing list
> ZendTo at zend.to
> http://mailman.ecs.soton.ac.uk/mailman/listinfo/zendto

Jules

-- 
Julian Field MEng CITP CEng
www.Zend.To

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

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


More information about the ZendTo mailing list