diff options
author | Patrick Simianer <p@simianer.de> | 2015-06-24 17:46:21 +0200 |
---|---|---|
committer | Patrick Simianer <p@simianer.de> | 2015-06-24 17:46:21 +0200 |
commit | d9e0c5cd45548fd07ad34bab6132bfccbc296f33 (patch) | |
tree | dbad1da6937210b30d8acde286c11cb53232e6c7 | |
parent | 9a9636ec8dab9d2e650e56e56fade1f185d2ad3e (diff) |
fixed js bug
-rw-r--r-- | index.php | 2 | ||||
-rw-r--r-- | lfpe.js | 11 |
2 files changed, 12 insertions, 1 deletions
@@ -6,7 +6,7 @@ <link rel="stylesheet" type="text/css" href="lfpe.css" /> </head> -<body onload=""> +<body onload="init()"> <!-- Wrapper --> <div id="wrapper"> @@ -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(); |