On Sat, 19 Jan 2013, RjOllos wrote:

Hi, Will this do what you are trying to accomplish?:

'preview' in formatter.req.args and formatter.req.args.get('preview') == 
'Preview Page' 

It will evaluate to True when the user has explicitly pressed the "Preview 
page" button.

Yes, thanks. Exactly what I wanted.

Ciao
--
http://www.dstoecker.eu/ (PGP key available)

--
You received this message because you are subscribed to the Google Groups "Trac 
Development" group.
To post to this group, send email to trac-dev@googlegroups.com.
To unsubscribe from this group, send email to 
trac-dev+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/trac-dev?hl=en.

Reply via email to