WordPress.org

Support

Support » Plugins and Hacks » Javascript not functioning, including error

Javascript not functioning, including error

  • Hi,

    After updating this plugin to latest version, the javascript based functions are not working anymore. My firebug gives the following error on the console for javascript debugging:

    TypeError: parent.avatar_refresh is not a function
    parent.avatar_refresh(jQuery(‘.avatar_avatar img.avatar’).attr(‘src’));

    Any suggestions?

    http://wordpress.org/plugins/add-local-avatar/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Another bug; plugin now adds a aditional / befor the image file location of the popup (image of resizing on the right):

    <div style=”width: 489px; height: 260px;”>
    <img id=”avatar_upload” src=”//dded6896-ac23-4024-950a-ffbc08bd9539.jpg”>
    </div>

    Another update; previos version of the plugin also has the javascript error, but there the ‘rescaling’ tools apear on the image. With incorrect sizes (alwas small, does not remember previous scale).

    Another update,

    Seems that $files[BASE_FILE] contains a additional / before the image url.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Javascript not functioning, including error’ is closed to new replies.