1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

  2. Anuncie Aqui ! Entre em contato fdantas@4each.com.br

Error in script

Discussão em 'PSDN - Forum' iniciado por leonc, Abril 13, 2018.

  1. leonc

    leonc Guest

    In a page I've added a script component that shows a page section if count of a view is equals to zero.

    <script>

    function customizeEdit() {

    var sectionID = rbf_getSectionIdByTitle("SectionName");

    var myOrg = rbv_api.getCount("1122233456");

    rbf_showOrHideSection(sectionID , myOrg===0);

    }
    </script>



    The script is not working and in the console I get the following error:

    [ERROR] Page onload event handler ReferenceError: rbv_api is not defined

    Continue reading...

Compartilhe esta Página