current context in edit mode

Luke Brannon <[email protected]>
Newsgroups gmane.comp.web.zope.plone.devel
Message-ID <CAP9jDSkXvtOwRigZKeLyRx0VNoRBzDfap9-LJN2De7CoHDGtTQ@mail.gmail.com>
In Plone 4.x is there a programmatic way to determine if the current
context is in edit mode?  I'm attempting to write a python expression to
prevent a javascript from loading when the AT content type is being edited.

Regards,

Luke

------------------------------------------------------------------------------
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk

_______________________________________________
Plone-developers mailing list
Plone-developers-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
https://lists.sourceforge.net/lists/listinfo/plone-developers
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.