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:
@@ -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>
|
||||||
|
|||||||
Reference in New Issue
Block a user