{% extends 'base.html.twig' %} {% block wrapperClass %}campaignpage help{% endblock %} {% block wrapperStyle %} {% if data.brandhub.brandhubCampaign != true %} {{ caCustomBg(data.pdata.data) }} {% endif %} {% endblock %} {% block brandhubWrapper %} {% if data.brandhub.brandhubCampaign %} {% include 'includes/brandhubview.html.twig' with { data : data } %} {% endif %} {% endblock brandhubWrapper %} {% block body %} {% endblock body %} {% block readyStateFunction %} loadJS('{{ regGet('jspath') }}caFaq.js'); $("#filter").change(function () { var cat = $(this).val(); if (cat) { $.ajax({ type: "GET", url: '{{ regGet('url') }}ajax/loadfaq/'+cat+'/', data: '', success: function (html) { $("#faqwrapper").html(html); } }); } $("#allFaqLink").html("{{ "SHOWALLFAQ"|translate }}"); }); {% endblock readyStateFunction %}