WordPress.org

Ready to get started?Download WordPress

Forums

Mealingua Posts and Pages Translations
[resolved] [Plugin: Mealingua Posts Translations] Does not work if user turns off visual editr (2 posts)

  1. gleuch
    Member
    Posted 2 years ago #

    Line 69 of admin.js fails if user does not have visual editors (tinyMCE) enabled when trying to add a new language to a post.

    That line of JS needs to check if tinyMCE is defined before trying to check an attribute of the object, otherwise this becomes a fatal errors that prevents the saving of a post translation.

    it should be:

    if (typeof(tinyMCE) == 'undefined' || tinyMCE.activeEditor == null){

    Please fix, thanks!

    http://wordpress.org/extend/plugins/mealingua/

  2. RealMag777
    Member
    Plugin Author

    Posted 2 years ago #

    Thanks a lot. It is fixed...

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags