diff options
author | Patrick Simianer <p@simianer.de> | 2016-07-04 08:38:56 +0200 |
---|---|---|
committer | Patrick Simianer <p@simianer.de> | 2016-07-04 08:38:56 +0200 |
commit | b47ae4297862a321c286c65864ef67d355f05084 (patch) | |
tree | 5d542af7109d857a3d96f073374abd5b6a1c8feb | |
parent | 2966744613955f7891032ef90fa4ce3370e4fec5 (diff) |
js/interface.js: show source and target
-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(); } } |