diff options
author | Patrick Simianer <p@simianer.de> | 2016-02-17 18:05:27 +0100 |
---|---|---|
committer | Patrick Simianer <p@simianer.de> | 2016-02-17 18:05:27 +0100 |
commit | 53e8b1106a1ebaf13a5482477b67e04aacd4405d (patch) | |
tree | abc62f03d0306a780a9f9cbf1a869925fdfc235f /js/interface.js | |
parent | aa2832b55b1b9825ad626aa0483a97c5ba9c991c (diff) |
prep/notes for beta test, get feature weights/rates
Diffstat (limited to 'js/interface.js')
-rw-r--r-- | js/interface.js | 4 |
1 files changed, 2 insertions, 2 deletions
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'; } |