1
0
forked from GitHub/gf-core

Disable translation on every keystroke, and completion, in the gf FastCGI AJAX client, since it can be too slow.

This commit is contained in:
bjorn
2008-09-09 12:19:28 +00:00
parent af2dbf293a
commit 9e3b3f1bd2

View File

@@ -48,7 +48,7 @@
} }
function update() { function update() {
updateCompletion(); // updateCompletion();
updateTranslation(); updateTranslation();
} }
@@ -72,7 +72,7 @@
<div id="translator"> <div id="translator">
<form onsubmit="update(); return false;"> <form onsubmit="update(); return false;">
<p> <p>
<input type="text" id="inputText" value="this cheese is warm" size="50" onkeyup="update()"/> <input type="text" id="inputText" value="this cheese is warm" size="50" />
</p> </p>
<p> <p>
<label>From: <select id="fromLang" onchange="update()"><option value="" selected="selected">Any language</option></select></label> <label>From: <select id="fromLang" onchange="update()"><option value="" selected="selected">Any language</option></select></label>