Skip to content

JavaScript for Ajax in an Admin View #806

Answered by TLWebdesign
linpi1 asked this question in Q&A
Discussion options

You must be logged in to vote

JRouter refers to a Javascript function that needs to be included in your view's footer (JS). It's a custom code llewellyn uses in his extensions (and i think most of us too) it should be there in "custom codes". If not try installing the demo package in JCB and it should appear in custom codes view.

Add the "[CUSTOMCODE=jsRouter]" tag to the Add JavaScript (view-footer) * field in your admin view under the "javascript" tab.

Then the code should work.

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@linpi1
Comment options

Answer selected by linpi1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants