From b47ae4297862a321c286c65864ef67d355f05084 Mon Sep 17 00:00:00 2001 From: Patrick Simianer
Date: Mon, 4 Jul 2016 08:38:56 +0200 Subject: js/interface.js: show source and target --- js/interface.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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(); } } -- cgit v1.2.3