summaryrefslogtreecommitdiff
path: root/js
diff options
context:
space:
mode:
authorPatrick Simianer <p@simianer.de>2016-07-05 10:46:21 +0200
committerPatrick Simianer <p@simianer.de>2016-07-05 10:46:21 +0200
commit893f1b87ff267a6afd886951c91a64573f4d9c9f (patch)
treee342534ef0b8f1c6b56a89a38d5976b1da218ecd /js
parent8dbeb939f88acf140da08b43f07331e91ce21464 (diff)
parenta7f0599e3d2b6621872a428870ce8bdd15e8f004 (diff)
Merge branch 'master' of github.com:pks/lfpe
Diffstat (limited to 'js')
-rw-r--r--js/interface.js5
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();
}
}