summaryrefslogtreecommitdiff
path: root/lfpe.js
diff options
context:
space:
mode:
Diffstat (limited to 'lfpe.js')
-rw-r--r--lfpe.js11
1 files changed, 11 insertions, 0 deletions
diff --git a/lfpe.js b/lfpe.js
index b10a265..83257c1 100644
--- a/lfpe.js
+++ b/lfpe.js
@@ -1,3 +1,14 @@
+function init()
+{
+ document.getElementById("target_textarea").value = "";
+ document.getElementById("raw_source_textarea").value = "";
+ document.getElementById("source").value = "";
+ document.getElementById("current_seg_id").value = "";
+ document.getElementById("paused").value = "";
+
+ return false;
+}
+
function CreateCORSRequest(method, url)
{
var xhr = new XMLHttpRequest();