WordPress.org

Support

Support » Plugins and Hacks » Insert into Post goes nowhere

Insert into Post goes nowhere

Viewing 2 replies - 1 through 2 (of 2 total)
  • Having the same problem. wp 3.5.2 multisite , bp 1.8.1.
    On console I get
    Uncaught TypeError: Cannot call method ‘split’ of undefined bp-as-admin.js:17
    window.send_to_editor bp-as-admin.js:17
    (anonymous function)

    Ok I solve it by changing at /js/bp-as-admin.js file the lines 14-15
    from

    imgurl = $('img',html).attr('src');
    	imgPostIdtoParse = $('img',html).attr('class');

    to

    var item = $(html);
            var imgurl = item.attr('src');
            var imgPostIdtoParse = item.attr('class');

    based on http://stackoverflow.com/questions/9575455/attrclass-is-undefined-on-jquery

    Thanks for the great plugin(s)!!!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Insert into Post goes nowhere’ is closed to new replies.