From d9e0c5cd45548fd07ad34bab6132bfccbc296f33 Mon Sep 17 00:00:00 2001 From: Patrick Simianer Date: Wed, 24 Jun 2015 17:46:21 +0200 Subject: fixed js bug --- index.php | 2 +- lfpe.js | 11 +++++++++++ 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/index.php b/index.php index f694b72..3505eda 100644 --- a/index.php +++ b/index.php @@ -6,7 +6,7 @@ - +
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(); -- cgit v1.2.3