WordPress.org

Ready to get started?Download WordPress

Forums

WP Document Revisions Simple Downloads
[resolved] WPML 3.1.4 probable JavaScript conflict (5 posts)

  1. Dariusz Zielonka
    Member
    Posted 5 months ago #

    Hello,

    I'd like to use your plugin, but it seems that with WPML in version as in subject, it doesn't trigger JavaScripts which work without WPML on post editor (e.g. Upload New Version button) and categories/tags.

    Do you know how we can fix this?

    https://wordpress.org/plugins/wpdr-simple-downloads/

  2. Dariusz Zielonka
    Member
    Posted 5 months ago #

    I think it's a matter of WP Documents Revision. Sorry about misunderstanding the problem.

  3. Dariusz Zielonka
    Member
    Posted 5 months ago #

    It was a WPML 3.1.4 post-edit.js caused error,

    If you put the code to functions.php of your active theme, it should resolve the problem :)

    function icl_load_jquery_dialog() {
    	wp_enqueue_script( 'jquery-ui-dialog', false, array('jquery'), false, true );
    }
    
    add_action( 'admin_enqueue_scripts', 'icl_load_jquery_dialog' );
  4. daveshine (David Decker)
    Member
    Plugin Author

    Posted 5 months ago #

    @Dariusz Zielonka:
    Hi Dariusz,
    thanks for your feedback and posting the solution for the issue this could be very helpful for other users! :)

    Thanks, Dave :)

  5. Dariusz Zielonka
    Member
    Posted 5 months ago #

    That's the only way to keep WordPress strong :)

    Thanks for sharing such great plugin :)

Reply

You must log in to post.

About this Plugin

About this Topic