Support » Plugin: Event Calendar » Minor bug in IE8

  • Resolved weiming

    (@weiming)


    Hi,

    I have upgraded to version 0.9.9.2 and got a “Expected identifier, string or number in jquery.init_show_calendar.js Line 30” error when I viewed my page in IE8, and no calendar was displayed in a page with the [calendar] shortcode. No such errors on Firefox or Safari.

    I googled and found that the cause was an extra comma after the last object parameter and so IE was expecting another one, and hence stopped the JavaScript. I removed the last comma and everything works fine.

    Just to let you know. 🙂

Viewing 14 replies - 1 through 14 (of 14 total)
  • Plugin Contributor Eran Miller

    (@eranmiller)

    I’ve fixed the bug, it should not appear in future releases.

    Thanks for your help.

    Can you please specify which line needs the comma removed? I see the line 30 error in IE but removing a comma after line 30 did not resolve the issue for me.

    Plugin Contributor Eran Miller

    (@eranmiller)

    next: ' ► ', // right triangle
    Remove that comma.

    I had this issue in IE7 not IE8, fixing that line in addition to removing the comma on line 61
    'excluded': (shortcode.excluded) ? 1 : 0, resolved the issue for me.

    However in IE8 I am receiving the following error when clicking on any of the events on either the calendar or widget. The modal window doesn’t appear and instead generates this error:

    Not implemented
    jquery.simplemodal.1.4.1.min.js?ver=1.4.1, line 15 character 440

    Has anyone else seen this?

    Plugin Contributor Eran Miller

    (@eranmiller)

    Thanks for the notice zschmid: Line 61 also had an extra comma (guess I was feeling particularly Harvard the other day). I’ll be sure to include that patch in the next release as well.

    I don’t have IE8, but I ran IE9 in IE8 mode but was unable to replicate the issue you mentioned. Have you had any luck resolving the origin of that bug?

    Eran

    I also encounter the same problem after upgrading to latest release.

    Which file should I look in for the above codes?

    Thanks!

    Plugin Contributor Eran Miller

    (@eranmiller)

    @moonshadow: The latest release IS 0.9.9.2 – the solution is posted above in complete detail – jquery.init_show_calendar.js

    Thanks! 🙂

    Thank you for the solution posted above, huge help!

    Great thanks for that, line 30 and 61 fixes same bug in IE6 as well.

    Thanks a lot to everybody, lines 30 and 61 fixed my problem too in IE7.
    Greetings!

    Yes. Thank you folks.

    Anyone’s navigation buttons disappearing in IE? I see them while the page loads, but as soon as it does they disappear. I noticed if I double click the area the arrows should be in, then they show up. Something in custom.css is causing it, because when I remove the stylesheet, the arrows stay visible and I can go forward or backwards at that point.

    berlina

    (@berlina)

    loumitch, Having the same issue here. Running WP 3.2.1, plugin v1.0. I can highlight the area where the navigation should be and it will show up randomly. But it does the same thing in the beginning. Chrome and FF work, but IE9 doesn’t.

Viewing 14 replies - 1 through 14 (of 14 total)
  • The topic ‘Minor bug in IE8’ is closed to new replies.