Some questions:
Does the JS have to be in the Handlers field itself, or can there be a reference there to code elsewhere.
Is MODx.functionName() the JS equivalent of $modx->functionName()?
Why does the Logout menu handler return false while the Preview handler doesn’t?
Quote from: splittingred at Mar 12, 2010, 07:58 AM
Why does the Logout menu handler return false while the Preview handler doesn’t?
No reason whatsoever. 
So the logout handler would work fine without the return?
I’m using both as examples and the difference will raise questions.
Yes, it should work fine without it.
shaun mccormick | bigcommerce mgr of software engineering, former modx co-architect |
github |
splittingred.com
Quote from: splittingred at Mar 12, 2010, 03:34 PM
Yes, it should work fine without it.
OK. I’ll just leave it out and hope no one checks the actual code.