From 4f3f3b47e227408646392e7867ec21178a84ab3a Mon Sep 17 00:00:00 2001
From: Aleksander Machniak <alec@alec.pl>
Date: Thu, 05 Jun 2014 06:46:49 -0400
Subject: [PATCH] Fix regression where html code is sent as plain text (#1488649)
---
program/js/app.js | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/program/js/app.js b/program/js/app.js
index d12dd81..6d66aa2 100644
--- a/program/js/app.js
+++ b/program/js/app.js
@@ -3595,6 +3595,11 @@
$(e.target).filter('select').val(props.html ? 'plain' : 'html');
}
+ if (result) {
+ // update internal format flag
+ $("input[name='_is_html']").val(props.html ? 1 : 0);
+ }
+
return result;
};
--
Gitblit v1.9.1