WordPress.org

Support

Support » Plugins and Hacks » [Resolved] [Plugin: Mealingua Posts Translations] Does not work if user turns off visual editr

[Resolved] [Plugin: Mealingua Posts Translations] Does not work if user turns off visual editr

  • 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/

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘[Resolved] [Plugin: Mealingua Posts Translations] Does not work if user turns off visual editr’ is closed to new replies.