modxcms/revolution — pull request #11862 by rtripault (2014-07-31 15:13:11+00:00)
Title: Wrap JS code (modMenu.handler) to allow Smarty "eval"

### What does it do ?

Wraps modMenu javascript handlers in `{literal}{/literal}` so we can use `eval` to allow nested Smarty variables in top menu entries (else JS `{` causes Smarty errors)