CRM-5659 CiviMail, TinyMCE - selecting a template does not replace html_message content

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Minor
    • Resolution: Fixed/Completed
    • Affects Version/s: 3.1
    • Fix Version/s: 3.1
    • Component/s: CiviMail
    • Labels:
      None

      Description

      Using trunk
      To reproduce, create a civimail template, select TinyMCE as the wysiwyg editor. Then create a mailing, and try to choose the template.

      Expected result: template content replaces html body
      Actual result: html body not replaced

      patch attached- have to use tinymce api to access the editor content.

        Attachments

          Activity

          [CRM-5659] CiviMail, TinyMCE - selecting a template does not replace html_message content
          Amiteshwar Prasad added a comment -

          Fixed in r25856.

          Matt Moen added a comment -

          THe commited fix does not address the issue. You changed the code that is supposed to clear the content (which probably also needs to be adjusted), rather than the code that sets the value when a template is chosen. Line ~72 vs line ~108

            People

            • Assignee:
              Amiteshwar Prasad
              Reporter:
              Matt Moen

              Dates

              • Created:
                Updated:
                Resolved: