jay@gumball Posted November 20, 2009 Share Posted November 20, 2009 Heya,It seems every time I try to include the prototype library in the header.tpl file it breaks all the other JS D: <!-- production javascripty stuff --> [removed][removed] [removed] var baseDir = '{$content_dir}'; var static_token = '{$static_token}'; var token = '{$token}'; var priceDisplayPrecision = {$priceDisplayPrecision*$currency->decimals}; [removed] [removed][removed] [removed][removed] [removed][removed] [removed][removed] [removed][removed] [removed][removed] [removed][removed] [removed] {if isset($js_files)} {foreach from=$js_files item=js_uri} [removed][removed] {/foreach} {/if} {$HOOK_HEADER} Am I doing something wrong?J. Link to comment Share on other sites More sharing options...
jay@gumball Posted November 20, 2009 Author Share Posted November 20, 2009 Apparently it's removed the bulk of my code XSS is serious business! Link to comment Share on other sites More sharing options...
rocky Posted November 21, 2009 Share Posted November 21, 2009 You should write <script instead of <script to avoid having your javascript removed. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now