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

  • Resolved gleuch

    (@gleuch)


    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 ‘[Plugin: Mealingua Posts Translations] Does not work if user turns off visual editr’ is closed to new replies.