diff options
author | Patrick Simianer <p@simianer.de> | 2016-07-05 10:46:21 +0200 |
---|---|---|
committer | Patrick Simianer <p@simianer.de> | 2016-07-05 10:46:21 +0200 |
commit | 893f1b87ff267a6afd886951c91a64573f4d9c9f (patch) | |
tree | e342534ef0b8f1c6b56a89a38d5976b1da218ecd /js | |
parent | 8dbeb939f88acf140da08b43f07331e91ce21464 (diff) | |
parent | a7f0599e3d2b6621872a428870ce8bdd15e8f004 (diff) |
Merge branch 'master' of github.com:pks/lfpe
Diffstat (limited to 'js')
-rw-r--r-- | js/interface.js | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/js/interface.js b/js/interface.js index 677c343..ec36af7 100644 --- a/js/interface.js +++ b/js/interface.js @@ -460,6 +460,8 @@ var request_and_process_next = function () $("#textboxes").fadeTo(200,1); } else { $("#derivation_editor").fadeTo(200,1); + $("#de_source").text(data["raw_source"]); + $("#de_original_mt").text(data["transl_detok"]); } var id = data["progress"]; @@ -555,7 +557,8 @@ var reset = function () //TEXT_count_kbd = 0; $("#target_textarea").val($("#original_mt").val()); } else if (ui_type == "g") { - DE_init(false) + DE_init(false); + DE_update_str(); } } |