• Resolved Dave Bianchi

    (@davebianchi)


    Looking our my page source code, I noticed that it looks as if Simple Calendar is posting the same Javascript array twice on the page. Is there a reason for this? If you look at the code, there are two instances of “simcal_default_calendar” on the page right next to each other. Here is the code from our production site:

    <script type=’text/javascript’ src=’https://www.servername.com/wp-content/plugins/google-calendar-events/assets/js/vendor/moment-timezone-with-data.min.js?ver=3.1.14′></script&gt;
    <script type=’text/javascript’>
    /* <![CDATA[ */
    var simcal_default_calendar = {“ajax_url”:”\/wp-admin\/admin-ajax.php”,”nonce”:”7ea96ae434″,”locale”:”en_US”,”text_dir”:”ltr”,”months”:{“full”:[“January”,”February”,”March”,”April”,”May”,”June”,”July”,”August”,”September”,”October”,”November”,”December”],”short”:[“Jan”,”Feb”,”Mar”,”Apr”,”May”,”Jun”,”Jul”,”Aug”,”Sep”,”Oct”,”Nov”,”Dec”]},”days”:{“full”:[“Sunday”,”Monday”,”Tuesday”,”Wednesday”,”Thursday”,”Friday”,”Saturday”],”short”:[“Sun”,”Mon”,”Tue”,”Wed”,”Thu”,”Fri”,”Sat”]},”meridiem”:{“AM”:”AM”,”am”:”am”,”PM”:”PM”,”pm”:”pm”}};
    var simcal_default_calendar = {“ajax_url”:”\/wp-admin\/admin-ajax.php”,”nonce”:”7ea96ae434″,”locale”:”en_US”,”text_dir”:”ltr”,”months”:{“full”:[“January”,”February”,”March”,”April”,”May”,”June”,”July”,”August”,”September”,”October”,”November”,”December”],”short”:[“Jan”,”Feb”,”Mar”,”Apr”,”May”,”Jun”,”Jul”,”Aug”,”Sep”,”Oct”,”Nov”,”Dec”]},”days”:{“full”:[“Sunday”,”Monday”,”Tuesday”,”Wednesday”,”Thursday”,”Friday”,”Saturday”],”short”:[“Sun”,”Mon”,”Tue”,”Wed”,”Thu”,”Fri”,”Sat”]},”meridiem”:{“AM”:”AM”,”am”:”am”,”PM”:”PM”,”pm”:”pm”}};
    /* ]]> */
    </script>
    <script type=’text/javascript’ src=’https://www.servername.com/wp-content/plugins/google-calendar-events/assets/js/default-calendar.min.js?ver=3.1.14′></script&gt;

    (Also, I tried to send this though your website’s support page since we have a license, but Wordfence is blocking the send action. Might want to take a look at that.)

Viewing 2 replies - 1 through 2 (of 2 total)
  • simplecalendarsupport

    (@simplecalendarsupport)

    Hi Dave,

    Sorry for the late reply. I have submitted this to our development team Can you send a screenshot of the Wordfence blocking error to [email protected] (rather than through our website contact form) and address to Nico.

    Thanks so much

    Thread Starter Dave Bianchi

    (@davebianchi)

    The bug is corrected. Thanks.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Duplicate Javascript array?’ is closed to new replies.