diff options
author | Patrick Simianer <p@simianer.de> | 2015-11-23 10:06:19 +0100 |
---|---|---|
committer | Patrick Simianer <p@simianer.de> | 2015-11-23 10:06:19 +0100 |
commit | 625cdbab9f1c7d6e4851d270242ee2ee6b895b8d (patch) | |
tree | dcc0d865cfd2fd2fe843ffd84e70277a197cbf25 | |
parent | 3c20ae7fcba64ec27c8a75651bf8b82bba1c8300 (diff) |
mark
-rw-r--r-- | js/lfpe.js | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -168,6 +168,8 @@ function Next() if (ui_type == 'g') { send_data = JSON.parse(DE_extract_data()); post_edit = trim(send_data["target"].join(" ")); + if (DE_target_done.length != DE_target_shapes.length) + post_edit = ""; send_data["post_edit"] = post_edit; } else { post_edit = trim(target_textarea.value); @@ -215,7 +217,7 @@ function Next() // ??? } else { if (source.value != "") { - alert("Please provide a post-edit."); + alert("Please provide a post-edit and mark all phrases as finished."); target_textarea.removeAttribute("disabled", "disabled"); pause_button.removeAttribute("disabled", "disabled"); button.removeAttribute("disabled", "disabled"); |