HowtoDetermineMode
Last modified by Vincent Massol on 2006/12/10
Question | How do you tell (from script) which mode a document is in? (view, edit, inline, etc....) |
Answer |
Use the $context.getAction() function. It will return a string such as "inline" |