Good afternoon, help me. As it is possible to deduce JavaScript on page. By means of regClientScript () does not work. How to be?
-
☆ A M B ☆
- 24,524 Posts
Replace your manager/includes/document_parser.class.inc.php file with the one from this post.
http://modxcms.com/forums/index.php/topic,1942.msg20513.html#msg20513
-
☆ A M B ☆
- 24,524 Posts
There is a bug that causes the regClientScript function to fail. This patched document_parser file fixes the bug.
I think that regClientScript won’t work in 0.9.2.1 if both document and snippet call are uncached. You can try to compare/replace your document parser class functions with
these.
"He can have a lollipop any time he wants to. That's what it means to be a programmer."