From 53e8b1106a1ebaf13a5482477b67e04aacd4405d Mon Sep 17 00:00:00 2001 From: Patrick Simianer
Date: Wed, 17 Feb 2016 18:05:27 +0100 Subject: prep/notes for beta test, get feature weights/rates --- js/interface.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'js/interface.js') diff --git a/js/interface.js b/js/interface.js index 781dfde..3341575 100644 --- a/js/interface.js +++ b/js/interface.js @@ -1,5 +1,5 @@ /* - * (common) global vars + * Global vars * */ var data, // global data object @@ -244,7 +244,7 @@ var next = function () send_data["original_svg"] = document.getElementById("original_svg").value; } else { post_edit = $.trim(target_textarea.value); - send_data["post_edit"] = post_edit; + send_data["post_edit"] = encodeURIComponent(post_edit); send_data['type'] = 't'; } -- cgit v1.2.3