Re: [Zope3-dev] JavaScript Relic in formlib?

2006-03-22 Thread Benji York

Roman Joost wrote:

Hey!

I figured, that there seems to be unused JavaScript code in a formlib generated
page:

zc_trackChanges(document.getElementById('zc.page.browser_form'));


It is a "relic" and should be removed.  It is part of "you're about to 
leave this page and you haven't saved your changes" functionality which 
doesn't belong in formlib.

--
Benji York
Senior Software Engineer
Zope Corporation
___
Zope3-dev mailing list
Zope3-dev@zope.org
Unsub: http://mail.zope.org/mailman/options/zope3-dev/archive%40mail-archive.com



[Zope3-dev] JavaScript Relic in formlib?

2006-03-22 Thread Roman Joost
Hey!

I figured, that there seems to be unused JavaScript code in a formlib generated
page:

zc_trackChanges(document.getElementById('zc.page.browser_form'));

in pageform.pt of formlib. I couldn't find the corresponding function by
grepping through the rest of the src.zope sourcecode. Can this be
removed perhaps?

Greetings,
-- 
R?man Joost

gocept gmbh & co. kg ? Forsterstrasse 29 ? 06112 Halle/Saale
fon +49 (0)345 122 98 89 2


pgpjykfqqUYR4.pgp
Description: PGP signature
___
Zope3-dev mailing list
Zope3-dev@zope.org
Unsub: http://mail.zope.org/mailman/options/zope3-dev/archive%40mail-archive.com