• Resolved Jacotheron

    (@jacotheron)


    I have just upgraded to the latest version of this plugin (currently 2) and after the upgrade, the widgets page’s javascript does not work. Using Firebug, I got the error:

    ReferenceError: wp is not defined
    wp-content/plugins/hw-image-widget/js/back-end.js?ver=1.6 - Line 213

    That line is: this.originalMediaLibrary = wp.media.view.MediaFrame.Select;

    When I comment out that line, there are more errors, all the same, just different line numbers.

    http://wordpress.org/extend/plugins/hw-image-widget/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Same Error I had. I also upgraded to the latest version. Hopefully someone will fix this soon.

    Plugin Author Håkan Wennerberg

    (@puffythepirateboy)

    Hi,

    First of all, thanks for feedback!

    Hopefully got it sorted in version 2.1. Please update and let me know if it works better.

    Thread Starter Jacotheron

    (@jacotheron)

    Hi Håkan Wennerberg

    I have just upgraded and it appears to be working correctly.
    Thank you for the quick reply and fix.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘wp Not defined in back-end.js, results in Widgets javascript not working’ is closed to new replies.