From c6ff456d4d9bf705d0d6a8461bbdd92d08dbcb23 Mon Sep 17 00:00:00 2001 From: Hillel Coren Date: Sun, 10 Jan 2016 14:37:23 +0200 Subject: [PATCH] Fixes #608 --- resources/views/accounts/templates_and_reminders.blade.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/resources/views/accounts/templates_and_reminders.blade.php b/resources/views/accounts/templates_and_reminders.blade.php index a709890b8634..6b88ab70f9be 100644 --- a/resources/views/accounts/templates_and_reminders.blade.php +++ b/resources/views/accounts/templates_and_reminders.blade.php @@ -242,7 +242,9 @@ var fieldName = 'email_' + section + '_' + field; var value = templates[field][section]; $('#' + fieldName).val(value); - editors[field].setHTML(value); + if (section == 'template') { + editors[field].setHTML(value); + } refreshPreview(); }