• Hi,

    This plugin was working nicely with WP 4.0.1, I clicked on ‘Add Media’ and then ‘crop image’. When I cropped an image and closed the crop window, I could then ‘Insert into post’ the image.

    Now when I close the crop window, the entire media upload window disappears. When I look in the console I see

    Uncaught TypeError: Cannot read property ‘call’ of undefined

    I will investigate further, but seems to happen even when I disable all other plugins.

    https://www.ads-software.com/plugins/manual-image-crop/

Viewing 1 replies (of 1 total)
  • Thread Starter myol

    (@myol)

    Installation on a fresh 4.1 WP install gives the same error.

    media-views.js?ver=4.1 line 2448

    `this._tb_remove = window.tb_remove;
    window.tb_remove = function() {
    frame.close();
    frame.reset();
    frame.setState( frame.options.state );
    frame._tb_remove.call( window );
    };`

    frame._tb_remove.call( window ); <– call to undefined

    I realise this is my mistake not checking the version on the main page;
    Compatible up to: 4.0.1

Viewing 1 replies (of 1 total)
  • The topic ‘Closing the crop window closes the entire media upload window’ is closed to new replies.