Forum Replies Created

Viewing 4 replies - 1 through 4 (of 4 total)
  • if on custom-js.js on line 25 i replace

    window.send_to_editor = function(html) {
    			imgurl = jQuery('img',html).attr('src');
    			classes = jQuery('img', html).attr('class');
    			id = classes.replace(/(.*?)wp-image-/, '');
    			formfield.val(id);
    			preview.attr('src', imgurl);
    			tb_remove();
    		}

    with

    window.send_to_editor = function(html) {
    			imgurl = jQuery(html).attr('src');
    			classes = jQuery(html).attr('class');
    			id = classes.replace(/(.*?)wp-image-/, '');
    			formfield.val(id);
    			preview.attr('src', imgurl);
    			tb_remove();
    		}

    everything works again. is there a clean fix for this?

    The problem exists when using Media Library, after choosing Insert Into Post

    I have two similar websites, both use the exact same plugins, both versions are the same, yet one website has this problem while the other doesn’t. The only diff is the Force Regenerate Thumbnails plugin, which I deleted, but still I’m getting the TypeError: classes is undefined error

    Anyone found a fix for this yet?

    Forum: Plugins
    In reply to: [SliceShow] TypeError

    same issue here. very annoying. is there a fix for this yet?

    what if you want to do this for just one widget within the dynamic sidebar, and not all? (f.e. tagcloud)

Viewing 4 replies - 1 through 4 (of 4 total)