Support » Plugin: Gallery Metabox » Problem with be_gallery_metabox_do_ajax_update

  • With WP 3.6.x, I think something broke.
    In around the function be_gallery_metabox_do_ajax_update
    it no longer seems to handle the SCRIPT tag that gets sent back via Ajax.

    This function will update the Gallery Metabox on the Post below the Media Manager dialog, when you add a new image. It doesn’t seem to work anymore, so what I did wa s simply moving the line that says
    return $form_fields;
    to go immediately within this function, rather than AFTER the jQuery.ajax({…}) stuff. True, I now lose out on getting immediate updates the Gallery Metabox beneath, but at least it works!

    I wonder if there is some documentation in the Codex on how to make it work anymore? I think the problem might stem from something like the Media Manager is expecting a json string like {"success":true,"data":[{...}]}

    http://wordpress.org/plugins/gallery-metabox/

  • The topic ‘Problem with be_gallery_metabox_do_ajax_update’ is closed to new replies.