WordPress.org

Ready to get started?Download WordPress

Forums

HW Image Widget
[resolved] wp Not defined in back-end.js, results in Widgets javascript not working (4 posts)

  1. Jacotheron
    Member
    Posted 1 year ago #

    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/

  2. rdesk
    Member
    Posted 1 year ago #

    Same Error I had. I also upgraded to the latest version. Hopefully someone will fix this soon.

  3. Håkan Wennerberg
    Member
    Plugin Author

    Posted 1 year ago #

    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.

  4. Jacotheron
    Member
    Posted 1 year ago #

    Hi HÃ¥kan Wennerberg

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

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.