WordPress.org

Forums

WP Simple Calendar
[resolved] Last Month-Next Month Links don't click in IE (5 posts)

  1. srlaird
    Member
    Posted 1 year ago #

    The calendar is great. Thank you!

    We are seeing a problem with the Last Month-Next Month links in IE9. The link address appears correct on mouseover, but when the links are left-clicked, the page does not reload to the next/previous month. If we right click and open, open in new window or new tab, we get the next and previous month, but just left clicking on the links does not work in IE9.

    Works fine in Firefox, Chrome and Safari.

    http://wordpress.org/extend/plugins/wp-simple-calendar/

  2. John Hawkins
    Member
    Plugin Author

    Posted 1 year ago #

    I'll have to take a look. Thanks for reporting it.

  3. srlaird
    Member
    Posted 1 year ago #

    John, thanks for the response. Have you had a chance to take a look at the issue with IE? It is both IE8 and IE9. Do you see the same thing we are seeing?

  4. Nikki Blight
    Member
    Posted 1 year ago #

    I fixed this by removing the line console.log( { 'title' : data.title, 'grid' : data.grid } ); in includes/js/wp-simple-calendar.js.

    Your javascript will break in certain browsers (*cough*IE*cough*) if you use console.log in your code and don't have the developer tools panel open at the same time.

    If you want to keep that line in, you can add this to the top of the file to tell IE to not be stupid:

    if(!window.console){ window.console = {log: function(){} }; }

    But it's really just for debug purposes, and not necessary for the script to function, so I just removed it.

  5. srlaird
    Member
    Posted 1 year ago #

    Thank you Nikki! That has solved our IE issue with the calendar.

    It is the season to be thankful for the WordPress Community!

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WP Simple Calendar
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

Tags

No tags yet.